Mercurial > hg > freeDiameter
diff include/freeDiameter/libfdproto.h @ 1103:d8591b1c56cd
Implemented a few hooks
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 10 May 2013 18:48:57 +0800 |
parents | 1d7b3ebda27f |
children | 96f2051215c8 |
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h Thu May 09 16:40:02 2013 +0800 +++ b/include/freeDiameter/libfdproto.h Fri May 10 18:48:57 2013 +0800 @@ -145,7 +145,9 @@ * None. */ void fd_log ( int, const char *, ... ) _ATTRIBUTE_PRINTFLIKE_(2,3); +#ifndef SWIG void fd_log_va( int, const char *, va_list args ); +#endif /* SWIG */ /* these are internal objects of the debug facility, might be useful to control the behavior from outside */ @@ -608,6 +610,8 @@ DECLARE_FD_DUMP_PROTOTYPE(fd_sa_dump_node, sSA * sa, int flags); DECLARE_FD_DUMP_PROTOTYPE(fd_sa_dump_node_serv, sSA * sa, int flags); +#define sSA_DUMP_STRLEN (INET6_ADDRSTRLEN + 1 + 32 + 2) +void fd_sa_sdump_numeric(char * buf /* must be at least sSA_DUMP_STRLEN */, sSA * sa); /* A l4 protocol name (TCP / SCTP) */