home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / named / pathnames.h < prev    next >
C/C++ Source or Header  |  1994-04-08  |  5KB  |  123 lines

  1. /*
  2.  *    @(#)pathnames.h    5.4 (Berkeley) 6/1/90
  3.  *    $Id: pathnames.h,v 4.9.1.5 1994/04/09 03:43:17 vixie Exp $
  4.  */
  5.  
  6. /*
  7.  * ++Copyright++ 1989
  8.  * -
  9.  * Copyright (c) 1989
  10.  *    The Regents of the University of California.  All rights reserved.
  11.  * 
  12.  * Redistribution and use in source and binary forms, with or without
  13.  * modification, are permitted provided that the following conditions
  14.  * are met:
  15.  * 1. Redistributions of source code must retain the above copyright
  16.  *    notice, this list of conditions and the following disclaimer.
  17.  * 2. Redistributions in binary form must reproduce the above copyright
  18.  *    notice, this list of conditions and the following disclaimer in the
  19.  *    documentation and/or other materials provided with the distribution.
  20.  * 3. All advertising materials mentioning features or use of this software
  21.  *    must display the following acknowledgement:
  22.  *     This product includes software developed by the University of
  23.  *     California, Berkeley and its contributors.
  24.  * 4. Neither the name of the University nor the names of its contributors
  25.  *    may be used to endorse or promote products derived from this software
  26.  *    without specific prior written permission.
  27.  * 
  28.  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  29.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  30.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  31.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  32.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  33.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  34.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  37.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  38.  * SUCH DAMAGE.
  39.  * -
  40.  * Portions Copyright (c) 1993 by Digital Equipment Corporation.
  41.  * 
  42.  * Permission to use, copy, modify, and distribute this software for any
  43.  * purpose with or without fee is hereby granted, provided that the above
  44.  * copyright notice and this permission notice appear in all copies, and that
  45.  * the name of Digital Equipment Corporation not be used in advertising or
  46.  * publicity pertaining to distribution of the document or software without
  47.  * specific, written prior permission.
  48.  * 
  49.  * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  50.  * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  51.  * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  52.  * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  53.  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  54.  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  55.  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  56.  * SOFTWARE.
  57.  * -
  58.  * --Copyright--
  59.  */
  60.  
  61. #ifdef _PATH_XFER
  62. # define _PATH_XFER_PREDEFINED    /* probably from Makefile */
  63. #endif
  64.  
  65. #if defined (__sgi) && !defined(_SYSTYPE_SVR4) && !defined(__SYSTYPE_SVR4)
  66. #define    _PATH_BOOT    "/usr/etc/named.d/named.boot"
  67. #else
  68. #define    _PATH_BOOT    "/etc/named.boot"
  69. #endif
  70.  
  71. #if defined(BSD) && BSD >= 198810
  72.  
  73. #include <paths.h>
  74. #ifndef _PATH_XFER
  75. # define _PATH_XFER    "/usr/libexec/named-xfer"
  76. #endif
  77. #define    _PATH_DEBUG    "/var/tmp/named.run"
  78. #define    _PATH_DUMPFILE    "/var/tmp/named_dump.db"
  79. #ifndef _PATH_PIDFILE
  80. # define _PATH_PIDFILE    "/var/run/named.pid"
  81. #endif
  82. #define    _PATH_STATS    "/var/tmp/named.stats"
  83. #define    _PATH_XFERTRACE    "/var/tmp/xfer.trace"
  84. #define _PATH_XFERDDT    "/var/tmp/xfer.ddt"
  85. #define    _PATH_TMPXFER    "/var/tmp/xfer.ddt.XXXXXX"
  86. #define    _PATH_TMPDIR    "/var/tmp"
  87.  
  88. #else /* BSD */
  89.  
  90. #define    _PATH_DEVNULL    "/dev/null"
  91. #define    _PATH_TTY    "/dev/tty"
  92. #ifndef _PATH_XFER
  93. # define _PATH_XFER    "/etc/named-xfer"
  94. #endif
  95. #define    _PATH_DEBUG    "/usr/tmp/named.run"
  96. #define    _PATH_DUMPFILE    "/usr/tmp/named_dump.db"
  97. #ifndef _PATH_PIDFILE
  98. # define _PATH_PIDFILE    "/etc/named.pid"
  99. #endif
  100. #define    _PATH_STATS    "/usr/tmp/named.stats"
  101. #define    _PATH_XFERTRACE    "/usr/tmp/xfer.trace"
  102. #define _PATH_XFERDDT    "/usr/tmp/xfer.ddt"
  103. #define    _PATH_TMPXFER    "/usr/tmp/xfer.ddt.XXXXXX"
  104. #define    _PATH_TMPDIR    "/usr/tmp"
  105. #endif /* BSD */
  106.  
  107. #ifndef _PATH_XFER_PREDEFINED
  108. # if defined(__sgi) || defined(NeXT) || defined(__ultrix)
  109. #  undef _PATH_XFER
  110. #  define _PATH_XFER    "/usr/etc/named-xfer"
  111. # endif
  112. # if defined(__osf__)
  113. #  undef _PATH_XFER
  114. #  define _PATH_XFER    "/usr/sbin/named-xfer"
  115. # endif
  116. # ifdef sun
  117. #  undef _PATH_XFER
  118. #  define _PATH_XFER    "/usr/etc/in.named-xfer"
  119. # endif
  120. #else
  121. # undef _PATH_XFER_PREDEFINED
  122. #endif /*_PATH_XFER_PREDEFINED*/
  123.