X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mx.h;h=efc732bff042b4e3f03299f63691717a1090cec2;hb=bd0ed9bc7c534be30b0140b341b4d8a390483dbd;hp=60f7782e7047fda85c0af54ca0e371adf1e9a8eb;hpb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;p=apps%2Fmadmutt.git diff --git a/mx.h b/mx.h index 60f7782..efc732b 100644 --- a/mx.h +++ b/mx.h @@ -20,10 +20,8 @@ #include #include "mutt.h" -/* - * supported mailbox formats - * in mx_init() the registration order must be exactly as given here!!!1! - */ +/* supported mailbox formats + XXX: has to be in the same order than mxfmts in mx.c */ enum { M_MBOX = 1, M_MMDF, @@ -72,7 +70,7 @@ typedef struct { time_t received; /* the time at which this message was received */ } MESSAGE; -typedef struct { +typedef struct mx_t { /* folder magic */ int type; /* may we stat() it? */ @@ -100,9 +98,6 @@ typedef struct { int (*mx_commit_message) (MESSAGE*, CONTEXT*); } mx_t; -/* called from main: init all folder types */ -void mx_init (void); - /* flags for mx_open_mailbox() */ #define M_NOSORT (1<<0) /* do not sort the mailbox after opening it */ #define M_APPEND (1<<1) /* open mailbox for appending messages */