initial load of upstream version 1.06.32
[xmlrpc-c] / lib / abyss / src / date.h
1 #ifndef DATE_H_INCLUDED
2 #define DATE_H_INCLUDED
3
4 #include <time.h>
5
6 #include "xmlrpc-c/abyss.h"
7
8 typedef struct tm TDate;
9
10 abyss_bool
11 DateToString(TDate * const tmP,
12              char *  const s);
13
14 abyss_bool
15 DateToLogString(TDate * const tmP,
16                 char *  const s);
17
18 abyss_bool
19 DateDecode(const char *  const dateString,
20            TDate *       const tmP);
21
22 int32_t
23 DateCompare(TDate * const d1,
24             TDate * const d2);
25
26 abyss_bool
27 DateFromGMT(TDate * const d,
28             time_t  const t);
29
30 abyss_bool
31 DateFromLocal(TDate * const d,
32               time_t const t);
33
34 #endif