Changeset 1099:6ce5c99a40af in freeDiameter
- Timestamp:
- May 8, 2013, 9:40:20 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdcore.h
r1088 r1099 953 953 954 954 HOOK_MESSAGE_FAILOVER, 955 /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was t eareddown.955 /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was torn down. 956 956 In that case the message will go again through the routing process. 957 957 - {msg} points to the corresponding request message (the answer is discarded). Again, the objects may not have been dictionary resolved. If you … … 1022 1022 1023 1023 1024 /* Type if the {permsgdata}ointer. It is up to each extension to define its own structure. This is opaque for the framework. */1024 /* Type of the {permsgdata} pointer. It is up to each extension to define its own structure. This is opaque for the framework. */ 1025 1025 struct fd_hook_permsgdata; 1026 1026 … … 1035 1035 * 1036 1036 * PARAMETERS: 1037 * permsgdata_new_cb : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with no tstructure yet. If the function returns NULL, it will be called again for the next hook.1037 * permsgdata_new_cb : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with no structure yet. If the function returns NULL, it will be called again for the next hook. 1038 1038 * permsgdata_destroy_cb : function called when a message is being disposed. It should free the resources associated with the fd_hook_permsgdata. 1039 1039 * new_handle : On success, a handler to the registered callback is stored here. -
libfdcore/cnxctx.c
r1084 r1099 1756 1756 1757 1757 default: 1758 TRACE_DEBUG(INFO, "Unkn won protocol: %d", conn->cc_proto);1758 TRACE_DEBUG(INFO, "Unknown protocol: %d", conn->cc_proto); 1759 1759 ASSERT(0); 1760 1760 return ENOTSUP; /* or EINVAL... */ -
libfdcore/p_sr.c
r1078 r1099 196 196 } while (1); 197 197 error: 198 ; /* pthread_cleanup_pop sometimes expands as "} ..." and the label be ofre this cause some compilers to complain... */198 ; /* pthread_cleanup_pop sometimes expands as "} ..." and the label before this cause some compilers to complain... */ 199 199 pthread_cleanup_pop( 1 ); 200 200 ASSERT(0); /* we have encountered a problem, maybe time to signal the framework to terminate? */ -
libfdproto/messages.c
r1096 r1099 1251 1251 return anscb ? EINVAL : 0; /* we associate with requests only */ 1252 1252 1253 CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.anscb == NULL) ); /* We are not overwrit ting a cb */1254 CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwrit ting a cb */1253 CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.anscb == NULL) ); /* We are not overwriting a cb */ 1254 CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwriting a cb */ 1255 1255 1256 1256 /* Associate callback and data with the message, if any */
Note: See TracChangeset
for help on using the changeset viewer.