61 "(nntp) Mark all articles as read when leaving a newsgroup" 64 "(nntp) Reply to the poster if 'poster' is in the 'Followup-To' header" 67 "(nntp) printf-like format string for the browser's display of newsgroups" 70 "(nntp) Character set of newsgroups' descriptions" 73 "(nntp) File containing list of subscribed newsgroups" 76 "(nntp) Directory for cached news articles" 79 "(nntp) Url of the news server" 82 "(nntp) Allowed authentication methods" 85 "(nntp) Maximum number of articles to list (0 for all articles)" 88 "(nntp) Check all articles when opening a newsgroup" 91 "(nntp) Load descriptions for newsgroups when adding to the list" 94 "(nntp) Password for the news server" 97 "(nntp) Interval between checks for new posts" 100 "(nntp) Username for the news server" 103 "(nntp) Allow posting to moderated newsgroups" 106 "(nntp) Save a list of unsubscribed newsgroups to the 'newsrc'" 109 "(nntp) Check for new newsgroups when entering the browser" 112 "(nntp) Only show subscribed newsgroups with unread articles" 115 "(nntp) Add 'X-Comment-To' header that contains article author" 117 { NULL, 0, NULL, 0, 0, NULL, NULL },
#define R_PAGER
Redraw the pager menu.
Container for lots 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()
#define DT_NOT_EMPTY
Empty strings are not allowed.
bool C_SaveUnsubscribed
Config: (nntp) Save a list of unsubscribed newsgroups to the 'newsrc'.
char * C_GroupIndexFormat
Config: (nntp) printf-like format string for the browser's display of newsgroups. ...
char * C_NntpUser
Config: (nntp) Username for the news server.
char * C_NntpAuthenticators
Config: (nntp) Allowed authentication methods.
short C_NntpContext
Config: (nntp) Maximum number of articles to list (0 for all articles)
char * C_Newsrc
Config: (nntp) File containing list of subscribed newsgroups.
char * C_NntpPass
Config: (nntp) Password for the news server.
#define DT_NOT_NEGATIVE
Negative numbers are not allowed.
char * C_NewsServer
Config: (nntp) Url of the news server.
bool config_init_nntp(struct ConfigSet *cs)
Register nntp config variables - Implements module_init_config_t.
#define DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
#define DT_SENSITIVE
Contains sensitive value, e.g. password.
Convenience wrapper for the config headers.
#define DT_PATH_DIR
Path is a directory.
bool C_ShowOnlyUnread
Config: (nntp) Only show subscribed newsgroups with unread articles.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
unsigned char C_CatchupNewsgroup
Config: (nntp) Mark all articles as read when leaving a newsgroup.
#define DT_PATH_FILE
Path is a file.
#define DT_STRING
a string
bool C_ShowNewNews
Config: (nntp) Check for new newsgroups when entering the browser.
#define DT_PATH
a path to a file/directory
short C_NntpPoll
Config: (nntp) Interval between checks for new posts.
char * C_NewsCacheDir
Config: (nntp) Directory for cached news articles.
Ask the user, defaulting to 'Yes'.
char * C_NewsgroupsCharset
Config: (nntp) Character set of newsgroups' descriptions.
bool C_XCommentTo
Config: (nntp) Add 'X-Comment-To' header that contains article author.
Usenet network mailbox type; talk to an NNTP server.
bool C_NntpListgroup
Config: (nntp) Check all articles when opening a newsgroup.
bool C_NntpLoadDescription
Config: (nntp) Load descriptions for newsgroups when adding to the list.
#define DT_NUMBER
a number
#define DT_BOOL
boolean option
unsigned char C_FollowupToPoster
Config: (nntp) Reply to the poster if 'poster' is in the 'Followup-To' header.
unsigned char C_PostModerated
Config: (nntp) Allow posting to moderated newsgroups.
#define R_INDEX
Redraw the index menu (MENU_MAIN)