X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mbox.h;h=fc9a6fde998a1a48edc1eede8157eb74b558e621;hp=5379c56b08843390804d53a1346a4388f56c4e0e;hb=bd0ed9bc7c534be30b0140b341b4d8a390483dbd;hpb=ce220f6dc8789ed75468c63adce953fbdfed11a8 diff --git a/mbox.h b/mbox.h index 5379c56..fc9a6fd 100644 --- a/mbox.h +++ b/mbox.h @@ -15,23 +15,18 @@ #ifndef _MBOX_H #define _MBOX_H -#include - #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_check_mailbox (CONTEXT *, int *); int mbox_close_mailbox (CONTEXT *); int mbox_lock_mailbox (CONTEXT *, int, int); -void mbox_unlock_mailbox (CONTEXT *); -int mbox_check_empty (const char *); +int mbox_check_empty (const char*); int mbox_is_magic (const char*, struct stat*); -int mbox_strict_cmp_headers (const HEADER *, const HEADER *); - -mx_t* mbox_reg_mx (void); -mx_t* mmdf_reg_mx (void); #endif