1258945Sroberto/*
2258945Sroberto * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
3258945Sroberto * Copyright (C) 2001  Internet Software Consortium.
4258945Sroberto *
5258945Sroberto * Permission to use, copy, modify, and/or distribute this software for any
6258945Sroberto * purpose with or without fee is hereby granted, provided that the above
7258945Sroberto * copyright notice and this permission notice appear in all copies.
8258945Sroberto *
9258945Sroberto * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10258945Sroberto * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11258945Sroberto * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12258945Sroberto * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13258945Sroberto * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14258945Sroberto * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15258945Sroberto * PERFORMANCE OF THIS SOFTWARE.
16258945Sroberto */
17258945Sroberto
18258945Sroberto/* $Id: bind_registry.h,v 1.8 2007/06/19 23:47:20 tbox Exp $ */
19258945Sroberto
20258945Sroberto#ifndef ISC_BINDREGISTRY_H
21258945Sroberto#define ISC_BINDREGISTRY_H
22258945Sroberto
23258945Sroberto/*
24258945Sroberto * BIND makes use of the following Registry keys in various places, especially
25258945Sroberto * during startup and installation
26258945Sroberto */
27258945Sroberto
28258945Sroberto#define BIND_SUBKEY		"Software\\ISC\\BIND"
29258945Sroberto#define BIND_SESSION		"CurrentSession"
30258945Sroberto#define BIND_SESSION_SUBKEY	"Software\\ISC\\BIND\\CurrentSession"
31258945Sroberto#define BIND_UNINSTALL_SUBKEY	\
32258945Sroberto	"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ISC BIND"
33258945Sroberto
34258945Sroberto#define EVENTLOG_APP_SUBKEY	\
35258945Sroberto	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application"
36258945Sroberto#define BIND_MESSAGE_SUBKEY	\
37258945Sroberto	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\named"
38258945Sroberto#define BIND_MESSAGE_NAME	"named"
39258945Sroberto
40258945Sroberto#define BIND_SERVICE_SUBKEY	\
41258945Sroberto	"SYSTEM\\CurrentControlSet\\Services\\named"
42258945Sroberto
43258945Sroberto
44258945Sroberto#define BIND_CONFIGFILE		0
45258945Sroberto#define BIND_DEBUGLEVEL		1
46258945Sroberto#define BIND_QUERYLOG		2
47258945Sroberto#define BIND_FOREGROUND		3
48258945Sroberto#define BIND_PORT		4
49258945Sroberto
50258945Sroberto#endif /* ISC_BINDREGISTRY_H */
51