home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / pwgenera.zip / opie_cfg.h < prev    next >
C/C++ Source or Header  |  1996-06-30  |  3KB  |  115 lines

  1. /* opie_cfg.h: Various configuration-type pieces of information for OPIE.
  2.                Or, at least, the common portion of it.
  3.  
  4. Portions of this software are Copyright 1995 by Randall Atkinson and Dan
  5. McDonald, All Rights Reserved. All Rights under this copyright are assigned
  6. to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and
  7. License Agreement applies to this software.
  8.  
  9.     History:
  10.  
  11.         Modified by cmetz for OPIE 2.2. Got rid of ANSIPROTO and ARGS.
  12.                 Got rid of TRUE and FALSE definitions. Moved UINT4 to
  13.                 opie.h and removed UINT2.
  14.     Modified at NRL for OPIE 2.1. Fixed sigprocmask declaration.
  15.         Gutted for autoconf. Split up for autoconf.
  16.     Written at NRL for OPIE 2.0.
  17. */
  18.  
  19. #define VERSION "2.21 Release"
  20. #define DATE    "Saturday, April 27, 1996"
  21.  
  22. #define unix 0
  23.  
  24. #define _OPIE           1
  25. #define HAVE_ANSIPROTO  1
  26. #define HAVE_ANSIDECL   1
  27. #define HAVE_VOIDPTR    1
  28. #define HAVE_VOIDRET    1
  29. #define HAVE_VOIDARG    1
  30.  
  31. /* If the user didn't specify, default to MD5 */
  32. #ifndef MDX
  33. #define MDX 5
  34. #endif    /* MDX */
  35.  
  36. #ifndef DOUTMPX
  37. #define DOUTMPX 0
  38. #endif    /* DOUTMPX */
  39.  
  40. #ifndef UTMPX
  41. #if DOUTMPX
  42. #define UTMPX utmpx
  43. #else    /* DOUTMPX */
  44. #define UTMPX utmp
  45. #endif    /* DOUTMPX */
  46. #endif /* UTMPX */
  47.  
  48. #ifndef _PATH_BSHELL
  49. #define _PATH_BSHELL    "/bin/sh"
  50. #endif
  51.  
  52. #ifndef _PATH_DEVNULL
  53. #define _PATH_DEVNULL      "/dev/null"
  54. #endif
  55.  
  56. #ifndef _PATH_FTPUSERS
  57. #define    _PATH_FTPUSERS    "/etc/ftpusers"
  58. #endif
  59.  
  60. #ifndef TTYGRPNAME
  61. #define TTYGRPNAME    "tty"    /* name of group to own ttys */
  62. #endif
  63.  
  64. #ifndef NO_LOGINS_FILE
  65. #define NO_LOGINS_FILE    "/etc/nologin"
  66. #endif
  67.  
  68. #ifndef QUIET_LOGIN_FILE
  69. #define QUIET_LOGIN_FILE  ".hushlogin"
  70. #endif
  71.  
  72. #ifndef OPIE_ALWAYS_FILE
  73. #define OPIE_ALWAYS_FILE ".opiealways"
  74. #endif
  75.  
  76. #ifndef OPIE_LOCK_PREFIX
  77. #define OPIE_LOCK_PREFIX "/tmp/opie-lock."
  78. #endif
  79.  
  80. #ifndef OPIE_LOCK_TIMEOUT
  81. #define OPIE_LOCK_TIMEOUT (30*60)
  82. #endif
  83.  
  84. #ifndef KEY_FILE
  85. #define KEY_FILE          "/etc/opiekeys"
  86. #endif
  87.  
  88. #ifndef MOTD_FILE
  89. #define MOTD_FILE         "/etc/motd"
  90. #endif
  91.  
  92. #ifndef SECURETTY
  93. #define SECURETTY         "/etc/securetty"
  94. #endif    /* SECURETTY */
  95.  
  96. #ifndef NBBY
  97. #define NBBY 8    /* Reasonable for modern systems */
  98. #endif    /* NBBY */
  99.  
  100. #ifndef LOGIN_PATH
  101. #define LOGIN_PATH "/usr/ucb:/bin:/usr/bin"
  102. #endif    /* LOGIN_PATH */
  103.  
  104. #ifndef DOANONYMOUS
  105. #define DOANONYMOUS 0
  106. #endif    /* DOANONYMOUS */
  107.  
  108. #if NEED_ATEXIT
  109. #define atexit(x)
  110. #endif    /* NEED_ATEXIT */
  111.  
  112. #ifndef POINTER
  113. #define POINTER unsigned char *
  114. #endif /* POINTER */
  115.