// clang-format off
/**
- * struct mx_comp_ops - Compressed mailbox - Implements ::MxOps
+ * MxCompOps - Compressed mailbox - Implements ::MxOps
*
* Compress only uses open, close and check.
* The message functions are delegated to mbox.
*/
-struct MxOps mx_comp_ops = {
+struct MxOps MxCompOps = {
.magic = MUTT_COMPRESSED,
.name = "compressed",
.ac_find = comp_ac_find,
int mutt_comp_valid_command(const char *cmd);
int comp_path_probe(const char *path, const struct stat *st);
-extern struct MxOps mx_comp_ops;
+extern struct MxOps MxCompOps;
#endif /* MUTT_COMPRESS_H */
// clang-format off
/**
- * struct mx_imap_ops - IMAP mailbox - Implements ::MxOps
+ * MxImapOps - IMAP mailbox - Implements ::MxOps
*/
-struct MxOps mx_imap_ops = {
+struct MxOps MxImapOps = {
.magic = MUTT_IMAP,
.name = "imap",
.ac_find = imap_ac_find,
int imap_path_probe(const char *path, const struct stat *st);
int imap_path_canon(char *buf, size_t buflen);
-extern struct MxOps mx_imap_ops;
+extern struct MxOps MxImapOps;
/* browse.c */
int imap_browse(char *path, struct BrowserState *state);
extern char *MhSeqReplied;
extern char *MhSeqUnseen;
-extern struct MxOps mx_maildir_ops;
-extern struct MxOps mx_mh_ops;
+extern struct MxOps MxMaildirOps;
+extern struct MxOps MxMhOps;
int maildir_check_empty (const char *path);
void maildir_gen_flags (char *dest, size_t destlen, struct Email *e);
// clang-format off
/**
- * struct mx_maildir_ops - Maildir mailbox - Implements ::MxOps
+ * MxMaildirOps - Maildir mailbox - Implements ::MxOps
*/
-struct MxOps mx_maildir_ops = {
+struct MxOps MxMaildirOps = {
.magic = MUTT_MAILDIR,
.name = "maildir",
.ac_find = maildir_ac_find,
// clang-format off
/**
- * struct mx_mh_ops - MH mailbox - Implements ::MxOps
+ * MxMhOps - MH mailbox - Implements ::MxOps
*/
-struct MxOps mx_mh_ops = {
+struct MxOps MxMhOps = {
.magic = MUTT_MH,
.name = "mh",
.ac_find = maildir_ac_find,
// clang-format off
/**
- * struct mx_mbox_ops - Mbox mailbox - Implements ::MxOps
+ * MxMboxOps - Mbox mailbox - Implements ::MxOps
*/
-struct MxOps mx_mbox_ops = {
+struct MxOps MxMboxOps = {
.magic = MUTT_MBOX,
.name = "mbox",
.ac_find = mbox_ac_find,
};
/**
- * struct mx_mmdf_ops - MMDF mailbox - Implements ::MxOps
+ * MxMmdfOps - MMDF mailbox - Implements ::MxOps
*/
-struct MxOps mx_mmdf_ops = {
+struct MxOps MxMmdfOps = {
.magic = MUTT_MMDF,
.name = "mmdf",
.ac_find = mbox_ac_find,
bool append : 1; /**< mailbox is opened in append mode */
};
-extern struct MxOps mx_mbox_ops;
-extern struct MxOps mx_mmdf_ops;
+extern struct MxOps MxMboxOps;
+extern struct MxOps MxMmdfOps;
#define MMDF_SEP "\001\001\001\001\n"
static const struct MxOps *mx_ops[] = {
/* These mailboxes can be recognised by their Url scheme */
#ifdef USE_IMAP
- &mx_imap_ops,
+ &MxImapOps,
#endif
#ifdef USE_NOTMUCH
- &mx_notmuch_ops,
+ &MxNotmuchOps,
#endif
#ifdef USE_POP
- &mx_pop_ops,
+ &MxPopOps,
#endif
#ifdef USE_NNTP
- &mx_nntp_ops,
+ &MxNntpOps,
#endif
/* Local mailboxes */
- &mx_maildir_ops,
- &mx_mbox_ops,
- &mx_mh_ops,
- &mx_mmdf_ops,
+ &MxMaildirOps,
+ &MxMboxOps,
+ &MxMhOps,
+ &MxMmdfOps,
/* If everything else fails... */
#ifdef USE_COMPRESSED
- &mx_comp_ops,
+ &MxCompOps,
#endif
NULL,
};
static const struct MxOps *no_stat[] = {
#ifdef USE_IMAP
- &mx_imap_ops,
+ &MxImapOps,
#endif
#ifdef USE_NOTMUCH
- &mx_notmuch_ops,
+ &MxNotmuchOps,
#endif
#ifdef USE_POP
- &mx_pop_ops,
+ &MxPopOps,
#endif
#ifdef USE_NNTP
- &mx_nntp_ops,
+ &MxNntpOps,
#endif
};
static const struct MxOps *with_stat[] = {
- &mx_maildir_ops, &mx_mbox_ops, &mx_mh_ops, &mx_mmdf_ops,
+ &MxMaildirOps, &MxMboxOps, &MxMhOps, &MxMmdfOps,
#ifdef USE_COMPRESSED
- &mx_comp_ops,
+ &MxCompOps,
#endif
};
// clang-format off
/**
- * struct mx_nntp_ops - NNTP mailbox - Implements ::MxOps
+ * MxNntpOps - NNTP mailbox - Implements ::MxOps
*/
-struct MxOps mx_nntp_ops = {
+struct MxOps MxNntpOps = {
.magic = MUTT_NNTP,
.name = "nntp",
.ac_find = nntp_ac_find,
extern char *Newsrc;
extern struct NntpAccountData *CurrentNewsSrv;
-extern struct MxOps mx_nntp_ops;
+extern struct MxOps MxNntpOps;
/* article number type and format */
#define anum_t uint32_t
// clang-format off
/**
- * struct mx_notmuch_ops - Notmuch mailbox - Implements ::MxOps
+ * MxNotmuchOps - Notmuch mailbox - Implements ::MxOps
*/
-struct MxOps mx_notmuch_ops = {
+struct MxOps MxNotmuchOps = {
.magic = MUTT_NOTMUCH,
.name = "notmuch",
.ac_find = nm_ac_find,
extern char *NmFlaggedTag;
extern char *NmRepliedTag;
-extern struct MxOps mx_notmuch_ops;
+extern struct MxOps MxNotmuchOps;
void nm_db_debug_check (struct Mailbox *m);
int nm_description_to_path (const char *desc, char *buf, size_t buflen);
// clang-format off
/**
- * mx_pop_ops - POP mailbox - Implements ::MxOps
+ * MxPopOps - POP mailbox - Implements ::MxOps
*/
-struct MxOps mx_pop_ops = {
+struct MxOps MxPopOps = {
.magic = MUTT_POP,
.name = "pop",
.ac_find = pop_ac_find,
/* These Config Variables are only used in pop/pop_lib.c */
extern unsigned char PopReconnect;
-extern struct MxOps mx_pop_ops;
+extern struct MxOps MxPopOps;
void pop_fetch_mail(void);
int pop_path_probe(const char *path, const struct stat *st);