/* $Id: innconf.h 7751 2008-04-06 14:35:40Z iulius $ ** ** inn.conf parser interface. ** ** The interface to reading inn.conf configuration files and managing the ** resulting innconf struct. */ #ifndef INN_INNCONF_H #define INN_INNCONF_H 1 #include #include /* ** This structure is organized in the same order as the variables contained ** in it are mentioned in the inn.conf documentation, and broken down into ** the same sections. Note that due to the implementation, only three types ** of variables are permissible here: char *, bool, and long. */ struct innconf { /* General Settings */ char *domain; /* Default domain of local host */ char *innflags; /* Flags to pass to innd on startup */ char *mailcmd; /* Command to send report/control type mail */ char *mta; /* MTA for mailing to moderators, innmail */ char *pathhost; /* Entry for the Path line */ char *server; /* Default server to connect to */ /* Feed Configuration */ long artcutoff; /* Max accepted article age */ char *bindaddress; /* Which interface IP to bind to */ char *bindaddress6; /* Which interface IPv6 to bind to */ bool dontrejectfiltered; /* Don't reject filtered article? */ long hiscachesize; /* Size of the history cache in kB */ bool ignorenewsgroups; /* Propagate cmsgs by affected group? */ bool immediatecancel; /* Immediately cancel timecaf messages? */ long linecountfuzz; /* Check linecount and reject if off by more */ long maxartsize; /* Reject articles bigger than this */ long maxconnections; /* Max number of incoming NNTP connections */ char *pathalias; /* Prepended Host for the Path line */ char *pathcluster; /* Appended Host for the Path line */ bool pgpverify; /* Verify control messages with pgpverify? */ long port; /* Which port innd should listen on */ bool refusecybercancels; /* Reject message IDs with "