23#ifndef MUTT_COMMANDS_MAILBOXES_H
24#define MUTT_COMMANDS_MAILBOXES_H
#define ARRAY_HEAD(name, T)
Define a named struct for arrays of elements of a certain type.
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
enum CommandResult parse_unmailboxes(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unmailboxes' command - Implements Command::parse() -.
enum CommandResult parse_mailboxes(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'mailboxes' command - Implements Command::parse() -.
bool mailbox_remove_simple(const char *mailbox)
Remove a Mailbox.
void parse_mailbox_free(struct ParseMailbox *pm)
Free a ParseMailbox structure.
void parse_mailbox_array_free(struct ParseMailboxArray *pma)
Free a ParseMailboxArray.
bool parse_mailboxes_args(const struct Command *cmd, struct Buffer *line, struct Buffer *err, struct ParseMailboxArray *args)
Parse the 'mailboxes' and 'named-mailboxes' commands.
enum CommandResult parse_mailboxes_exec(const struct Command *cmd, struct ParseMailboxArray *args, struct Buffer *err)
Execute the 'mailboxes' or 'named-mailboxes' command.
TriBool
Tri-state boolean.
@ TB_FALSE
Value is false.
@ TB_UNSET
Value hasn't been set.
bool mailbox_add_simple(const char *mailbox, struct Buffer *err)
Add a new Mailbox.
Convenience wrapper for the library headers.
String manipulation buffer.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
Parsed data for a single mailbox.
enum TriBool notify
Enable mailbox notification?
char * label
Descriptive label (strdup'd, may be NULL)
enum TriBool poll
Enable mailbox polling?