40 "(nntp) Mark all articles as read when leaving a newsgroup"
43 "(nntp) Reply to the poster if 'poster' is in the 'Followup-To' header"
46 "(nntp) Character set of newsgroups' descriptions"
49 "(nntp) File containing list of subscribed newsgroups"
52 "(nntp) Directory for cached news articles"
55 "(nntp) Url of the news server"
57 {
"nntp_authenticators",
DT_STRING, 0, 0, NULL,
58 "(nntp) Allowed authentication methods"
61 "(nntp) Maximum number of articles to list (0 for all articles)"
63 {
"nntp_listgroup",
DT_BOOL,
true, 0, NULL,
64 "(nntp) Check all articles when opening a newsgroup"
66 {
"nntp_load_description",
DT_BOOL,
true, 0, NULL,
67 "(nntp) Load descriptions for newsgroups when adding to the list"
70 "(nntp) Password for the news server"
73 "(nntp) Interval between checks for new posts"
76 "(nntp) Username for the news server"
79 "(nntp) Allow posting to moderated newsgroups"
81 {
"save_unsubscribed",
DT_BOOL,
false, 0, NULL,
82 "(nntp) Save a list of unsubscribed newsgroups to the 'newsrc'"
84 {
"show_new_news",
DT_BOOL,
true, 0, NULL,
85 "(nntp) Check for new newsgroups when entering the browser"
87 {
"x_comment_to",
DT_BOOL,
false, 0, NULL,
88 "(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[], uint32_t flags)
Register a set of config items.
int charset_validator(const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "charset" config variable - Implements ConfigDef::validator() -.
bool config_init_nntp(struct ConfigSet *cs)
Register nntp config variables - Implements module_init_config_t -.
static struct ConfigDef NntpVars[]
Config definitions for the NNTP library.
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
Container for lots of config items.
#define DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
#define DT_LONG
a number (long)
#define DT_BOOL
boolean option
#define DT_PATH_DIR
Path is a directory.
#define DT_PATH_FILE
Path is a file.
#define DT_PATH
a path to a file/directory
#define DT_STRING
a string
#define DT_NO_FLAGS
No flags are set.
#define DT_NOT_NEGATIVE
Negative numbers are not allowed.
#define DT_SENSITIVE
Contains sensitive value, e.g. password.
#define DT_NUMBER
a number