1 /*	$NetBSD: bind_registry.h,v 1.4 2014/12/10 04:38:01 christos Exp $	*/
2 
3 /*
4  * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
5  * Copyright (C) 2001  Internet Software Consortium.
6  *
7  * Permission to use, copy, modify, and/or distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /* Id: bind_registry.h,v 1.8 2007/06/19 23:47:20 tbox Exp  */
21 
22 #ifndef ISC_BINDREGISTRY_H
23 #define ISC_BINDREGISTRY_H
24 
25 /*
26  * BIND makes use of the following Registry keys in various places, especially
27  * during startup and installation
28  */
29 
30 #define BIND_SUBKEY		"Software\\ISC\\BIND"
31 #define BIND_SESSION		"CurrentSession"
32 #define BIND_SESSION_SUBKEY	"Software\\ISC\\BIND\\CurrentSession"
33 #define BIND_UNINSTALL_SUBKEY	\
34 	"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ISC BIND"
35 
36 #define EVENTLOG_APP_SUBKEY	\
37 	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application"
38 #define BIND_MESSAGE_SUBKEY	\
39 	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\named"
40 #define BIND_MESSAGE_NAME	"named"
41 
42 #define BIND_SERVICE_SUBKEY	\
43 	"SYSTEM\\CurrentControlSet\\Services\\named"
44 
45 
46 #define BIND_CONFIGFILE		0
47 #define BIND_DEBUGLEVEL		1
48 #define BIND_QUERYLOG		2
49 #define BIND_FOREGROUND		3
50 #define BIND_PORT		4
51 
52 #endif /* ISC_BINDREGISTRY_H */
53