11#ifndef __TIMESTAMP_H__
12#define __TIMESTAMP_H__
14#include "ws_symbol_export.h"
29 TS_ABSOLUTE_WITH_YDOY,
46 TS_PREC_FIXED_SEC = WS_TSPREC_SEC,
47 TS_PREC_FIXED_100_MSEC = WS_TSPREC_100_MSEC,
48 TS_PREC_FIXED_10_MSEC = WS_TSPREC_10_MSEC,
49 TS_PREC_FIXED_MSEC = WS_TSPREC_MSEC,
50 TS_PREC_FIXED_100_USEC = WS_TSPREC_100_USEC,
51 TS_PREC_FIXED_10_USEC = WS_TSPREC_10_USEC,
52 TS_PREC_FIXED_USEC = WS_TSPREC_USEC,
53 TS_PREC_FIXED_100_NSEC = WS_TSPREC_100_NSEC,
54 TS_PREC_FIXED_10_NSEC = WS_TSPREC_10_NSEC,
55 TS_PREC_FIXED_NSEC = WS_TSPREC_NSEC,
66 TS_SECONDS_HOUR_MIN_SEC,
75WS_DLL_PUBLIC ts_type timestamp_get_type(
void);
76WS_DLL_PUBLIC
void timestamp_set_type(ts_type);
78WS_DLL_PUBLIC
int timestamp_get_precision(
void);
79WS_DLL_PUBLIC
void timestamp_set_precision(
int tsp);
81WS_DLL_PUBLIC ts_seconds_type timestamp_get_seconds_type(
void);
82WS_DLL_PUBLIC
void timestamp_set_seconds_type(ts_seconds_type);