Index: ossp-pkg/tai/tai_lib.c RCS File: /v/ossp/cvs/ossp-pkg/tai/tai_lib.c,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/tai/tai_lib.c,v' 2>/dev/null --- tai_lib.c 2002/04/24 09:07:24 1.2 +++ tai_lib.c 2002/04/29 19:24:41 1.3 @@ -37,26 +37,6 @@ #include "tai.h" #include "tai_p.h" -struct tai_st { - int tai_sec; /* seconds after the minute [0-61] */ - int tai_min; /* minutes after the hour [0-59] */ - int tai_hour; /* hours since midnight [0-23] */ - int tai_mday; /* day of the month [1-31] */ - int tai_mon; /* months since January [0-11] */ - int tai_year; /* years since 1900 */ - int tai_wday; /* days since Sunday [0-6] */ - int tai_yday; /* days since January 1 [0-365] */ - int tai_isdst; /* Daylight Savings Time flag */ - long tai_gmtoff; /* offset from CUT in seconds */ - char *tai_zone; /* timezone abbreviation */ -#if 0 - int sign; - unsigned long long sec; - unsigned long nsec; - unsigned long asec; -#endif -}; - tai_rc_t tai_create(tai_t **ptai) { tai_t *tai; Index: ossp-pkg/tai/tai_p.h RCS File: /v/ossp/cvs/ossp-pkg/tai/tai_p.h,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/tai/tai_p.h,v' 2>/dev/null --- tai_p.h 2002/04/18 09:10:45 1.1 +++ tai_p.h 2002/04/29 19:24:41 1.2 @@ -32,6 +32,24 @@ #include #include "config.h" +#include "tai_ui64.h" + +struct tai_st { + tai_ui64_t sec; /* seconds (integral part) */ + tai_ui64_t asec; /* atto-seconds (fractional part) */ + /* FIXME: obsolete stuff */ + int tai_sec; /* seconds after the minute [0-61] */ + int tai_min; /* minutes after the hour [0-59] */ + int tai_hour; /* hours since midnight [0-23] */ + int tai_mday; /* day of the month [1-31] */ + int tai_mon; /* months since January [0-11] */ + int tai_year; /* years since 1900 */ + int tai_wday; /* days since Sunday [0-6] */ + int tai_yday; /* days since January 1 [0-365] */ + int tai_isdst; /* Daylight Savings Time flag */ + long tai_gmtoff; /* offset from CUT in seconds */ + char *tai_zone; /* timezone abbreviation */ +}; /* * Private header file for the strftime and strptime localization