X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/647ac5444d022537a1f0854dd309494c511dfe07..9275549093fd4bae96f4119e7b66dd3cc6478e78:/imap/imap_private.h?ds=sidebyside diff --git a/imap/imap_private.h b/imap/imap_private.h index 618d8c5..9e61494 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -70,6 +70,9 @@ #define IMAP_CMD_PASS (1<<1) #define IMAP_CMD_QUEUE (1<<2) +/* length of "DD-MMM-YYYY HH:MM:SS +ZZzz" (null-terminated) */ +#define IMAP_DATELEN 27 + enum { IMAP_FATAL = 1, @@ -281,6 +284,7 @@ char* imap_get_qualifier (char* buf); int imap_mxcmp (const char* mx1, const char* mx2); char* imap_next_word (char* s); time_t imap_parse_date (char* s); +void imap_make_date (char* buf, time_t timestamp); void imap_qualify_path (char *dest, size_t len, IMAP_MBOX *mx, char* path); void imap_quote_string (char* dest, size_t slen, const char* src); void imap_unquote_string (char* s);