Changeset 1128:7c5449ddc434 in freeDiameter for include
- Timestamp:
- May 15, 2013, 12:18:30 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdcore.h
r1127 r1128 1077 1077 struct fd_hook_hdl; 1078 1078 1079 /* Helper for building a mask of hooks for registration */ 1080 #define HOOK_MASK(hooklist...) fd_hook_mask_helper(0, ## hooklist, -1) 1081 1079 1082 /* 1080 1083 * FUNCTION: fd_hook_register 1081 1084 * 1082 1085 * PARAMETERS: 1083 * type_mask : A bitmask of fd_hook_type bits for which this cb is registered, e.g. ((1 << HOOK_MESSAGE_RECEIVED) | (1 << HOOK_MESSAGE_SENT))1086 * type_mask : A bitmask of fd_hook_type bits for which this cb is registered, e.g. HOOK_MASK( HOOK_MESSAGE_RECEIVED, HOOK_MESSAGE_SENT ) 1084 1087 * fd_hook_cb : The callback function to register (see prototype above). 1085 1088 * regdata : Pointer to pass to the callback when it is called. The data is opaque to the daemon. … … 1110 1113 struct fd_hook_permsgdata * fd_hook_get_request_pmd(struct fd_hook_data_hdl *data_hdl, struct msg * answer); 1111 1114 1115 /* The following is used by HOOK_MASK macro */ 1116 uint32_t fd_hook_mask_helper(int dummy, ...); 1112 1117 1113 1118 /*============================================================*/
Note: See TracChangeset
for help on using the changeset viewer.