NetBSD/libexec/identd/paths.h

83 lines
1.4 KiB
C
Raw Normal View History

1998-07-15 11:31:55 +04:00
/* $NetBSD: paths.h,v 1.5 1998/07/15 07:31:57 msaitoh Exp $ */
1997-10-08 11:07:40 +04:00
/*
** paths.h Common path definitions for the in.identd daemon
**
** Last update: 11 Dec 1992
**
** Please send bug fixes/bug reports to: Peter Eriksson <pen@lysator.liu.se>
*/
1998-07-15 11:31:55 +04:00
#ifdef sequent
# define _PATH_UNIX "/dynix"
#endif
1998-07-15 11:31:55 +04:00
#if defined(MIPS) || defined(IRIX) || defined(sco) || defined(_SEQUENT_)
# define _PATH_UNIX "/unix"
#endif
#if defined(hpux) || defined(__hpux)
1998-07-15 11:31:55 +04:00
#ifdef HPUX_10
# define _PATH_UNIX "/stand/vmunix"
#else
# define _PATH_UNIX "/hp-ux"
#endif
1998-07-15 11:31:55 +04:00
#endif
#if defined(__H3050R) || defined(__hiux)
# define _PATH_UNIX "/HI-UX"
#endif
#ifdef SOLARIS
# define _PATH_UNIX "/dev/ksyms"
#else
1998-07-15 11:31:55 +04:00
# if defined(SVR4) && !defined(_SEQUENT_)
# define _PATH_UNIX "/stand/unix"
# endif
#endif
#ifdef BSD43
# define _PATH_SWAP "/dev/drum"
# define _PATH_MEM "/dev/mem"
#endif
#ifdef _AUX_SOURCE
# define _PATH_UNIX "/unix"
#endif
#ifdef _CRAY
1998-07-15 11:31:55 +04:00
#ifndef _PATH_UNIX
# define _PATH_UNIX "/unicos"
1998-07-15 11:31:55 +04:00
#endif
# define _PATH_MEM "/dev/mem"
#endif
#ifdef NeXT
# define _PATH_UNIX "/mach"
#endif
1998-07-15 11:31:55 +04:00
#ifdef __bsdi__
# define _PATH_UNIX "/bsd"
#endif /* __bsdi__ */
/*
* Some defaults...
*/
#ifndef _PATH_KMEM
# define _PATH_KMEM "/dev/kmem"
#endif
#ifndef _PATH_UNIX
# define _PATH_UNIX "/vmunix"
#endif
#ifndef PATH_CONFIG
# define PATH_CONFIG "/etc/identd.conf"
#endif
1998-07-15 11:31:55 +04:00
#ifndef PATH_DESKEY
# define PATH_DESKEY "/etc/identd.key"
#endif