Changeset 1014:908ffbb81f60 in freeDiameter for include/freeDiameter/libfdproto.h
- Timestamp:
- Mar 29, 2013, 6:30:59 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r1004 r1014 2427 2427 * 2428 2428 * PARAMETERS: 2429 * msg : the answermessage2429 * msg : the request message 2430 2430 * anscb : the callback to associate with the message 2431 2431 * data : the data to pass to the callback 2432 * expirecb : the expiration callback to associate with the message 2432 2433 * timeout : (optional, use NULL if no timeout) a timeout associated with calling the cb. 2433 2434 * 2434 2435 * DESCRIPTION: 2435 * Associate or retrieve a callback with an answermessage.2436 * Associate or retrieve callbacks with an message. 2436 2437 * This is meant to be called from the daemon only. 2437 2438 * … … 2440 2441 * EINVAL: a parameter is invalid 2441 2442 */ 2442 int fd_msg_anscb_associate( struct msg * msg, void ( *anscb)(void *, struct msg **), void * data, const struct timespec *timeout );2443 int fd_msg_anscb_get ( struct msg * msg, void (**anscb)(void *, struct msg **), void ** data );2443 int fd_msg_anscb_associate( struct msg * msg, void ( *anscb)(void *, struct msg **), void * data, void (*expirecb)(void *, DiamId_t, size_t, struct msg **), const struct timespec *timeout ); 2444 int fd_msg_anscb_get( struct msg * msg, void (**anscb)(void *, struct msg **), void (**expirecb)(void *, DiamId_t, size_t, struct msg **), void ** data ); 2444 2445 struct timespec *fd_msg_anscb_gettimeout( struct msg * msg ); /* returns NULL or a valid non-0 timespec */ 2445 2446
Note: See TracChangeset
for help on using the changeset viewer.