58 {
"browser_abbreviate_mailboxes",
DT_BOOL,
true, 0, NULL,
59 "Abbreviate mailboxes using '~' and '=' in the browser"
62 "printf-like format string for the browser's display of folders"
65 "(nntp) printf-like format string for the browser's display of newsgroups"
68 "printf-like format string for the browser's display of mailbox folders"
71 "Only display files/dirs matching this regex in the browser"
73 {
"show_only_unread",
DT_BOOL,
false, 0, NULL,
74 "(nntp) Only show subscribed newsgroups with unread articles"
77 "Sort method for the browser"
79 {
"browser_sort_dirs_first",
DT_BOOL,
false, 0, NULL,
80 "Group directories before files in the browser"
static struct ConfigDef BrowserVars[]
Config definitions for the browser.
static const struct Mapping SortBrowserMethods[]
Sort methods for the folder/dir browser.
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
bool config_init_browser(struct ConfigSet *cs)
Register browser config variables - Implements module_init_config_t -.
Convenience wrapper for the library headers.
#define DT_REGEX_ALLOW_NOT
Regex can begin with '!'.
#define DT_REGEX_MATCH_CASE
Case-sensitive matching.
#define DT_REGEX_NOSUB
Do not report what was matched (REG_NOSUB)
#define DT_SORT_REVERSE
Sort flag for -reverse prefix.
@ SORT_SUBJECT
Sort by the email's subject.
@ SORT_ORDER
Sort by the order the messages appear in the mailbox.
@ SORT_SIZE
Sort by the size of the email.
@ SORT_DESC
Sort by the folder's description.
@ SORT_ALPHA
Required by makedoc.c.
@ SORT_DATE
Sort by the date the email was sent.
@ SORT_COUNT
Sort by number of emails in a folder.
@ SORT_UNREAD
Sort by the number of unread emails.
Container for lots of config items.
Mapping between user-readable string and a constant.
#define DT_SORT
sorting methods
#define DT_BOOL
boolean option
#define DT_NOT_EMPTY
Empty strings are not allowed.
#define DT_STRING
a string
#define R_INDEX
Redraw the index menu (MENU_INDEX)
#define DT_NO_FLAGS
No flags are set.
#define DT_REGEX
regular expressions