X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mbox.h;h=fc9a6fde998a1a48edc1eede8157eb74b558e621;hp=78364b328874478502a38d581c03a6db6685f4c1;hb=bd0ed9bc7c534be30b0140b341b4d8a390483dbd;hpb=25bf57d598476b329536fa3f748cc0c529fef6bd diff --git a/mbox.h b/mbox.h index 78364b3..fc9a6fd 100644 --- a/mbox.h +++ b/mbox.h @@ -17,25 +17,16 @@ #include "mx.h" +extern mx_t const mbox_mx; +extern mx_t const mmdf_mx; + +/* 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 *); -int mbox_is_magic (const char*); - -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); +int mbox_check_empty (const char*); +int mbox_is_magic (const char*, struct stat*); #endif