You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules/mi_xmlrpc/abyss_date.h

35 lines
593 B

#ifndef DATE_H_INCLUDED
#define DATE_H_INCLUDED
#include <time.h>
#include <xmlrpc-c/abyss.h>
typedef struct tm TDate;
abyss_bool
DateToString(TDate * const tmP,
char * const s);
abyss_bool
DateToLogString(TDate * const tmP,
char * const s);
abyss_bool
DateDecode(const char * const dateString,
TDate * const tmP);
int32_t
DateCompare(TDate * const d1,
TDate * const d2);
abyss_bool
DateFromGMT(TDate * const d,
time_t const t);
abyss_bool
DateFromLocal(TDate * const d,
time_t const t);
#endif