Mercurial > hg > freeDiameter
comparison include/freeDiameter/libfdproto.h @ 1248:c9a160b815ea
Fix issue with anscb in the p_sr expiry mechanism. Thanks Guangming for the report.
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 22 Nov 2013 16:07:42 +0100 |
parents | 7c5f662c4eef |
children | 97caad40b665 |
comparison
equal
deleted
inserted
replaced
1247:2c09e2545188 | 1248:c9a160b815ea |
---|---|
2486 * 0 : ok | 2486 * 0 : ok |
2487 * EINVAL: a parameter is invalid | 2487 * EINVAL: a parameter is invalid |
2488 */ | 2488 */ |
2489 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 ); | 2489 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 ); |
2490 int fd_msg_anscb_get( struct msg * msg, void (**anscb)(void *, struct msg **), void (**expirecb)(void *, DiamId_t, size_t, struct msg **), void ** data ); | 2490 int fd_msg_anscb_get( struct msg * msg, void (**anscb)(void *, struct msg **), void (**expirecb)(void *, DiamId_t, size_t, struct msg **), void ** data ); |
2491 int fd_msg_anscb_reset(struct msg * msg, int clear_anscb, int clear_expirecb); | |
2491 struct timespec *fd_msg_anscb_gettimeout( struct msg * msg ); /* returns NULL or a valid non-0 timespec */ | 2492 struct timespec *fd_msg_anscb_gettimeout( struct msg * msg ); /* returns NULL or a valid non-0 timespec */ |
2492 | 2493 |
2493 /* | 2494 /* |
2494 * FUNCTION: fd_msg_rt_associate, fd_msg_rt_get | 2495 * FUNCTION: fd_msg_rt_associate, fd_msg_rt_get |
2495 * | 2496 * |