OSSP CVS Repository

ossp - Difference in ossp-pkg/tai/tai_p.h versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/tai/tai_p.h 1.4 -> 1.5

--- tai_p.h      2002/08/14 14:28:27     1.4
+++ tai_p.h      2005/01/24 11:04:07     1.5
@@ -34,6 +34,7 @@
 #include "config.h"
 #include "tai.h"
 #include "tai_ui64.h"
+#include "tai_cal.h"
 
 struct tai_st {
     tai_ui64_t sec;    /* seconds (integral part) */
@@ -73,12 +74,13 @@
 
 extern const tai_locale_t tai_locale;
 
-#define TM_YEAR_BASE    1900
-
 size_t  tai_format_int(char *const s, const size_t maxsize, const char *const format, const struct tm *const t);
 char   *tai_parse_int (const char *buf, const char *fmt, struct tm *tm);
 
-tai_rc_t tai_tai2cal(tai_t *tai, int offset);
-tai_rc_t tai_cal2tai(tai_t *tai);
+tai_rc_t tai_tai2cal(const tai_t *tai,       tai_cal_t *cal, long  offset, int  isdst);
+tai_rc_t tai_cal2tai(      tai_t *tai, const tai_cal_t *cal, long *offset, int *isdst);
+
+extern ui64_t tai_full_sec_in_asec;
+extern ui64_t tai_half_sec_in_asec;
 
 #endif /* !_TIMELOCAL_H_ */

CVSTrac 2.0.1