Mercurial > hg > freeDiameter
diff include/freeDiameter/libfdproto.h @ 1120:c473581adff2
Cleanup some traces
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Tue, 14 May 2013 12:32:28 +0800 |
parents | 79dd22145f52 |
children | d4371b7aa0ff |
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h Tue May 14 11:04:20 2013 +0800 +++ b/include/freeDiameter/libfdproto.h Tue May 14 12:32:28 2013 +0800 @@ -2499,8 +2499,7 @@ * PARAMETERS: * msg : A msg object. * diamid,len : The diameter id of the peer from which this message was received. - * add_rr : if true, a Route-Record AVP is added to the message with content diamid. In that case, dict must be supplied. - * dict : a dictionary with definition of Route-Record AVP (if add_rr is true) + * dict : a dictionary with definition of Route-Record AVP (for fd_msg_source_setrr) * * DESCRIPTION: * Store or retrieve the diameted id of the peer from which this message was received. @@ -2511,7 +2510,8 @@ * 0 : Operation complete. * !0 : an error occurred. */ -int fd_msg_source_set( struct msg * msg, DiamId_t diamid, size_t diamidlen, int add_rr, struct dictionary * dict ); +int fd_msg_source_set( struct msg * msg, DiamId_t diamid, size_t diamidlen ); +int fd_msg_source_setrr( struct msg * msg, DiamId_t diamid, size_t diamidlen, struct dictionary * dict ); int fd_msg_source_get( struct msg * msg, DiamId_t *diamid, size_t * diamidlen ); /*