diff 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
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Tue Nov 12 16:16:15 2013 +0800
+++ b/include/freeDiameter/libfdproto.h	Fri Nov 22 16:07:42 2013 +0100
@@ -2488,6 +2488,7 @@
  */
 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 );
 int fd_msg_anscb_get( struct msg * msg, void (**anscb)(void *, struct msg **), void (**expirecb)(void *, DiamId_t, size_t, struct msg **), void ** data );
+int fd_msg_anscb_reset(struct msg * msg, int clear_anscb, int clear_expirecb);
 struct timespec *fd_msg_anscb_gettimeout( struct msg * msg ); /* returns NULL or a valid non-0 timespec */
 
 /*
"Welcome to our mercurial repository"