su_time0.c File Reference


Detailed Description

su_time() implementation

The file su_time0.c contains implementation of OS-independent wallclock time with microsecond resolution.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>

Jari Selin <Jari.Selin@nokia-email.address.hidden>

Date:
Created: Fri May 10 18:13:19 2002 ppessi

#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.

Function Documentation

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.

Parameters:
tv pointer to the timeval object


Sofia-SIP 1.12.1 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.