OpenSync  0.22
opensync_time_internals.h
1 
2 #ifndef _OPENSYNC_TIME_INTERNALS_H_
3 #define _OPENSYNC_TIME_INTERNALS_H_
4 
5 #include "opensync_xml.h"
6 
7 /* Timezone ID helper */
8 struct tm *osync_time_dstchange(xmlNode *dstNode);
9 osync_bool osync_time_isdst(const char *vtime, xmlNode *tzid);
10 int osync_time_tzoffset(const char *vtime, xmlNode *tz);
11 char *osync_time_tzid(xmlNode *tz);
12 char *osync_time_tzlocation(xmlNode *tz);
13 xmlNode *osync_time_tzinfo(xmlNode *root, const char *tzid);
14 char *osync_time_tzlocal2utc(xmlNode *root, const char *field);
15 
16 #endif // _OPENSYNC_TIME_INTERNALS_H_
17