The file su_time0.c contains implementation of OS-independent wallclock time with microsecond resolution.
Jari Selin <Jari.Selin@nokia-email.address.hidden>
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include "sofia-sip/su_types.h"
#include "sofia-sip/su_time.h"
#include "su_module_debug.h"
Include dependency graph for su_time0.c:
Defines | |
#define | NTP_EPOCH |
Seconds from 1.1.1900 to 1.1.1970. | |
Functions | |
void | su_time (su_time_t *tv) |
Get current time. |
void su_time | ( | su_time_t * | tv | ) |
Get current time.
The function su_time()
fills its argument with the current NTP timestamp expressed as a su_time_t structure.
tv | pointer to the timeval object |