Navigation



Ignore:
Timestamp:
Oct 19, 2009, 6:43:09 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Progress on server code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfreeDiameter.h

    r20 r22  
    120120 *
    121121 * PARAMETERS:
     122 *  ts          : The timestamp to log, or NULL for "now"
    122123 *  buf         : An array where the time must be stored
    123124 *  len         : size of the buffer
    124125 *
    125126 * DESCRIPTION:
    126  *  Writes the current timestamp (in human readable format) in a buffer.
     127 *  Writes the timestamp (in human readable format) in a buffer.
    127128 *
    128129 * RETURN VALUE:
    129130 *  pointer to buf.
    130131 */
    131 char * fd_log_time ( char * buf, size_t len );
     132char * fd_log_time ( struct timespec * ts, char * buf, size_t len );
    132133
    133134
     
    173174                fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n"                                                                \
    174175                          "\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__,        \
    176177                                        (level < FULL)?"@":" ",level, "", ## args);                                             \
    177178        }                                                                                                                       \
Note: See TracChangeset for help on using the changeset viewer.