/* infiles.h.in -- template for "files.h" built by configure

   Copyright 2008 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   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/>.  */

extern void	versionprint(char **, const char *, const int);
extern void	init_mcfile(void);
extern char 	*envprocess(const char *);
extern char 	*mkspdirfile(const char *);
extern char 	*mkspid(const char *, const jobno_t);

#define	GNU_SPOOL_VERSION	@PACKAGE_VERSION@
#define	GNU_SPOOL_MAJOR_VERSION	@MAJOR_PACKAGE_VERSION@
#define	GNU_SPOOL_VERSION_STRING	"@PACKAGE_VERSION@"

#define	MASTER_CONFIG	"@sysconfdir@/gnuspool.conf"
#define	EXTERNSPOOL	"@sysconfdir@/gnuspool.ext"
#define USER_CONFIG	".gnuspool"
#define	HOSTFILE	"${HOSTFILE-@sysconfdir@/gnuspool.hosts}"
#define	CONFIGPATH	"${GS_CONFIGPATH-~:!:.:-}"
#define	HELPPATH	"${GS_HELPPATH-.:!:~}"
#define	DEFAULT_FORM	"${DEFAULT_FORM-default}"

#define	JIMMAP_FILE	"spmm_jobi"
#define	JDMMAP_FILE	"spmm_jobd"
#define	PMMAP_FILE	"spmm_ptrs"
#define	XFMMAP_FILE	"spmm_xfer"
#define	JLOCK_FILE	"spjob.lock"
#define	PLOCK_FILE	"spptr.lock"
#define	XLOCK_FILE	"spxfer.lock"

#define	PFILE		"spshed_pfile"
#define	JFILE		"spshed_jfile"
#define	REPFILE		"spshed_reps"
#define	MISC_UCONFIG	"SPRESTCONF"
#define	LPDINTCONF	"SPLPDCONF"
#define	HELPNAME	"-${SPOOLHELP-Help}"

#define	PDEVFILE	".device"

#define	SPNAM	"SP"
#define	PFNAM	"PF"
#define	ERNAM	"ER"

#define	SPUNAME		"@SPOOLUSER@"
#define	XTDEFNAME	"default"
#define	FIFO_DIR	"FIFODIR"

#define	LUMPSIZE	"${MSGTXSIZE-50}"
#define	LUMPWAIT	"${MSGTXDELAY-2}"
#define	CLOSEDELAY	"${TCPDELAY-1}"
#define	SPUFILE		"${SPOOLDIR-@spooldir@}/spufile@MAJOR_PACKAGE_VERSION@"
#define	SPDIR		"${SPOOLDIR-@spooldir@}"
#define	PTDIR		"${SPOOLPT-@spoolpt@}"
#define	IPROGDIR	"${SPROGDIR-@pkgexecdir@}"
#define	IDATADIR	"${SDATADIR-@pkgdatadir@}"
#define	SPSHED		"${SPROGDIR-@pkgexecdir@}/spshed"
#define	XTNETSERV	"${SPROGDIR-@pkgexecdir@}/xtnetserv"
#define	DAEM		"${SPROGDIR-@pkgexecdir@}/spd"
#define	DAEMINIT	"${SPROGDIR-@pkgexecdir@}/spdinit"
#define	DUMPJOB		"${SPROGDIR-@pkgexecdir@}/spjobdump"
#define	WRITER		"${SPROGDIR-@pkgexecdir@}/spwrite"
#define	DOSWRITER	"${SPROGDIR-@pkgexecdir@}/dosspwrite"
#define	CFILEDIR	"${SPHELPDIR-@sphelpdir@}/"
#define	INT_CONFIG	"${SPHELPDIR-@sphelpdir@}/int-config"
#define	XSPQ_ICON	"${SPHELPDIR-@sphelpdir@}/xspq.xpm"
#define XSPQ_MENU	"${SPHELPDIR-@sphelpdir@}/xspq.menu"
#define XSPQVIEW_MENU	"${SPHELPDIR-@sphelpdir@}/xspqview.menu"
#define XSPQSEL_MENU	"${SPHELPDIR-@sphelpdir@}/xspqsel.menu"
#define	XSPUSER_ICON	"${SPHELPDIR-@sphelpdir@}/xspuser.xpm"
#define XSPUSER_MENU	"${SPHELPDIR-@sphelpdir@}/xspuser.menu"
#define	MAILER		"${MAILER-@mailer@}"
#define	SHELL		"${SHELL-@shell@}"
#define MSGDISPATCH	"${SPROGDIR-@pkgexecdir@}/spmdisp"
#define EXECPROG	"${SPROGDIR-@pkgexecdir@}/spexec"
#define GTKSAVE		"${SPROGDIR-@pkgexecdir@}/gtksave"
#define	PTRMSGS		"SPPTRMSGS"
#define	SPPWPROG	"${SPROGDIR-@pkgexecdir@}/sppwchk"
#define	SPLPQPROG	"${SPROGDIR-@pkgexecdir@}/xtlpq"
#define	SPLPRMPROG	"${SPROGDIR-@pkgexecdir@}/xtlprm"
#define	DUMPPWFILE	"${SPOOLDIR-@spooldir@}/pwdump@MAJOR_PACKAGE_VERSION@"
#define	GSHTMLINI	"${SDATADIR-@pkgdatadir@}/gshtml.ini"
#define	HTML_UFILE	"${SDATADIR-@pkgdatadir@}/html_ufile"
#define HTML_TMPFILE	"/tmp/gscgi%ld.%d"
#define GSPWFILE	"${SDATADIR-@pkgdatadir@}/gspwfile"

#define	XTNETTRACE	"${NETTRACE-0}"
#define	XTNETTRFILE	"${NETTRFILE-@spooldir@/xtnettrace}"
