NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libnntp. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.h"
#include "conn/lib.h"
#include "expando/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

bool config_init_nntp (struct ConfigSet *cs)
 Register nntp config variables - Implements module_init_config_t -.
 

Variables

const struct ExpandoDefinition NntpFormatDef []
 Expando definitions.
 
static struct ConfigDef NntpVars []
 Config definitions for the NNTP library.
 

Detailed Description

Config used by libnntp.

Authors
  • Richard Russon
  • наб

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ NntpFormatDef

const struct ExpandoDefinition NntpFormatDef[]
Initial value:
= {
{ "a", "account", ED_NNTP, ED_NTP_ACCOUNT, E_TYPE_STRING, NULL },
{ "p", "port", ED_NNTP, ED_NTP_PORT, E_TYPE_NUMBER, NULL },
{ "P", "port-if", ED_NNTP, ED_NTP_PORT_IF, E_TYPE_NUMBER, NULL },
{ "s", "server", ED_NNTP, ED_NTP_SERVER, E_TYPE_STRING, NULL },
{ "S", "schema", ED_NNTP, ED_NTP_SCHEMA, E_TYPE_STRING, NULL },
{ "u", "username", ED_NNTP, ED_NTP_USERNAME, E_TYPE_STRING, NULL },
{ NULL, NULL, 0, -1, -1, NULL }
}
@ ED_NTP_SCHEMA
ConnAccount.account.
Definition: connaccount.h:85
@ ED_NTP_USERNAME
ConnAccount.user.
Definition: connaccount.h:87
@ ED_NTP_PORT_IF
ConnAccount.port.
Definition: connaccount.h:84
@ ED_NTP_SERVER
ConnAccount.account.
Definition: connaccount.h:86
@ ED_NTP_ACCOUNT
ConnAccount.account.
Definition: connaccount.h:82
@ ED_NTP_PORT
ConnAccount.port.
Definition: connaccount.h:83
@ E_TYPE_STRING
Data is a string.
Definition: definition.h:37
@ E_TYPE_NUMBER
Data is numeric.
Definition: definition.h:38
@ ED_NNTP
Nntp ED_NTP_ ExpandoDataNntp.
Definition: domain.h:49

Expando definitions.

Config:

  • $inews
  • $newsrc

Definition at line 44 of file config.c.

◆ NntpVars

struct ConfigDef NntpVars[]
static

Config definitions for the NNTP library.

Definition at line 59 of file config.c.