52 { NULL, NULL, 0, -1, NULL }
62 "(nntp) Mark all articles as read when leaving a newsgroup"
65 "(nntp) Reply to the poster if 'poster' is in the 'Followup-To' header"
68 "(nntp) Character set of newsgroups' descriptions"
71 "(nntp) File containing list of subscribed newsgroups"
74 "(nntp) Directory for cached news articles"
77 "(nntp) Url of the news server"
79 {
"nntp_authenticators",
DT_STRING, 0, 0, NULL,
80 "(nntp) Allowed authentication methods"
83 "(nntp) Maximum number of articles to list (0 for all articles)"
85 {
"nntp_listgroup",
DT_BOOL,
true, 0, NULL,
86 "(nntp) Check all articles when opening a newsgroup"
88 {
"nntp_load_description",
DT_BOOL,
true, 0, NULL,
89 "(nntp) Load descriptions for newsgroups when adding to the list"
92 "(nntp) Password for the news server"
95 "(nntp) Interval between checks for new posts"
98 "(nntp) Username for the news server"
101 "(nntp) Allow posting to moderated newsgroups"
103 {
"save_unsubscribed",
DT_BOOL,
false, 0, NULL,
104 "(nntp) Save a list of unsubscribed newsgroups to the 'newsrc'"
106 {
"show_new_news",
DT_BOOL,
true, 0, NULL,
107 "(nntp) Check for new newsgroups when entering the browser"
109 {
"x_comment_to",
DT_BOOL,
false, 0, NULL,
110 "(nntp) Add 'X-Comment-To' header that contains article author"
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
@ ED_NTP_SCHEMA
ConnAccount.account.
@ ED_NTP_USERNAME
ConnAccount.user.
@ ED_NTP_PORT_IF
ConnAccount.port.
@ ED_NTP_SERVER
ConnAccount.account.
@ ED_NTP_ACCOUNT
ConnAccount.account.
@ ED_NTP_PORT
ConnAccount.port.
@ ED_NNTP
Nntp ED_NTP_ ExpandoDataNntp.
int charset_validator(const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "charset" config variables - Implements ConfigDef::validator() -.
bool config_init_nntp(struct ConfigSet *cs)
Register nntp config variables - Implements module_init_config_t -.
const struct ExpandoDefinition NntpFormatDef[]
Expando definitions.
static struct ConfigDef NntpVars[]
Config definitions for the NNTP library.
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
Container for lots of config items.
Definition of a format string.
#define D_PATH_DIR
Path is a directory.
#define D_PATH_FILE
Path is a file.
@ DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
@ DT_PATH
a path to a file/directory
#define D_SENSITIVE
Contains sensitive value, e.g. password.
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.