64 const char **parsed_until,
105 { NULL, NULL, 0, -1, NULL }
129 { NULL, NULL, 0, -1, NULL }
138 {
"browser_abbreviate_mailboxes",
DT_BOOL,
true, 0, NULL,
139 "Abbreviate mailboxes using '~' and '=' in the browser"
142 "printf-like format string for the browser's display of folders"
145 "(nntp) printf-like format string for the browser's display of newsgroups"
148 "printf-like format string for the browser's display of mailbox folders"
151 "Only display files/dirs matching this regex in the browser"
153 {
"show_only_unread",
DT_BOOL,
false, 0, NULL,
154 "(nntp) Only show subscribed newsgroups with unread articles"
157 "Sort method for the browser"
159 {
"browser_sort_dirs_first",
DT_BOOL,
false, 0, NULL,
160 "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.
static const struct ExpandoDefinition GroupIndexFormatDef[]
Expando definitions.
static const struct ExpandoDefinition FolderFormatDef[]
Expando definitions.
@ ED_FOL_POLL
FolderFile.poll_new_mail.
@ ED_FOL_NOTIFY
FolderFile.notify_user.
@ ED_FOL_NEW_COUNT
FolderFile.nd (NntpMboxData)
@ ED_FOL_FILE_OWNER
FolderFile.uid.
@ ED_FOL_FILE_GROUP
FolderFile.gid.
@ ED_FOL_FILENAME
FolderFile.name.
@ ED_FOL_DATE_FORMAT
FolderFile.mtime.
@ ED_FOL_UNREAD_COUNT
FolderFile.msg_unread.
@ ED_FOL_FLAGS2
FolderFile.nd (NntpMboxData)
@ ED_FOL_FILE_MODE
FolderFile.move.
@ ED_FOL_NEW_MAIL
FolderFile.has_new_mail.
@ ED_FOL_FILE_SIZE
FolderFile.size.
@ ED_FOL_HARD_LINKS
FolderFile.nlink.
@ ED_FOL_DATE
FolderFile.mtime.
@ ED_FOL_STRF
FolderFile.mtime.
@ ED_FOL_TAGGED
FolderFile.tagged.
@ ED_FOL_NUMBER
Folder.num.
@ ED_FOL_DESCRIPTION
FolderFile.desc, FolderFile.name.
@ ED_FOL_MESSAGE_COUNT
FolderFile.msg_count.
@ ED_FOL_NEWSGROUP
FolderFile.name.
@ ED_FOL_FLAGS
FolderFile.nd (NntpMboxData)
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
uint8_t ExpandoParserFlags
Flags for expando_parse(), e.g. EP_CONDITIONAL.
#define EP_CONDITIONAL
Expando is being used as a condition.
@ ED_FOLDER
Folder ED_FOL_ ExpandoDataFolder.
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
bool config_init_browser(struct ConfigSet *cs)
Register browser config variables - Implements module_init_config_t -.
struct ExpandoNode * node_padding_parse(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Padding Expando - Implements ExpandoDefinition::parse() -.
struct ExpandoNode * parse_folder_date(const char *str, struct ExpandoFormat *fmt, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Date Expando - Implements ExpandoDefinition::parse() -.
Convenience wrapper for the library headers.
struct ExpandoNode * node_conddate_parse(const char *str, int did, int uid, const char **parsed_until, struct ExpandoParseError *err)
Parse a CondDate format string.
struct ExpandoNode * node_expando_parse_enclosure(const char *str, int did, int uid, char terminator, struct ExpandoFormat *fmt, const char **parsed_until, struct ExpandoParseError *err)
Parse an enclosed Expando.
@ 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.
Definition of a format string.
int uid
Unique ID, e.g. ED_EMA_SIZE.
int did
Domain ID, e.g. ED_EMAIL.
Buffer for parsing errors.
Mapping between user-readable string and a constant.
#define D_REGEX_ALLOW_NOT
Regex can begin with '!'.
#define D_REGEX_MATCH_CASE
Case-sensitive matching.
@ DT_REGEX
regular expressions
#define D_SORT_REVERSE
Sort flag for -reverse prefix.
#define D_NOT_EMPTY
Empty strings are not allowed.
#define D_REGEX_NOSUB
Do not report what was matched (REG_NOSUB)
@ ED_GLO_PADDING_EOL
Padding to end-of-line.
@ ED_GLO_PADDING_HARD
Hard Padding.
@ ED_GLO_PADDING_SOFT
Soft Padding.
@ ED_GLO_PADDING_SPACE
Space Padding.