X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mbox.h;h=e3bc8ca52031dbcaeb66d5dd30e719ccde6fe78d;hp=22adc66c668d3ab7c4fdcd3f5e8e731c910614ba;hb=e6c3d6c782080832a49192a8bd88599ef230678e;hpb=b2a6a9673e124c222f921650a6f0025b64ab2145 diff --git a/mbox.h b/mbox.h index 22adc66..e3bc8ca 100644 --- a/mbox.h +++ b/mbox.h @@ -15,29 +15,18 @@ #ifndef _MBOX_H #define _MBOX_H -#include - #include "mx.h" +/* TODO all of these must disappear to achieve good information hiding */ + #define MMDF_SEP "\001\001\001\001\n" -int mbox_sync_mailbox (CONTEXT *, int *); -int mbox_open_mailbox (CONTEXT *); -int mbox_check_mailbox (CONTEXT *, int *); int mbox_close_mailbox (CONTEXT *); int mbox_lock_mailbox (CONTEXT *, int, int); -int mbox_parse_mailbox (CONTEXT *); -int mmdf_parse_mailbox (CONTEXT *); void mbox_unlock_mailbox (CONTEXT *); -int mbox_check_empty (const char *); -/* this is still here for compressed folders support... */ +int mbox_check_empty (const char*); int mbox_is_magic (const char*, struct stat*); -int mbox_strict_cmp_headers (const HEADER *, const HEADER *); -int mbox_reopen_mailbox (CONTEXT *, int *); - -int mbox_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr); - mx_t* mbox_reg_mx (void); mx_t* mmdf_reg_mx (void);