1/***************************************************************** 2** 3** @(#) config_zkt.h -- config options for ZKT 4** 5** Copyright (c) Aug 2005, Holger Zuleger HZnet. All rights reserved. 6** 7** This software is open source. 8** 9** Redistribution and use in source and binary forms, with or without 10** modification, are permitted provided that the following conditions 11** are met: 12** 13** Redistributions of source code must retain the above copyright notice, 14** this list of conditions and the following disclaimer. 15** 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. 19** 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. 23** 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. 35** 36*****************************************************************/ 37#ifndef CONFIG_ZKT_H 38# define CONFIG_ZKT_H 39 40/* don't change anything below this */ 41/* the values here are determined or settable via the ./configure script */ 42 43#ifndef HAS_UTYPES 44# define HAS_UTYPES 1 45#endif 46 47/* # define HAVE_TIMEGM 1 */ 48/* # define HAVE_GETOPT_LONG 1 */ 49/* # define HAVE_STRFTIME 1 */ 50 51#ifndef COLOR_MODE 52# define COLOR_MODE 1 53#endif 54 55#ifndef TTL_IN_KEYFILE_ALLOWED 56# define TTL_IN_KEYFILE_ALLOWED 1 57#endif 58 59#ifndef PRINT_TIMEZONE 60# define PRINT_TIMEZONE 0 61#endif 62 63#ifndef PRINT_AGE_WITH_YEAR 64# define PRINT_AGE_WITH_YEAR 0 65#endif 66 67#ifndef LOG_WITH_PROGNAME 68# define LOG_WITH_PROGNAME 0 69#endif 70 71#ifndef LOG_WITH_TIMESTAMP 72# define LOG_WITH_TIMESTAMP 1 73#endif 74 75#ifndef LOG_WITH_LEVEL 76# define LOG_WITH_LEVEL 1 77#endif 78 79#ifndef ALWAYS_CHECK_KEYSETFILES 80# define ALWAYS_CHECK_KEYSETFILES 1 81#endif 82 83#ifndef CONFIG_PATH 84# define CONFIG_PATH "/var/named/" 85#endif 86 87/* tree usage is setable by configure script parameter */ 88#ifndef USE_TREE 89# define USE_TREE 1 90#endif 91 92/* BIND version and utility path will be set by ./configure script */ 93#ifndef BIND_VERSION 94# define BIND_VERSION 942 95#endif 96 97#ifndef BIND_UTIL_PATH 98# define BIND_UTIL_PATH "/usr/local/sbin/" 99#endif 100 101#ifndef ZKT_VERSION 102# if defined(USE_TREE) && USE_TREE 103# define ZKT_VERSION "vT0.99c (c) Feb 2005 - Aug 2009 Holger Zuleger hznet.de" 104# else 105# define ZKT_VERSION "v0.99c (c) Feb 2005 - Aug 2009 Holger Zuleger hznet.de" 106# endif 107#endif 108 109 110#if !defined(HAS_UTYPES) || !HAS_UTYPES 111typedef unsigned long ulong; 112typedef unsigned int uint; 113typedef unsigned short ushort; 114typedef unsigned char uchar; 115#endif 116 117#endif 118