RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

r_time.h File Reference

This file contains the time management Application Programming Interface (API) prototypes, structures and defines.

#include "r_com.h"

Go to the source code of this file.

Defines

#define R_TIME_FMT_UTC
 Specifies a format string containing Universal Coordinated Time (UTC) "YYMMDDHHMM[SS](Z|(+|-)HHMM)". More...

#define R_TIME_FMT_GENERALIZEDTIME
 Specifies a format string containing generalized time "YYYYMMDDHHMMSS.S(Z|(+|-)HHMM)". More...

#define R_TIME_FMT_BIGENDIAN
 Specifies a format of Big Endian time in seconds since January 1 1970.

#define R_TIME_LEN_UTC
 Specifies the maximum size of the output for Universal Coordinated Time (UTC) time.

#define R_TIME_LEN_UTC
 Specifies the maximum size of the output for Universal Coordinated Time (UTC) time.

#define R_TIME_MIN_UTC
 Specifies the minimum time value for formatted Universal Coordinated Time (UTC).

#define R_TIME_MAX_UTC
 Specifies the maximum time value for formatted UTC.

#define R_TIME_NAN_UTC
 Specifies the EPOCH time value for formatted UTC.

#define R_TIME_MIN_GENERALIZEDTIME
 Specifies the minimum time value for generalized time.

#define R_TIME_MAX_GENERALIZEDTIME
 Specifies the maximum time value for generalized time.

#define R_TIME_NAN_GENERALIZEDTIME
 Specifies the EPOCH time value for generalized time.


Typedefs

typedef int R_CDECL R_TIME_CMP_FUNC_T (R_TIME_T *tm1, R_TIME_T *tm2)
 Compares two R_TIME_T structures tm1 and tm2. More...

typedef int R_CDECL R_TIME_EXPORT_FUNC_T (R_TIME_T *tm, int format, char *buffer, int buf_len)
 Exports an R_TIME_T structure tm in a given format. More...

typedef R_TIME_T* R_CDECL R_TIME_FUNC_T (R_TIME_T *tm)
 Returns the current time in the R_TIME_T structure tm. More...

typedef int R_CDECL R_TIME_IMPORT_FUNC_T (char *buffer, int buf_len, int format, R_TIME_T *tm)
 Converts the input data buffer from the given time format to R_TIME_T. More...

typedef R_TIME_T* R_CDECL R_TIME_OFFSET_FUNC_T (R_TIME_T *ret, R_TIME_T *tm, R_INT32 secs_offset, R_INT32 nano_offset)
 Adds an offset in seconds and nanoseconds to the given time value tm and returns the results. More...


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1