/*  $Id: paths.h.in 4844 2001-06-30 03:54:06Z rra $ -*- c -*-
**  Generated automatically from paths.h.in by configure.
**
**  Here be #define's for filenames, socket names, environment variables,
**  and so on.
*/

/*
**  PATHS TO FILES AND SOCKETS
**
**  Default prefixes can be overridden by defining the constant to a full
**  path.  That magic is handled by concatpath.  At some point all of these
**  defines will change to start with INN_PATH_ instead of _PATH_ because
**  identifiers beginning with an underscore and an uppercase letter are
**  reserved by the C standard.  New ones should use INN_PATH_ for this
**  reason, to save eventual work.
*/

/* Default prefix path is pathbin. */
#define _PATH_NNRPD		"nnrpd"
#define _PATH_NNTPD		"nnrpd"
#define _PATH_AUTHDIR		"auth"
#define _PATH_AUTHDIR_GENERIC	"generic"
#define _PATH_AUTHDIR_NOPASS	"resolv"
#define _PATH_AUTHDIR_PASSWD	"passwd"
#define _PATH_CTLINND		"ctlinnd"
#define _PATH_RNEWSPROGS	"rnews.libexec"

/* Default prefix path is pathfilter. */
#define _PATH_TCL_STARTUP	"startup.tcl"
#define _PATH_TCL_FILTER	"filter.tcl"
#define _PATH_PERL_STARTUP_INND	"startup_innd.pl"
#define _PATH_PERL_FILTER_INND	"filter_innd.pl"
#define _PATH_PERL_FILTER_NNRPD	"filter_nnrpd.pl"
#define _PATH_PERL_AUTH		"nnrpd_auth.pl"
#define _PATH_PYTHON_STARTUP	"filter_innd.py"
#define _PATH_PYTHON_STARTUP_M  "filter_innd"
#define _PATH_PYTHON_AUTH_M	"nnrpd_auth"

/* Default prefix path is pathrun. */
#define _PATH_NNTPCONNECT	"nntpin"
#define _PATH_NEWSCONTROL	"control"
#define _PATH_TEMPSOCK		"ctlinndXXXXXX"
#define _PATH_SERVERPID		"innd.pid"

/* Default prefix path is pathdb. */
#define _PATH_HISTORY		"history"
#define _PATH_ACTIVE		"active"
#define _PATH_NEWACTIVE		"active.tmp"
#define _PATH_OLDACTIVE		"active.old"
#define _PATH_ACTIVETIMES	"active.times"
#define _PATH_NEWSGROUPS	"newsgroups"

/* Default prefix path is pathetc. */
#define _PATH_NEWSFEEDS		"newsfeeds"
#define _PATH_INNDHOSTS		"incoming.conf"
#define _PATH_DISTPATS		"distrib.pats"
#define _PATH_NNRPDIST		"distributions"
#define _PATH_NNRPSUBS		"subscriptions"
#define _PATH_CONFIG		"/etc/news/inn.conf"
#define _PATH_CLIENTACTIVE	"active"
#define _PATH_MODERATORS	"moderators"
#define _PATH_SERVER		"server"
#define _PATH_NNTPPASS		"passwd.nntp"
#define _PATH_NNRPACCESS	"readers.conf"
#define _PATH_EXPIRECTL		"expire.ctl"
#define _PATH_SCHEMA		"overview.fmt"
#define _PATH_MOTD		"motd.news"
#define _PATH_STORAGECTL	"storage.conf"
#define _PATH_RADIUS_CONFIG	"radius.conf"
#define _PATH_SASL_CONFIG	"sasl.conf"
#define INN_PATH_FILESYSTEMS    "filesystems"

/* Default prefix path is pathspool. */
#define _PATH_SPOOL		"articles"
#define _PATH_BADNEWS		"bad"

/* Default prefix path is pathlog. */
#define _PATH_LOGFILE		"news"
#define _PATH_ERRLOG		"errlog"

/* Paths to various programs. */
#define _PATH_COMPRESS		"/usr/bin/compress"
#define _PATH_GZIP		"/usr/bin/gzip"
#define _PATH_SH		"/bin/sh"
#define _PATH_SORT              "/usr/bin/sort"

/* Absolute paths. */
#define _PATH_TMP		"/usr/lib/news/tmp"
#define _PATH_RNEWS_DUP_LOG	"/dev/null"

/* Always relative to pathtmp. */
#define _PATH_TEMPACTIVE	"activeXXXXXX"
#define _PATH_TEMPMODERATORS	"moderatorsXXXXXX"

/*
**  ENVIRONMENT VARIABLES
*/

/* The host name of the NNTP server, for client posting. */
#define _ENV_NNTPSERVER		"NNTPSERVER"

/* The Organization header line, for client posting. */
#define _ENV_ORGANIZATION	"ORGANIZATION"

/* What to put in the From line, for client posting. */
#define _ENV_FROMHOST		"FROMHOST"

/* UUCP host, for rnews. */
#define _ENV_UUCPHOST           "UU_MACHINE"

/* Interface to bind as, for sockets. */
#define _ENV_INNBINDADDR	"INND_BIND_ADDRESS"
