X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmx.h;h=deccf850553b1c75440b962a6fc0b5907bd204ac;hp=c40b031956ff15c7fc167be0af9166636c4dddb4;hb=6605e3e4bf358e8d5835232623dc359af219cc6a;hpb=b94ae1245c98907bffbbbefaf6feb53f1ac80234 diff --git a/lib-mx/mx.h b/lib-mx/mx.h index c40b031..deccf85 100644 --- a/lib-mx/mx.h +++ b/lib-mx/mx.h @@ -81,6 +81,7 @@ typedef struct mx_t { int (*mx_open_mailbox) (CONTEXT*); /* open new message */ int (*mx_open_new_message) (MESSAGE*, CONTEXT*, HEADER*); + int (*mx_open_message)(MESSAGE*, CONTEXT*, int); /* check ACL flags; if not implemented, always assume granted * permissions */ int (*mx_acl_check) (CONTEXT*, int); @@ -109,8 +110,6 @@ typedef struct mx_t { #define MAXLOCKATTEMPT 5 -WHERE short DefaultMagic INITVAL (M_MBOX); - /* * please use the following _ONLY_ when doing "something" * with folders @@ -130,8 +129,6 @@ int mx_close_message (MESSAGE **); /* determines magic for given folder */ int mx_get_magic (const char*); -/* sets/parses DefaultMagic */ -int mx_set_magic (const char *); /* tests whether given folder magic is (valid and) local */ int mx_is_local (int);