NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
MxOps Struct Reference

#include "mxapi.h"

Data Fields

enum MailboxType type
 Mailbox type, e.g. MUTT_IMAP. More...
 
const char * name
 Mailbox name, e.g. "imap". More...
 
bool is_local
 True, if Mailbox type has local files/dirs. More...
 
bool(* ac_owns_path )(struct Account *a, const char *path)
 
bool(* ac_add )(struct Account *a, struct Mailbox *m)
 
enum MxOpenReturns(* mbox_open )(struct Mailbox *m)
 
bool(* mbox_open_append )(struct Mailbox *m, OpenMailboxFlags flags)
 
enum MxStatus(* mbox_check )(struct Mailbox *m)
 
enum MxStatus(* mbox_check_stats )(struct Mailbox *m, uint8_t flags)
 
enum MxStatus(* mbox_sync )(struct Mailbox *m)
 
enum MxStatus(* mbox_close )(struct Mailbox *m)
 
bool(* msg_open )(struct Mailbox *m, struct Message *msg, int msgno)
 
bool(* msg_open_new )(struct Mailbox *m, struct Message *msg, const struct Email *e)
 
int(* msg_commit )(struct Mailbox *m, struct Message *msg)
 
int(* msg_close )(struct Mailbox *m, struct Message *msg)
 
int(* msg_padding_size )(struct Mailbox *m)
 
int(* msg_save_hcache )(struct Mailbox *m, struct Email *e)
 
int(* tags_edit )(struct Mailbox *m, const char *tags, char *buf, size_t buflen)
 
int(* tags_commit )(struct Mailbox *m, struct Email *e, char *buf)
 
enum MailboxType(* path_probe )(const char *path, const struct stat *st)
 
int(* path_canon )(char *buf, size_t buflen)
 
int(* path_pretty )(char *buf, size_t buflen, const char *folder)
 
int(* path_parent )(char *buf, size_t buflen)
 
int(* path_is_empty )(const char *path)
 

Detailed Description

Definition at line 103 of file mxapi.h.

Field Documentation

◆ type

enum MailboxType MxOps::type

Mailbox type, e.g. MUTT_IMAP.

Definition at line 105 of file mxapi.h.

◆ name

const char* MxOps::name

Mailbox name, e.g. "imap".

Definition at line 106 of file mxapi.h.

◆ is_local

bool MxOps::is_local

True, if Mailbox type has local files/dirs.

Definition at line 107 of file mxapi.h.

◆ ac_owns_path

bool(* MxOps::ac_owns_path) (struct Account *a, const char *path)

Definition at line 123 of file mxapi.h.

◆ ac_add

bool(* MxOps::ac_add) (struct Account *a, struct Mailbox *m)

Definition at line 139 of file mxapi.h.

◆ mbox_open

enum MxOpenReturns(* MxOps::mbox_open) (struct Mailbox *m)

Definition at line 152 of file mxapi.h.

◆ mbox_open_append

bool(* MxOps::mbox_open_append) (struct Mailbox *m, OpenMailboxFlags flags)

Definition at line 167 of file mxapi.h.

◆ mbox_check

enum MxStatus(* MxOps::mbox_check) (struct Mailbox *m)

Definition at line 180 of file mxapi.h.

◆ mbox_check_stats

enum MxStatus(* MxOps::mbox_check_stats) (struct Mailbox *m, uint8_t flags)

Definition at line 194 of file mxapi.h.

◆ mbox_sync

enum MxStatus(* MxOps::mbox_sync) (struct Mailbox *m)

Definition at line 207 of file mxapi.h.

◆ mbox_close

enum MxStatus(* MxOps::mbox_close) (struct Mailbox *m)

Definition at line 220 of file mxapi.h.

◆ msg_open

bool(* MxOps::msg_open) (struct Mailbox *m, struct Message *msg, int msgno)

Definition at line 238 of file mxapi.h.

◆ msg_open_new

bool(* MxOps::msg_open_new) (struct Mailbox *m, struct Message *msg, const struct Email *e)

Definition at line 255 of file mxapi.h.

◆ msg_commit

int(* MxOps::msg_commit) (struct Mailbox *m, struct Message *msg)

Definition at line 271 of file mxapi.h.

◆ msg_close

int(* MxOps::msg_close) (struct Mailbox *m, struct Message *msg)

Definition at line 287 of file mxapi.h.

◆ msg_padding_size

int(* MxOps::msg_padding_size) (struct Mailbox *m)

Definition at line 300 of file mxapi.h.

◆ msg_save_hcache

int(* MxOps::msg_save_hcache) (struct Mailbox *m, struct Email *e)

Definition at line 316 of file mxapi.h.

◆ tags_edit

int(* MxOps::tags_edit) (struct Mailbox *m, const char *tags, char *buf, size_t buflen)

Definition at line 335 of file mxapi.h.

◆ tags_commit

int(* MxOps::tags_commit) (struct Mailbox *m, struct Email *e, char *buf)

Definition at line 353 of file mxapi.h.

◆ path_probe

enum MailboxType(* MxOps::path_probe) (const char *path, const struct stat *st)

Definition at line 367 of file mxapi.h.

◆ path_canon

int(* MxOps::path_canon) (char *buf, size_t buflen)

Definition at line 382 of file mxapi.h.

◆ path_pretty

int(* MxOps::path_pretty) (char *buf, size_t buflen, const char *folder)

Definition at line 398 of file mxapi.h.

◆ path_parent

int(* MxOps::path_parent) (char *buf, size_t buflen)

Definition at line 413 of file mxapi.h.

◆ path_is_empty

int(* MxOps::path_is_empty) (const char *path)

Definition at line 428 of file mxapi.h.


The documentation for this struct was generated from the following file: