/* pathalias -- by steve bellovin, as told to peter honeyman */
/**************************************************************************
* +--------------------------------------------------------------------+ *
* | begin configuration section | *
* +--------------------------------------------------------------------+ *
**************************************************************************/
#define STRCHR /* have strchr -- system v and many others */
#undef UNAME /* have uname() -- probably system v or 8th ed. */
#define MEMSET /* have memset() -- probably system v or 8th ed. */
#define GETHOSTNAME /* have gethostname() -- probably bsd */
#define BZERO /* have bzero() -- probably bsd */
#define RESOLVER /* have internet domain name resolver */
/* default place for dbm output of makedb (or use -o at run-time) */
#define ALIASDB "/usr/local/lib/palias"
/**************************************************************************
* +--------------------------------------------------------------------+ *
* | end of configuration section | *
* +--------------------------------------------------------------------+ *
**************************************************************************/
static char *c_sccsid
= "@(#)config.h 9.5 91/06/11";
/* the usual case: unix */
#define NULL_DEVICE "/dev/null"
#define SEVERE_ERROR (-1)
#define STDIO_H <stdio.h>
#define CTYPE_H <ctype.h>
#define NULL_DEVICE "NL:"
#define ERROR (STS$K_ERROR|STS$M_INHIB_MSG)
#define SEVERE_ERROR (STS$K_SEVERE|STS$M_INHIB_MSG)
* malloc/free fine tuned for pathalias.
* MYMALLOC should work everwhere, so it's not a configuration
* option (anymore). nonetheless, if you're getting strange
* core dumps (or panics!), comment out the following manifest,
* and use the inferior C library malloc/free.
#define calloc(n, s) malloc ((n)*(s))
#define strclear(s, n) ((void) bzero((s), (n)))
#define strclear(s, n) ((void) memset((s), 0, (n)))
extern char *strcpy(), *index(), *rindex();