src/nnconf.c

/* [<][>][^][v][top]
[bottom][index][help] */

DEFINITIONS

This source file includes following functions.

/*
 * do not edit this file, as it was automatically generated by the `confused' program!
 * instead edit the source file '../cf/nnconf.cf' then re-create this file using `confused'.
 */

#include "nnconf.h"

struct nnconf nnconf =
{
        "/usr/local/etc/nntpcache",
        "nntpcache.config",
        "nntpcache.servers",
        "nntpcache.access",
        "/usr/local/var/nntpcache",
        "usenet@suburbia.net",
        18,
        0,
        10,
        2,
        4,
        15,
        15,
        "/usr/local/nntpcache_root",
        0,
        NULL,
        NULL,
        3000,
        NULL,
        1,
        2,
        200,
        ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_-+=':",
        1,
        0,
        0,
        0,
        1,
        1,
        0,
        8192,
        180,
        NULL,
        0,
        ".",
        "spam|spew|MMF",
        "hide",
        0,
        "-----BEGIN PGP SIGNED MESSAGE-----",
        "-----END PGP SIGNATURE-----",
        "pgp -f +batchmode >/dev/null 2>%s",
        "^Good signature",
        "/usr/local/etc/nntpcache",
        0,
        "news",
        "news",
        "Ye 'Ol Disorganized NNTPCache groupie",
        0,
        "^X-foo:",
        "DEFAULT:119",
        33554432,
        1,
        1,
        30,
        30,
        62914560,
        41943040,
        1209600,
        300,
        604800,
        0,
        300,
        0,
        0,
        1,
        1,
        0,
        0,
        1,
        1,
        1,
        0,
        1,
        1,
        1,
        1,
        1,
        1,
        "DEFAULT:9119",
        "/usr/local/etc/nntpcache/http",
        600,
        86400,
        600,
        300,
        1500,
        600,
        300,
        8192,
        20,
        "none",
        "passwd",
        "your.ldap.server.here",
        389,
        "dc=yourdomain, dc=com",
        "your.radius.server.here",
        "this is a sekret",
        1645,
        5,
        1,
        "/etc/radius.conf",
        "/usr/local/libexec/unixauth",
        20,
        "nntpcache",
        "nntpcache.stats",
        "cache.history",
        "nntpcache.pid",
        "overview.fmt",
        "cache.mmap",
        "cache.base"
};

struct confused_idx nnconf_idx[] =
{
        {"configDir", cf_string, (void *)&nnconf.configDir},
        {"configFile", cf_string, (void *)&nnconf.configFile},
        {"serversFile", cf_string, (void *)&nnconf.serversFile},
        {"accessFile", cf_string, (void *)&nnconf.accessFile},
        {"cacheDir", cf_string, (void *)&nnconf.cacheDir},
        {"adminEmail", cf_string, (void *)&nnconf.adminEmail},
        {"umask", cf_int, (void *)&nnconf.umask},
        {"niceMaster", cf_int, (void *)&nnconf.niceMaster},
        {"niceClient", cf_int, (void *)&nnconf.niceClient},
        {"niceHTTP", cf_int, (void *)&nnconf.niceHTTP},
        {"niceUpdate", cf_int, (void *)&nnconf.niceUpdate},
        {"niceNoCem", cf_int, (void *)&nnconf.niceNoCem},
        {"niceExpire", cf_int, (void *)&nnconf.niceExpire},
        {"chrootDir", cf_string, (void *)&nnconf.chrootDir},
        {"chroot", cf_bool, (void *)&nnconf.chroot},
        {"overviewFmtInternal", cf_stringl, (void *)&nnconf.overviewFmtInternal},
        {"overviewFmtBozo", cf_stringl, (void *)&nnconf.overviewFmtBozo},
        {"minActive", cf_int, (void *)&nnconf.minActive},
        {"ihaveServers", cf_stringl, (void *)&nnconf.ihaveServers},
        {"ihaveSpeedHandshake", cf_bool, (void *)&nnconf.ihaveSpeedHandshake},
        {"maxMsgIDsearch", cf_int, (void *)&nnconf.maxMsgIDsearch},
        {"maxReaders", cf_int, (void *)&nnconf.maxReaders},
        {"safeGroup", cf_string, (void *)&nnconf.safeGroup},
        {"groupSecurity", cf_bool, (void *)&nnconf.groupSecurity},
        {"listSecurity", cf_bool, (void *)&nnconf.listSecurity},
        {"listPermitLonelyness", cf_bool, (void *)&nnconf.listPermitLonelyness},
        {"listActiveThreshold", cf_int, (void *)&nnconf.listActiveThreshold},
        {"contentFilters", cf_bool, (void *)&nnconf.contentFilters},
        {"xoverFilters", cf_bool, (void *)&nnconf.xoverFilters},
        {"nocem", cf_bool, (void *)&nnconf.nocem},
        {"nocemInitialScan", cf_int, (void *)&nnconf.nocemInitialScan},
        {"nocemInterval", cf_time, (void *)&nnconf.nocemInterval},
        {"nocemGroups", cf_stringl, (void *)&nnconf.nocemGroups},
        {"nocemCache", cf_bool, (void *)&nnconf.nocemCache},
        {"nocemFrom", cf_string, (void *)&nnconf.nocemFrom},
        {"nocemType", cf_string, (void *)&nnconf.nocemType},
        {"nocemAction", cf_string, (void *)&nnconf.nocemAction},
        {"nocemPGP", cf_bool, (void *)&nnconf.nocemPGP},
        {"nocemPGPbegin", cf_string, (void *)&nnconf.nocemPGPbegin},
        {"nocemPGPend", cf_string, (void *)&nnconf.nocemPGPend},
        {"nocemPGPcommand", cf_string, (void *)&nnconf.nocemPGPcommand},
        {"nocemPGPgood", cf_string, (void *)&nnconf.nocemPGPgood},
        {"nocemPGPPATH", cf_string, (void *)&nnconf.nocemPGPPATH},
        {"relayUnknowns", cf_bool, (void *)&nnconf.relayUnknowns},
        {"user", cf_string, (void *)&nnconf.user},
        {"group", cf_string, (void *)&nnconf.group},
        {"Organization", cf_string, (void *)&nnconf.Organization},
        {"replaceOrganization", cf_bool, (void *)&nnconf.replaceOrganization},
        {"postStripHeader", cf_string, (void *)&nnconf.postStripHeader},
        {"bindAddr", cf_string, (void *)&nnconf.bindAddr},
        {"maxMmap", cf_int, (void *)&nnconf.maxMmap},
        {"anonMmap", cf_bool, (void *)&nnconf.anonMmap},
        {"refreshMmap", cf_bool, (void *)&nnconf.refreshMmap},
        {"minFilesFreePercent", cf_int, (void *)&nnconf.minFilesFreePercent},
        {"minBlocksFreePercent", cf_int, (void *)&nnconf.minBlocksFreePercent},
        {"hisHighWater", cf_int, (void *)&nnconf.hisHighWater},
        {"hisLowWater", cf_int, (void *)&nnconf.hisLowWater},
        {"maxArtAge", cf_time, (void *)&nnconf.maxArtAge},
        {"expireCheckPeriod", cf_time, (void *)&nnconf.expireCheckPeriod},
        {"overviewFmtTimeout", cf_time, (void *)&nnconf.overviewFmtTimeout},
        {"rfc931", cf_bool, (void *)&nnconf.rfc931},
        {"rfc931Timeout", cf_time, (void *)&nnconf.rfc931Timeout},
        {"useLibWrap", cf_bool, (void *)&nnconf.useLibWrap},
        {"taskInfoPrivacy", cf_bool, (void *)&nnconf.taskInfoPrivacy},
        {"logInn", cf_bool, (void *)&nnconf.logInn},
        {"logFromClient", cf_bool, (void *)&nnconf.logFromClient},
        {"logToClient", cf_bool, (void *)&nnconf.logToClient},
        {"logFromServer", cf_bool, (void *)&nnconf.logFromServer},
        {"logToServer", cf_bool, (void *)&nnconf.logToServer},
        {"logListMerge", cf_bool, (void *)&nnconf.logListMerge},
        {"logListMergeCorrelation", cf_bool, (void *)&nnconf.logListMergeCorrelation},
        {"logNocem", cf_bool, (void *)&nnconf.logNocem},
        {"logDebug", cf_bool, (void *)&nnconf.logDebug},
        {"logInfo", cf_bool, (void *)&nnconf.logInfo},
        {"logWarnings", cf_bool, (void *)&nnconf.logWarnings},
        {"logErrors", cf_bool, (void *)&nnconf.logErrors},
        {"statistics", cf_bool, (void *)&nnconf.statistics},
        {"httpServer", cf_bool, (void *)&nnconf.httpServer},
        {"httpBindAddr", cf_string, (void *)&nnconf.httpBindAddr},
        {"httpFiles", cf_string, (void *)&nnconf.httpFiles},
        {"minUpdateDelay", cf_time, (void *)&nnconf.minUpdateDelay},
        {"minUpdateRefusedDelay", cf_time, (void *)&nnconf.minUpdateRefusedDelay},
        {"minUpdateFailDelay", cf_time, (void *)&nnconf.minUpdateFailDelay},
        {"networkTimeout", cf_time, (void *)&nnconf.networkTimeout},
        {"idleTimeout", cf_time, (void *)&nnconf.idleTimeout},
        {"remoteIdleTimeout", cf_time, (void *)&nnconf.remoteIdleTimeout},
        {"serverDownRecheck", cf_time, (void *)&nnconf.serverDownRecheck},
        {"outputBufferSize", cf_int, (void *)&nnconf.outputBufferSize},
        {"maxXoverNodes", cf_int, (void *)&nnconf.maxXoverNodes},
        {"authinfoDefaultType", cf_string, (void *)&nnconf.authinfoDefaultType},
        {"authinfoDefaultSource", cf_string, (void *)&nnconf.authinfoDefaultSource},
        {"ldapServer", cf_string, (void *)&nnconf.ldapServer},
        {"ldapPort", cf_int, (void *)&nnconf.ldapPort},
        {"ldapBase", cf_string, (void *)&nnconf.ldapBase},
        {"radiusAuthServer", cf_string, (void *)&nnconf.radiusAuthServer},
        {"radiusAuthSecret", cf_string, (void *)&nnconf.radiusAuthSecret},
        {"radiusAuthPort", cf_int, (void *)&nnconf.radiusAuthPort},
        {"radiusAuthTimeout", cf_int, (void *)&nnconf.radiusAuthTimeout},
        {"radiusAuthRetries", cf_int, (void *)&nnconf.radiusAuthRetries},
        {"radiusConfig", cf_string, (void *)&nnconf.radiusConfig},
        {"pipeProgram", cf_string, (void *)&nnconf.pipeProgram},
        {"pipeTimeout", cf_int, (void *)&nnconf.pipeTimeout},
        {"pamModuleName", cf_string, (void *)&nnconf.pamModuleName},
        {"statsFile", cf_string, (void *)&nnconf.statsFile},
        {"historyFile", cf_string, (void *)&nnconf.historyFile},
        {"pidFile", cf_string, (void *)&nnconf.pidFile},
        {"overviewFmtFile", cf_string, (void *)&nnconf.overviewFmtFile},
        {"mmapFile", cf_string, (void *)&nnconf.mmapFile},
        {"mmapBaseFile", cf_string, (void *)&nnconf.mmapBaseFile},
        {NULL, cf_none, NULL}
};

/* [<][>][^][v][top][bottom][index][help] */