NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
MxOps Struct Reference

#include "mxapi.h"

Data Fields

enum MailboxType type
 Mailbox type, e.g. MUTT_IMAP.
 
const char * name
 Mailbox name, e.g. "imap".
 
bool is_local
 True, if Mailbox type has local files/dirs.
 
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, CheckStatsFlags flags)
 
enum MxStatus(* mbox_sync )(struct Mailbox *m)
 
enum MxStatus(* mbox_close )(struct Mailbox *m)
 
bool(* msg_open )(struct Mailbox *m, struct Message *msg, struct Email *e)
 
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, struct Buffer *buf)
 
int(* tags_commit )(struct Mailbox *m, struct Email *e, const char *buf)
 
enum MailboxType(* path_probe )(const char *path, const struct stat *st)
 
int(* path_canon )(struct Buffer *path)
 
int(* path_is_empty )(struct Buffer *path)
 

Detailed Description

Definition at line 90 of file mxapi.h.

Field Documentation

◆ type

enum MailboxType MxOps::type

Mailbox type, e.g. MUTT_IMAP.

Definition at line 92 of file mxapi.h.

◆ name

const char* MxOps::name

Mailbox name, e.g. "imap".

Definition at line 93 of file mxapi.h.

◆ is_local

bool MxOps::is_local

True, if Mailbox type has local files/dirs.

Definition at line 94 of file mxapi.h.

◆ ac_owns_path

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

Definition at line 109 of file mxapi.h.

◆ ac_add

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

Definition at line 124 of file mxapi.h.

◆ mbox_open

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

Definition at line 124 of file mxapi.h.

◆ mbox_open_append

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

Definition at line 150 of file mxapi.h.

◆ mbox_check

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

Definition at line 150 of file mxapi.h.

◆ mbox_check_stats

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

Definition at line 150 of file mxapi.h.

◆ mbox_sync

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

Definition at line 150 of file mxapi.h.

◆ mbox_close

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

Definition at line 150 of file mxapi.h.

◆ msg_open

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

Definition at line 216 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 232 of file mxapi.h.

◆ msg_commit

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

Definition at line 247 of file mxapi.h.

◆ msg_close

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

Definition at line 262 of file mxapi.h.

◆ msg_padding_size

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

Definition at line 274 of file mxapi.h.

◆ msg_save_hcache

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

Definition at line 289 of file mxapi.h.

◆ tags_edit

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

Definition at line 306 of file mxapi.h.

◆ tags_commit

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

Definition at line 323 of file mxapi.h.

◆ path_probe

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

Definition at line 323 of file mxapi.h.

◆ path_canon

int(* MxOps::path_canon) (struct Buffer *path)

Definition at line 349 of file mxapi.h.

◆ path_is_empty

int(* MxOps::path_is_empty) (struct Buffer *path)

Definition at line 363 of file mxapi.h.


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