Changeset 22:0b3b46da2c12 in freeDiameter for include
- Timestamp:
- Oct 19, 2009, 6:43:09 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/freeDiameter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/freeDiameter.h
r20 r22 256 256 /* Additional parameters */ 257 257 uint32_t pi_lft; /* lifetime of this peer when inactive (see pi_flags.exp definition) */ 258 uint16_t pi_streams; /* number of streams for SCTP. 0 = default */259 258 uint16_t pi_port; /* port to connect to. 0: default. */ 260 259 int pi_tctimer; /* use this value for TcTimer instead of global, if != 0 */ … … 271 270 struct fd_list pi_apps; /* applications advertised by the remote peer, except relay (pi_flags.relay) */ 272 271 struct { 272 char *priority; /* In case the default priority is not appropriate */ 273 273 /* This is inspired from http://www.gnu.org/software/gnutls/manual/gnutls.html#ex_003ax509_002dinfo */ 274 274 const gnutls_datum_t *cert_list; /* The (valid) credentials that the peer has presented */ -
include/freeDiameter/libfreeDiameter.h
r20 r22 120 120 * 121 121 * PARAMETERS: 122 * ts : The timestamp to log, or NULL for "now" 122 123 * buf : An array where the time must be stored 123 124 * len : size of the buffer 124 125 * 125 126 * DESCRIPTION: 126 * Writes the currenttimestamp (in human readable format) in a buffer.127 * Writes the timestamp (in human readable format) in a buffer. 127 128 * 128 129 * RETURN VALUE: 129 130 * pointer to buf. 130 131 */ 131 char * fd_log_time ( char * buf, size_t len );132 char * fd_log_time ( struct timespec * ts, char * buf, size_t len ); 132 133 133 134 … … 173 174 fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n" \ 174 175 "\t%s|%*s" format "\n", \ 175 __thn, fd_log_time( __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__, \176 __thn, fd_log_time(NULL, __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__, \ 176 177 (level < FULL)?"@":" ",level, "", ## args); \ 177 178 } \
Note: See TracChangeset
for help on using the changeset viewer.