Config definitions for the NNTP library.
59 {
60
62 "(nntp) Mark all articles as read when leaving a newsgroup"
63 },
65 "(nntp) Reply to the poster if 'poster' is in the 'Followup-To' header"
66 },
68 "(nntp) Character set of newsgroups' descriptions"
69 },
71 "(nntp) File containing list of subscribed newsgroups"
72 },
74 "(nntp) Directory for cached news articles"
75 },
77 "(nntp) Url of the news server"
78 },
79 {
"nntp_authenticators",
DT_STRING, 0, 0, NULL,
80 "(nntp) Allowed authentication methods"
81 },
83 "(nntp) Maximum number of articles to list (0 for all articles)"
84 },
85 {
"nntp_listgroup",
DT_BOOL,
true, 0, NULL,
86 "(nntp) Check all articles when opening a newsgroup"
87 },
88 {
"nntp_load_description",
DT_BOOL,
true, 0, NULL,
89 "(nntp) Load descriptions for newsgroups when adding to the list"
90 },
92 "(nntp) Password for the news server"
93 },
95 "(nntp) Interval between checks for new posts"
96 },
98 "(nntp) Username for the news server"
99 },
101 "(nntp) Allow posting to moderated newsgroups"
102 },
103 {
"save_unsubscribed",
DT_BOOL,
false, 0, NULL,
104 "(nntp) Save a list of unsubscribed newsgroups to the 'newsrc'"
105 },
106 {
"show_new_news",
DT_BOOL,
true, 0, NULL,
107 "(nntp) Check for new newsgroups when entering the browser"
108 },
109 {
"x_comment_to",
DT_BOOL,
false, 0, NULL,
110 "(nntp) Add 'X-Comment-To' header that contains article author"
111 },
112 { NULL },
113
114};
int charset_validator(const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "charset" config variables - Implements ConfigDef::validator() -.
const struct ExpandoDefinition NntpFormatDef[]
Expando definitions.
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
#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.