2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00

do multiple inclusion protection in all header files, and using the established ISC style

This commit is contained in:
Andreas Gustafsson
2001-07-09 21:34:44 +00:00
parent ec4f2e859f
commit 38fed7505d
4 changed files with 18 additions and 11 deletions

View File

@@ -15,10 +15,10 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: bind_registry.h,v 1.3 2001/07/09 21:06:25 gson Exp $ */ /* $Id: bind_registry.h,v 1.4 2001/07/09 21:34:41 gson Exp $ */
#ifndef _BIND_REGISTRY_H #ifndef ISC_BINDREGISTRY_H
#define _BIND_REGISTRY_H #define ISC_BINDREGISTRY_H
/* /*
* BIND makes use of the following Registry keys in various places, especially * BIND makes use of the following Registry keys in various places, especially
@@ -43,4 +43,4 @@
#define BIND_FOREGROUND 3 #define BIND_FOREGROUND 3
#define BIND_PORT 4 #define BIND_PORT 4
#endif #endif /* ISC_BINDREGISTRY_H */

View File

@@ -15,7 +15,10 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: bindevt.h,v 1.2 2001/07/08 05:09:22 mayer Exp $ */ /* $Id: bindevt.h,v 1.3 2001/07/09 21:34:42 gson Exp $ */
#ifndef ISC_BINDEVT_H
#define ISC_BINDEVT_H 1
/* /*
* This is used for the event log for both logging the messages and * This is used for the event log for both logging the messages and
@@ -85,3 +88,4 @@
*/ */
#define BIND_INFO_MSG ((DWORD)0x40000003L) #define BIND_INFO_MSG ((DWORD)0x40000003L)
#endif /* ISC_BINDEVT_H */

View File

@@ -15,7 +15,10 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: ntfile.h,v 1.3 2001/07/09 21:06:28 gson Exp $ */ /* $Id: ntfile.h,v 1.4 2001/07/09 21:34:43 gson Exp $ */
#ifndef ISC_NTFILE_H
#define ISC_NTFILE_H 1
/* /*
* This file has been necessitated by the fact that the iov array is local * This file has been necessitated by the fact that the iov array is local
@@ -95,3 +98,4 @@ isc_ntfile_read(int fd, char *buf, int len);
int int
isc_ntfile_write(int fd, char *buf, int len); isc_ntfile_write(int fd, char *buf, int len);
#endif /* ISC_NTFILE_H */

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: ntpaths.h,v 1.2 2001/07/08 05:09:31 mayer Exp $ */ /* $Id: ntpaths.h,v 1.3 2001/07/09 21:34:44 gson Exp $ */
/* /*
* Windows-specific path definitions * Windows-specific path definitions
@@ -23,9 +23,8 @@
* information about the files enumerated in NtPaths * information about the files enumerated in NtPaths
*/ */
#ifndef ISC_NTPATHS_H
#ifndef _NTPATHS_H #define ISC_NTPATHS_H
#define _NTPATHS_H
/* /*
* Index of paths needed * Index of paths needed
@@ -45,4 +44,4 @@ isc_ntpaths_init(void);
char * char *
isc_ntpaths_get(int); isc_ntpaths_get(int);
#endif /* _NTPATHS_H */ #endif /* ISC_NTPATHS_H */