X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/8bb92a83d2402e452e6c53c9a80ceccba296132c..af4f4d6a77aceba8e2d6f58d15e894df320e7c24:/acconfig.h diff --git a/acconfig.h b/acconfig.h index d18ad29..607f3f0 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: acconfig.h,v 1.5 1997/09/08 13:41:36 mdw Exp $ + * $Id: acconfig.h,v 1.12 2004/04/08 01:36:20 mdw Exp $ * * Default settings for `become' config.h * - * (c) 1997 Mark Wooding + * (c) 1998 Mark Wooding */ /*----- Licensing notice --------------------------------------------------* @@ -26,50 +26,36 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: acconfig.h,v $ - * Revision 1.5 1997/09/08 13:41:36 mdw - * Remove redundant entry for `HAVE_LIBEFENCE'. - * - * Revision 1.4 1997/09/05 11:45:17 mdw - * Add support for different login styles, and environment variable - * manipulation in a safe and useful way. - * - * Revision 1.3 1997/08/07 09:33:05 mdw - * Added `ElectricFence' support. Other minor cosmetic things. - * - * Revision 1.2 1997/08/04 10:24:19 mdw - * Sources placed under CVS control. - * - * Revision 1.1 1997/07/21 13:47:52 mdw - * Initial revision - * - */ - #ifndef CONFIG_H #define CONFIG_H /*----- Variables set up by the configuration script ----------------------*/ @TOP@ +/* My package name. */ +#define PACKAGE "become" + /* My version number. */ #define VERSION "1.2-pre" /* The `etcdir' contains configuration and state information. */ #define ETCDIR "/etc/become" -/* Define to be the size of an int. */ -#define SIZEOF_INT 4 +/* The `pidfile' is where Become puts its process id if it runs as a + * daemon. */ +#define file_PID "/etc/become/become.pid" -/* Default login style can be @l_preserve@, @l_user@ or @l_login@ */ +/* Default login style can be `l_preserve', `l_setuser' or `l_login'. */ #define DEFAULT_LOGIN_STYLE l_preserve /* This is replaced by `/' by `configure' -- leave alone for DOSness. */ #define PATHSEP '\\' +/* Define to turn off networking support. */ +#undef NONETWORK + /* Debugging options. */ -#undef TRACING +#undef NTRACE #ifndef TEST_RIG #undef NDEBUG @@ -83,24 +69,15 @@ @BOTTOM@ -/*----- Some light processing on the configuration varaibles --------------*/ +/*----- Some light processing on the configuration variables --------------*/ /* --- Important filenames based on the @ETCDIR@ --- */ #define file_KEY ETCDIR "/become.key" -#define file_PID ETCDIR "/become.pid" -#define file_RANDSEED ETCDIR "/become.random" +#define file_PUBKEY ETCDIR "/become.pubkey" #define file_RULES ETCDIR "/become.conf" #define file_SERVER ETCDIR "/become.server" -/* --- Find a suitable 32-bit type --- */ - -#if SIZEOF_INT < 4 - typedef unsigned long uint_32; -#else - typedef unsigned int uint_32; -#endif - /* --- Debugging macros --- */ #ifdef NDEBUG