X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmx.h;h=9ccae83f6908434866962e6d3bdbc1c1ef80bbde;hp=efc732bff042b4e3f03299f63691717a1090cec2;hb=1d76b29d79137330c8f42d489fe3f67a23f2390b;hpb=8476307969a605bea67f6b702b0c1e7a52038bed diff --git a/lib-mx/mx.h b/lib-mx/mx.h index efc732b..9ccae83 100644 --- a/lib-mx/mx.h +++ b/lib-mx/mx.h @@ -24,14 +24,10 @@ XXX: has to be in the same order than mxfmts in mx.c */ enum { M_MBOX = 1, - M_MMDF, M_MH, M_MAILDIR, M_IMAP, M_POP, -#ifdef USE_NNTP - M_NNTP, -#endif M_COMPRESSED }; @@ -113,8 +109,6 @@ typedef struct mx_t { #define MAXLOCKATTEMPT 5 -WHERE short DefaultMagic INITVAL (M_MBOX); - /* * please use the following _ONLY_ when doing "something" * with folders @@ -134,8 +128,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); @@ -157,10 +149,8 @@ void mx_alloc_memory (CONTEXT *); void mx_update_context (CONTEXT *, int); void mx_update_tables (CONTEXT *, int); -int mx_lock_file (const char *, int, int, int, int); -int mx_unlock_file (const char *path, int fd, int dot); - -int mx_rebuild_cache (void); +int mx_lock_file(const char *, int, int, int); +int mx_unlock_file(const char *path, int fd); void mutt_parse_mime_message (CONTEXT * ctx, HEADER *); #endif /* !_MX_H */