1 /*****************************************************************
3 ** @(#) config_zkt.h -- config options for ZKT
5 ** Copyright (c) Aug 2005, Holger Zuleger HZnet. All rights reserved.
7 ** This software is open source.
9 ** Redistribution and use in source and binary forms, with or without
10 ** modification, are permitted provided that the following conditions
13 ** Redistributions of source code must retain the above copyright notice,
14 ** this list of conditions and the following disclaimer.
16 ** Redistributions in binary form must reproduce the above copyright notice,
17 ** this list of conditions and the following disclaimer in the documentation
18 ** and/or other materials provided with the distribution.
20 ** Neither the name of Holger Zuleger HZnet nor the names of its contributors may
21 ** be used to endorse or promote products derived from this software without
22 ** specific prior written permission.
24 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
26 ** TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27 ** PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
28 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 ** POSSIBILITY OF SUCH DAMAGE.
36 *****************************************************************/
41 # define LOG_FNAMETMPL "/zkt-%04d-%02d-%02dT%02d%02d%02dZ.log"
44 /* don't change anything below this */
45 /* the values here are determined or settable via the ./configure script */
51 /* # define HAVE_TIMEGM 1 */
52 /* # define HAVE_GETOPT_LONG 1 */
53 /* # define HAVE_STRFTIME 1 */
55 #ifndef TTL_IN_KEYFILE_ALLOWED
56 # define TTL_IN_KEYFILE_ALLOWED 1
59 #ifndef PRINT_TIMEZONE
60 # define PRINT_TIMEZONE 0
63 #ifndef PRINT_AGE_WITH_YEAR
64 # define PRINT_AGE_WITH_YEAR 0
67 #ifndef LOG_WITH_PROGNAME
68 # define LOG_WITH_PROGNAME 0
71 #ifndef LOG_WITH_TIMESTAMP
72 # define LOG_WITH_TIMESTAMP 1
75 #ifndef LOG_WITH_LEVEL
76 # define LOG_WITH_LEVEL 1
79 #ifndef ALWAYS_CHECK_KEYSETFILES
80 # define ALWAYS_CHECK_KEYSETFILES 1
84 # define CONFIG_PATH "/var/named/"
87 /* tree usage is setable by configure script parameter */
92 /* BIND version and utility path will be set by ./configure script */
94 # define BIND_VERSION 942
97 #ifndef BIND_UTIL_PATH
98 # define BIND_UTIL_PATH "/usr/local/sbin/"
102 # if defined(USE_TREE) && USE_TREE
103 # define ZKT_VERSION "vT0.99c (c) Feb 2005 - Aug 2009 Holger Zuleger hznet.de"
105 # define ZKT_VERSION "v0.99c (c) Feb 2005 - Aug 2009 Holger Zuleger hznet.de"
110 #if !defined(HAS_UTYPES) || !HAS_UTYPES
111 typedef unsigned long ulong;
112 typedef unsigned int uint;
113 typedef unsigned short ushort;
114 typedef unsigned char uchar;