1 /* $Id: paths.h.in 4844 2001-06-30 03:54:06Z rra $ -*- c -*-
4 ** Here be #define's for filenames, socket names, environment variables,
9 ** PATHS TO FILES AND SOCKETS
11 ** Default prefixes can be overridden by defining the constant to a full
12 ** path. That magic is handled by concatpath. At some point all of these
13 ** defines will change to start with INN_PATH_ instead of _PATH_ because
14 ** identifiers beginning with an underscore and an uppercase letter are
15 ** reserved by the C standard. New ones should use INN_PATH_ for this
16 ** reason, to save eventual work.
19 /* Default prefix path is pathbin. */
20 #define _PATH_NNRPD "nnrpd"
21 #define _PATH_NNTPD "nnrpd"
22 #define _PATH_AUTHDIR "auth"
23 #define _PATH_AUTHDIR_GENERIC "generic"
24 #define _PATH_AUTHDIR_NOPASS "resolv"
25 #define _PATH_AUTHDIR_PASSWD "passwd"
26 #define _PATH_CTLINND "ctlinnd"
27 #define _PATH_RNEWSPROGS "rnews.libexec"
29 /* Default prefix path is pathfilter. */
30 #define _PATH_TCL_STARTUP "startup.tcl"
31 #define _PATH_TCL_FILTER "filter.tcl"
32 #define _PATH_PERL_STARTUP_INND "startup_innd.pl"
33 #define _PATH_PERL_FILTER_INND "filter_innd.pl"
34 #define _PATH_PERL_FILTER_NNRPD "filter_nnrpd.pl"
35 #define _PATH_PERL_AUTH "nnrpd_auth.pl"
36 #define _PATH_PYTHON_STARTUP "filter_innd.py"
37 #define _PATH_PYTHON_STARTUP_M "filter_innd"
38 #define _PATH_PYTHON_AUTH_M "nnrpd_auth"
40 /* Default prefix path is pathrun. */
41 #define _PATH_NNTPCONNECT "nntpin"
42 #define _PATH_NEWSCONTROL "control"
43 #define _PATH_TEMPSOCK "ctlinndXXXXXX"
44 #define _PATH_SERVERPID "innd.pid"
46 /* Default prefix path is pathdb. */
47 #define _PATH_HISTORY "history"
48 #define _PATH_ACTIVE "active"
49 #define _PATH_NEWACTIVE "active.tmp"
50 #define _PATH_OLDACTIVE "active.old"
51 #define _PATH_ACTIVETIMES "active.times"
52 #define _PATH_NEWSGROUPS "newsgroups"
54 /* Default prefix path is pathetc. */
55 #define _PATH_NEWSFEEDS "newsfeeds"
56 #define _PATH_INNDHOSTS "incoming.conf"
57 #define _PATH_DISTPATS "distrib.pats"
58 #define _PATH_NNRPDIST "distributions"
59 #define _PATH_NNRPSUBS "subscriptions"
60 #define _PATH_CONFIG "@ETCDIR@/inn.conf"
61 #define _PATH_CLIENTACTIVE "active"
62 #define _PATH_MODERATORS "moderators"
63 #define _PATH_SERVER "server"
64 #define _PATH_NNTPPASS "passwd.nntp"
65 #define _PATH_NNRPACCESS "readers.conf"
66 #define _PATH_EXPIRECTL "expire.ctl"
67 #define _PATH_SCHEMA "overview.fmt"
68 #define _PATH_MOTD "motd.news"
69 #define _PATH_STORAGECTL "storage.conf"
70 #define _PATH_RADIUS_CONFIG "radius.conf"
71 #define _PATH_SASL_CONFIG "sasl.conf"
72 #define INN_PATH_FILESYSTEMS "filesystems"
74 /* Default prefix path is pathspool. */
75 #define _PATH_SPOOL "articles"
76 #define _PATH_BADNEWS "bad"
78 /* Default prefix path is pathlog. */
79 #define _PATH_LOGFILE "news"
80 #define _PATH_ERRLOG "errlog"
82 /* Paths to various programs. */
83 #define _PATH_COMPRESS "@COMPRESS@"
84 #define _PATH_GZIP "@GZIP@"
85 #define _PATH_SH "@_PATH_SH@"
86 #define _PATH_SORT "@_PATH_SORT@"
89 #define _PATH_TMP "@tmpdir@"
90 #define _PATH_RNEWS_DUP_LOG "/dev/null"
92 /* Always relative to pathtmp. */
93 #define _PATH_TEMPACTIVE "activeXXXXXX"
94 #define _PATH_TEMPMODERATORS "moderatorsXXXXXX"
97 ** ENVIRONMENT VARIABLES
100 /* The host name of the NNTP server, for client posting. */
101 #define _ENV_NNTPSERVER "NNTPSERVER"
103 /* The Organization header line, for client posting. */
104 #define _ENV_ORGANIZATION "ORGANIZATION"
106 /* What to put in the From line, for client posting. */
107 #define _ENV_FROMHOST "FROMHOST"
109 /* UUCP host, for rnews. */
110 #define _ENV_UUCPHOST "UU_MACHINE"
112 /* Interface to bind as, for sockets. */
113 #define _ENV_INNBINDADDR "INND_BIND_ADDRESS"