X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=e2c7aef9e796189e19cb90e9a71d78dcafc22980;hb=3e14f31738c6a9ede5f026b6de43bcd21197a06d;hp=74083d41ce7c9e9538e6f28128d3a7f501c6e643;hpb=2d1460b52d17e07ba4bf898c625ffa01ba722634;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 74083d41c..e2c7aef9e 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -721,7 +721,11 @@ long guess_calhourformat(void); int get_time_format_cached (void); int xtoi(const char *in, size_t len); const char *get_selected_language(void); -void webcit_fmt_date(char *buf, time_t thetime, int brief); + +#define DATEFMT_FULL 0 +#define DATEFMT_BRIEF 1 +#define DATEFMT_RAWDATE 2 +void webcit_fmt_date(char *buf, time_t thetime, int Format); int fetch_http(char *url, char *target_buf, int maxbytes); void free_attachments(wcsession *sess); void summary(void);