summaryrefslogtreecommitdiffstats
path: root/debian/opensync/opensync-0.22/opensync/opensync_time_internals.h
blob: fed57e4817fd7b4efe45514ed9dbd408b0ce9cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifndef _OPENSYNC_TIME_INTERNALS_H_
#define _OPENSYNC_TIME_INTERNALS_H_

#include "opensync_xml.h"

/* Timezone ID helper */
struct tm *osync_time_dstchange(xmlNode *dstNode);
osync_bool osync_time_isdst(const char *vtime, xmlNode *tzid);
int osync_time_tzoffset(const char *vtime, xmlNode *tz);
char *osync_time_tzid(xmlNode *tz);
char *osync_time_tzlocation(xmlNode *tz);
xmlNode *osync_time_tzinfo(xmlNode *root, const char *tzid);
char *osync_time_tzlocal2utc(xmlNode *root, const char *field);

#endif // _OPENSYNC_TIME_INTERNALS_H_