Mercurial > hg > freeDiameter
diff include/freeDiameter/libfreeDiameter.h @ 646:cfc8da9264f4
Prepared first part of the changes for #10
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 04 Jan 2011 16:20:50 +0900 |
parents | 95a784729cac |
children | ae29bf971f20 |
line wrap: on
line diff
--- a/include/freeDiameter/libfreeDiameter.h Tue Jan 04 11:54:19 2011 +0900 +++ b/include/freeDiameter/libfreeDiameter.h Tue Jan 04 16:20:50 2011 +0900 @@ -2134,6 +2134,7 @@ * msg : the answer message * anscb : the callback to associate with the message * data : the data to pass to the callback + * timeout : (optional, use NULL if no timeout) a timeout associated with calling the cb. * * DESCRIPTION: * Associate or retrieve a callback with an answer message. @@ -2143,7 +2144,7 @@ * 0 : ok * EINVAL: a parameter is invalid */ -int fd_msg_anscb_associate( struct msg * msg, void ( *anscb)(void *, struct msg **), void * data ); +int fd_msg_anscb_associate( struct msg * msg, void ( *anscb)(void *, struct msg **), void * data, const struct timespec *timeout ); int fd_msg_anscb_get ( struct msg * msg, void (**anscb)(void *, struct msg **), void ** data ); /*