abyss_date.h
Go to the documentation of this file.00001 #ifndef DATE_H_INCLUDED
00002 #define DATE_H_INCLUDED
00003
00004 #include <time.h>
00005
00006 #include <xmlrpc-c/abyss.h>
00007
00008 typedef struct tm TDate;
00009
00010 abyss_bool
00011 DateToString(TDate * const tmP,
00012 char * const s);
00013
00014 abyss_bool
00015 DateToLogString(TDate * const tmP,
00016 char * const s);
00017
00018 abyss_bool
00019 DateDecode(const char * const dateString,
00020 TDate * const tmP);
00021
00022 int32_t
00023 DateCompare(TDate * const d1,
00024 TDate * const d2);
00025
00026 abyss_bool
00027 DateFromGMT(TDate * const d,
00028 time_t const t);
00029
00030 abyss_bool
00031 DateFromLocal(TDate * const d,
00032 time_t const t);
00033
00034 #endif