📄 options.h
字号:
/* options.h - specify the conditionally-compiled features * vix 28mar92 [moved out of the Makefile because they were getting too big] * * $Id: options.h,v 4.9.1.7 1993/11/03 12:25:55 vixie Exp $ *//* * ++Copyright++ * - * Copyright (c) * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * Portions Copyright (c) 1993 by Digital Equipment Corporation. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies, and that * the name of Digital Equipment Corporation not be used in advertising or * publicity pertaining to distribution of the document or software without * specific, written prior permission. * * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. * - * --Copyright-- *//* Key: * ucb = U C Berkeley 4.8.3 release * vix = Paul Vixie of Digital * del = Don Lewis of Harris * mcsun = Piet Beertema of EUNet * asp = Andrew Partan of UUNet * pma = Paul Albitz of Hewlett Packard * bb = Bryan Beecher of UMich * mpa = Mark Andrews of CSIRO - DMS * rossc = Ross Cartlidge of The Univeritsy of Sydney * mtr = Marshall Rose of TPC.INT */#define DEBUG /* enable -d flag and SIGUSR[12] support (ucb) *//*#define ALLOW_T_UNSPEC /* enable the "unspec" RR type for old athena (ucb) *//*#define ALLOW_UPDATES /* enable on-the-fly dynamic updates (mike schwartz) */#define INVQ 1 /* [01] enable inverse queries (nslookup) (ucb/vix) *//*#define DSTORAGE /* debug malloc overruns using storage.o (ucb/vix) *//*#define DMALLOC /* trace malloc orphans using dmalloc.o (vix) */#define CRED /* "credibility" hacks and pollution control (vix) */#define XFRNETS /* enable "xfrnets" command in named.boot (vix) */#define PID_FIX /* be careful about overwriting named.pid file (del) */#define FWD_LOOP /* try to break out of forwarding loops (del) */#define NO_GLUE /* don't accept or send out-of-zone glue (del) */#define BOGUSNS /* detect bogus nameservers (mcsun) */#define QRYLOG /* enable SIGWINCH for query logging (bb) *//*#define YPKLUDGE /* deal effectively with broken "ypserv -i" (mcsun) */#define TRACEROOT /* trace bogus root servers and ignore them (pma,bb) *//*#define LOCALDOM /* permit "domain" directive in named.boot (ucb) */#define FORCED_RELOAD /* refresh secondary zones on SIGHUP (pma) */#define SLAVE_FORWARD /* use sensible timeouts on slave forwarders (pma) *//*#define SYSV /* compile for SYSV (ucb) XXX */#define WANT_PIDFILE /* if you want the named.pid file (ucb/arc) */#define DOTTED_SERIAL /* if you want to be able to specify dotted serial#s *//*#define SENSIBLE_DOTS /* if you want dotted serial#s to make numeric sense */#define NCACHE /* negative caching (anant@isi.edu) */#define VALIDATE /* validation procedure (anant@isi.edu) *//*#define SHORT_FNAMES /* file names used in named-xfer need to be short */#define RESOLVSORT /* allow sorting of addresses in gethostbyname (mpa) */#define STUBS /* allow transfers of NS only for a zone (mpa) *//*#define SUNSECURITY /* obscure fix for a silly operating system */#define LOGFAC LOG_DAEMON /* what syslog facility should named use? *//*#define SECURE_ZONES /* if you want to inhibit world access to zone(s) */#define ROUND_ROBIN /* rotate databuf list after each access (mtr) */#define ADDAUTH /* return NS and glue w/ authorative answers (mpa) */#define RFC1535 /* use RFC 1535 default for "search" list (vix) */#define GEN_AXFR /* distinct zones within each class */#define DATUMREFCNT /* use reference counts on datums (mpa) *//*--------------------------------------------* * no user-servicable parts beyond this point * *--------------------------------------------*//* if DSTORAGE is defined, we need to disable DMALLOC and remap * malloc and free to storage.o's exported names. storage.o also * includes a calloc and a realloc, but once we drag in its malloc * and free we'll get the others automatically and so will never * pull in those routines from libc.a. */#ifdef DSTORAGE# ifdef DMALLOC# undef DMALLOC# endif /*DMALLOC*/# define malloc rt_alloc# define free rt_free#endif /*DSTORAGE*//* if DMALLOC is defined, grab the header file which will remap * all the malloc-style names to those exported by dmalloc.o. note * that DMALLOC also changes the function signatures of several * functions in private named source modules, and that this file * (options.h) must be included before any other private *.h files * since those *.h files have some conditional remapping to do. */#ifdef DMALLOC# include "dmalloc.h"#endif/* systems with killall(1M) don't need this */#ifdef __sgi# ifdef WANT_PIDFILE# undef WANT_PIDFILE# endif#endif#ifdef sun# ifndef SUNSECURITY# define SUNSECURITY /* mandatory on suns and rlogin etc. depend on this */# endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -