projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git]
/
lib-mx
/
mx.h
diff --git
a/lib-mx/mx.h
b/lib-mx/mx.h
index
a017576
..
deccf85
100644
(file)
--- a/
lib-mx/mx.h
+++ b/
lib-mx/mx.h
@@
-28,9
+28,6
@@
enum {
M_MAILDIR,
M_IMAP,
M_POP,
M_MAILDIR,
M_IMAP,
M_POP,
-#ifdef USE_NNTP
- M_NNTP,
-#endif
M_COMPRESSED
};
M_COMPRESSED
};
@@
-84,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_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);
/* check ACL flags; if not implemented, always assume granted
* permissions */
int (*mx_acl_check) (CONTEXT*, int);
@@
-112,8
+110,6
@@
typedef struct mx_t {
#define MAXLOCKATTEMPT 5
#define MAXLOCKATTEMPT 5
-WHERE short DefaultMagic INITVAL (M_MBOX);
-
/*
* please use the following _ONLY_ when doing "something"
* with folders
/*
* please use the following _ONLY_ when doing "something"
* with folders
@@
-133,8
+129,6
@@
int mx_close_message (MESSAGE **);
/* determines magic for given folder */
int mx_get_magic (const char*);
/* 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);
/* tests whether given folder magic is (valid and) local */
int mx_is_local (int);
@@
-156,8
+150,8
@@
void mx_alloc_memory (CONTEXT *);
void mx_update_context (CONTEXT *, int);
void mx_update_tables (CONTEXT *, int);
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_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 */
void mutt_parse_mime_message (CONTEXT * ctx, HEADER *);
#endif /* !_MX_H */