Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
4be63b1f
Commit
4be63b1f
authored
Apr 29, 2000
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion protection.
parent
5436ac55
Changes
163
Show whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
311 additions
and
109 deletions
+311
-109
CHANGES
CHANGES
+4
-0
bin/named/include/named/zoneconf.h
bin/named/include/named/zoneconf.h
+3
-3
lib/dns/config/confpvt.h
lib/dns/config/confpvt.h
+3
-3
lib/dns/gen-unix.h
lib/dns/gen-unix.h
+4
-0
lib/dns/gen-win32.h
lib/dns/gen-win32.h
+6
-1
lib/dns/include/dns/a6.h
lib/dns/include/dns/a6.h
+1
-1
lib/dns/include/dns/adb.h
lib/dns/include/dns/adb.h
+1
-1
lib/dns/include/dns/cache.h
lib/dns/include/dns/cache.h
+1
-2
lib/dns/include/dns/confacl.h
lib/dns/include/dns/confacl.h
+3
-3
lib/dns/include/dns/confcache.h
lib/dns/include/dns/confcache.h
+3
-3
lib/dns/include/dns/confcommon.h
lib/dns/include/dns/confcommon.h
+3
-3
lib/dns/include/dns/confctl.h
lib/dns/include/dns/confctl.h
+3
-3
lib/dns/include/dns/confctx.h
lib/dns/include/dns/confctx.h
+3
-3
lib/dns/include/dns/confip.h
lib/dns/include/dns/confip.h
+3
-3
lib/dns/include/dns/confkeys.h
lib/dns/include/dns/confkeys.h
+3
-3
lib/dns/include/dns/conflog.h
lib/dns/include/dns/conflog.h
+3
-3
lib/dns/include/dns/conflsn.h
lib/dns/include/dns/conflsn.h
+3
-3
lib/dns/include/dns/confndc.h
lib/dns/include/dns/confndc.h
+3
-3
lib/dns/include/dns/confparser.h
lib/dns/include/dns/confparser.h
+4
-0
lib/dns/include/dns/confresolv.h
lib/dns/include/dns/confresolv.h
+3
-3
lib/dns/include/dns/confrrset.h
lib/dns/include/dns/confrrset.h
+3
-3
lib/dns/include/dns/confview.h
lib/dns/include/dns/confview.h
+3
-3
lib/dns/include/dns/confzone.h
lib/dns/include/dns/confzone.h
+3
-3
lib/dns/include/dns/dbtable.h
lib/dns/include/dns/dbtable.h
+5
-0
lib/dns/include/dns/master.h
lib/dns/include/dns/master.h
+1
-1
lib/dns/include/dns/masterdump.h
lib/dns/include/dns/masterdump.h
+1
-1
lib/dns/include/dns/message.h
lib/dns/include/dns/message.h
+1
-1
lib/dns/include/dns/namedconf.h
lib/dns/include/dns/namedconf.h
+1
-1
lib/dns/include/dns/peer.h
lib/dns/include/dns/peer.h
+1
-1
lib/dns/include/dns/rbt.h
lib/dns/include/dns/rbt.h
+2
-2
lib/dns/include/dns/rdataslab.h
lib/dns/include/dns/rdataslab.h
+1
-1
lib/dns/include/dns/tcpmsg.h
lib/dns/include/dns/tcpmsg.h
+1
-1
lib/dns/include/dns/time.h
lib/dns/include/dns/time.h
+1
-1
lib/dns/include/dns/ttl.h
lib/dns/include/dns/ttl.h
+1
-1
lib/dns/include/dns/zone.h
lib/dns/include/dns/zone.h
+1
-1
lib/dns/include/dns/zoneconf.h
lib/dns/include/dns/zoneconf.h
+3
-3
lib/dns/include/dns/zt.h
lib/dns/include/dns/zt.h
+3
-3
lib/dns/rbtdb64.h
lib/dns/rbtdb64.h
+1
-1
lib/dns/rdata/any_255/tsig_250.h
lib/dns/rdata/any_255/tsig_250.h
+5
-1
lib/dns/rdata/generic/afsdb_18.h
lib/dns/rdata/generic/afsdb_18.h
+7
-1
lib/dns/rdata/generic/cert_37.h
lib/dns/rdata/generic/cert_37.h
+5
-1
lib/dns/rdata/generic/cname_5.h
lib/dns/rdata/generic/cname_5.h
+6
-1
lib/dns/rdata/generic/dname_39.h
lib/dns/rdata/generic/dname_39.h
+6
-1
lib/dns/rdata/generic/gpos_27.h
lib/dns/rdata/generic/gpos_27.h
+6
-1
lib/dns/rdata/generic/hinfo_13.h
lib/dns/rdata/generic/hinfo_13.h
+6
-1
lib/dns/rdata/generic/isdn_20.h
lib/dns/rdata/generic/isdn_20.h
+6
-1
lib/dns/rdata/generic/key_25.h
lib/dns/rdata/generic/key_25.h
+6
-1
lib/dns/rdata/generic/loc_29.h
lib/dns/rdata/generic/loc_29.h
+6
-1
lib/dns/rdata/generic/mb_7.h
lib/dns/rdata/generic/mb_7.h
+6
-1
lib/dns/rdata/generic/md_3.h
lib/dns/rdata/generic/md_3.h
+6
-1
lib/dns/rdata/generic/mf_4.h
lib/dns/rdata/generic/mf_4.h
+6
-1
lib/dns/rdata/generic/mg_8.h
lib/dns/rdata/generic/mg_8.h
+6
-1
lib/dns/rdata/generic/minfo_14.h
lib/dns/rdata/generic/minfo_14.h
+6
-1
lib/dns/rdata/generic/mr_9.h
lib/dns/rdata/generic/mr_9.h
+6
-1
lib/dns/rdata/generic/mx_15.h
lib/dns/rdata/generic/mx_15.h
+6
-1
lib/dns/rdata/generic/ns_2.h
lib/dns/rdata/generic/ns_2.h
+6
-1
lib/dns/rdata/generic/null_10.h
lib/dns/rdata/generic/null_10.h
+6
-1
lib/dns/rdata/generic/nxt_30.h
lib/dns/rdata/generic/nxt_30.h
+6
-1
lib/dns/rdata/generic/opt_41.h
lib/dns/rdata/generic/opt_41.h
+6
-1
lib/dns/rdata/generic/proforma.h
lib/dns/rdata/generic/proforma.h
+6
-1
lib/dns/rdata/generic/ptr_12.h
lib/dns/rdata/generic/ptr_12.h
+6
-1
lib/dns/rdata/generic/rp_17.h
lib/dns/rdata/generic/rp_17.h
+6
-1
lib/dns/rdata/generic/rt_21.h
lib/dns/rdata/generic/rt_21.h
+6
-1
lib/dns/rdata/generic/sig_24.h
lib/dns/rdata/generic/sig_24.h
+6
-1
lib/dns/rdata/generic/soa_6.h
lib/dns/rdata/generic/soa_6.h
+6
-1
lib/dns/rdata/generic/tkey_249.h
lib/dns/rdata/generic/tkey_249.h
+6
-1
lib/dns/rdata/generic/txt_16.h
lib/dns/rdata/generic/txt_16.h
+5
-1
lib/dns/rdata/generic/unspec_103.h
lib/dns/rdata/generic/unspec_103.h
+6
-1
lib/dns/rdata/generic/x25_19.h
lib/dns/rdata/generic/x25_19.h
+6
-1
lib/dns/rdata/hs_4/a_1.h
lib/dns/rdata/hs_4/a_1.h
+6
-1
lib/dns/rdata/in_1/a6_38.h
lib/dns/rdata/in_1/a6_38.h
+5
-1
lib/dns/rdata/in_1/a_1.h
lib/dns/rdata/in_1/a_1.h
+6
-1
lib/dns/rdata/in_1/aaaa_28.h
lib/dns/rdata/in_1/aaaa_28.h
+5
-1
lib/dns/rdata/in_1/kx_36.h
lib/dns/rdata/in_1/kx_36.h
+6
-1
lib/dns/rdata/in_1/naptr_35.h
lib/dns/rdata/in_1/naptr_35.h
+6
-1
No files found.
CHANGES
View file @
4be63b1f
144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion
protection.
143. [func] Added function dns_rdatatype_isknown().
143. [func] Added function dns_rdatatype_isknown().
142. [cleanup] <isc/stdtime.h> does not need <time.h> or
142. [cleanup] <isc/stdtime.h> does not need <time.h> or
...
...
bin/named/include/named/zoneconf.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef NS_ZONECONF_H
#ifndef
D
NS_ZONECONF_H
#define NS_ZONECONF_H 1
#define
D
NS_ZONECONF_H 1
#include <isc/log.h>
#include <isc/log.h>
#include <isc/types.h>
#include <isc/types.h>
...
@@ -63,4 +63,4 @@ dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zonemgr);
...
@@ -63,4 +63,4 @@ dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zonemgr);
*/
*/
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* NS_ZONECONF_H */
#endif
/*
D
NS_ZONECONF_H */
lib/dns/config/confpvt.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef
DNS_
CONFIG_CONFPVT_H
#ifndef CONFIG_CONFPVT_H
#define
DNS_
CONFIG_CONFPVT_H 1
#define CONFIG_CONFPVT_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -38,4 +38,4 @@
...
@@ -38,4 +38,4 @@
#define DNS_C_CHECKBIT(bit,flags) \
#define DNS_C_CHECKBIT(bit,flags) \
ISC_TF((*(flags) & ((dns_c_setbits_t)1 << (bit))) == ((dns_c_setbits_t)1 << (bit)))
ISC_TF((*(flags) & ((dns_c_setbits_t)1 << (bit))) == ((dns_c_setbits_t)1 << (bit)))
#endif
#endif
/* CONFIG_CONFPVT_H */
lib/dns/gen-unix.h
View file @
4be63b1f
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
* The dir stuff was shrunk to fit the needs of gen.c.
* The dir stuff was shrunk to fit the needs of gen.c.
*/
*/
#ifndef DNS_GEN_UNIX_H
#define DNS_GEN_UNIX_H 1
#include <dirent.h>
#include <dirent.h>
#include <unistd.h>
#include <unistd.h>
...
@@ -77,3 +80,4 @@ end_directory(isc_dir_t *dir) {
...
@@ -77,3 +80,4 @@ end_directory(isc_dir_t *dir) {
dir
->
handle
=
NULL
;
dir
->
handle
=
NULL
;
}
}
#endif
/* DNS_GEN_UNIX_H */
lib/dns/gen-win32.h
View file @
4be63b1f
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
* SUCH DAMAGE.
* SUCH DAMAGE.
*/
*/
/* $Id: gen-win32.h,v 1.
2
2000/0
2/03 23:43:4
7
h
al
ley
Exp $ */
/* $Id: gen-win32.h,v 1.
3
2000/0
4/29 02:01:0
7
t
al
e
Exp $ */
/*
/*
* Principal Authors: Computer Systems Research Group at UC Berkeley
* Principal Authors: Computer Systems Research Group at UC Berkeley
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
* isc/commandline.c. The dir stuff was shrunk to fit the needs of gen.c.
* isc/commandline.c. The dir stuff was shrunk to fit the needs of gen.c.
*/
*/
#ifndef DNS_GEN_WIN32_H
#define DNS_GEN_WIN32_H 1
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <windows.h>
#include <windows.h>
...
@@ -280,3 +283,5 @@ end_directory(isc_dir_t *dir) {
...
@@ -280,3 +283,5 @@ end_directory(isc_dir_t *dir) {
if
(
dir
->
handle
!=
INVALID_HANDLE_VALUE
)
if
(
dir
->
handle
!=
INVALID_HANDLE_VALUE
)
FindClose
(
dir
->
handle
);
FindClose
(
dir
->
handle
);
}
}
#endif
/* DNS_GEN_WIN32_H */
lib/dns/include/dns/a6.h
View file @
4be63b1f
...
@@ -79,4 +79,4 @@ dns_a6_foreach(dns_a6context_t *a6ctx, dns_rdataset_t *rdataset,
...
@@ -79,4 +79,4 @@ dns_a6_foreach(dns_a6context_t *a6ctx, dns_rdataset_t *rdataset,
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* DNS_
RESULT
_H */
#endif
/* DNS_
A6
_H */
lib/dns/include/dns/adb.h
View file @
4be63b1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
*/
*/
#ifndef DNS_ADB_H
#ifndef DNS_ADB_H
#define DNS_ADB_H
#define DNS_ADB_H
1
/*****
/*****
***** Module Info
***** Module Info
...
...
lib/dns/include/dns/cache.h
View file @
4be63b1f
...
@@ -224,4 +224,3 @@ dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int interval);
...
@@ -224,4 +224,3 @@ dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int interval);
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* DNS_CACHE_H */
#endif
/* DNS_CACHE_H */
lib/dns/include/dns/confacl.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFACL_H
#ifndef DNS_CONFACL_H
#define DNS_
CONFIG_
CONFACL_H 1
#define DNS_CONFACL_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -304,4 +304,4 @@ isc_result_t dns_c_acl_expandacls(dns_c_acltable_t *table,
...
@@ -304,4 +304,4 @@ isc_result_t dns_c_acl_expandacls(dns_c_acltable_t *table,
* ISC_R_SUCCESS -- all is well
* ISC_R_SUCCESS -- all is well
* ISC_R_FAILURE -- some acl(s) couldn't be resolved.
* ISC_R_FAILURE -- some acl(s) couldn't be resolved.
*/
*/
#endif
/* DNS_
CONFIG_
CONFACL_H */
#endif
/* DNS_CONFACL_H */
lib/dns/include/dns/confcache.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFCACHE_H
#ifndef DNS_CONFCACHE_H
#define DNS_
CONFIG_
CONFCACHE_H 1
#define DNS_CONFCACHE_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -101,4 +101,4 @@ isc_result_t dns_c_cache_delete(dns_c_cache_t **cfgres);
...
@@ -101,4 +101,4 @@ isc_result_t dns_c_cache_delete(dns_c_cache_t **cfgres);
*/
*/
#endif
/* DNS_
CONFIG_
CONFCACHE_H */
#endif
/* DNS_CONFCACHE_H */
lib/dns/include/dns/confcommon.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFCOMMON_H
#ifndef DNS_CONFCOMMON_H
#define DNS_
CONFIG_
CONFCOMMON_H 1
#define DNS_CONFCOMMON_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -330,4 +330,4 @@ isc_result_t dns_c_checkmodule(const char *name);
...
@@ -330,4 +330,4 @@ isc_result_t dns_c_checkmodule(const char *name);
*/
*/
#endif
/* DNS_
CONFIG_
CONFCOMMON_H */
#endif
/* DNS_CONFCOMMON_H */
lib/dns/include/dns/confctl.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFCTL_H
#ifndef DNS_CONFCTL_H
#define DNS_
CONFIG_
CONFCTL_H 1
#define DNS_CONFCTL_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -218,4 +218,4 @@ void dns_c_ctrllist_print(FILE *fp, int indent,
...
@@ -218,4 +218,4 @@ void dns_c_ctrllist_print(FILE *fp, int indent,
*/
*/
#endif
/* DNS_
CONFIG_
CONFCTL_H */
#endif
/* DNS_CONFCTL_H */
lib/dns/include/dns/confctx.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFCTX_H
#ifndef DNS_CONFCTX_H
#define DNS_
CONFIG_
CONFCTX_H 1
#define DNS_CONFCTX_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -777,5 +777,5 @@ isc_result_t dns_c_ctx_gettrustedkeys(dns_c_ctx_t *cfg,
...
@@ -777,5 +777,5 @@ isc_result_t dns_c_ctx_gettrustedkeys(dns_c_ctx_t *cfg,
#endif
/* DNS_
CONFIG_
CONFCTX_H */
#endif
/* DNS_CONFCTX_H */
lib/dns/include/dns/confip.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFIP_H
#ifndef DNS_CONFIP_H
#define DNS_
CONFIG_
CONFIP_H 1
#define DNS_CONFIP_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -234,4 +234,4 @@ isc_boolean_t dns_c_ipmatchelement_equal(dns_c_ipmatchelement_t *e1,
...
@@ -234,4 +234,4 @@ isc_boolean_t dns_c_ipmatchelement_equal(dns_c_ipmatchelement_t *e1,
isc_boolean_t
dns_c_ipmatchlist_equal
(
dns_c_ipmatchlist_t
*
l1
,
isc_boolean_t
dns_c_ipmatchlist_equal
(
dns_c_ipmatchlist_t
*
l1
,
dns_c_ipmatchlist_t
*
l2
);
dns_c_ipmatchlist_t
*
l2
);
#endif
/* DNS_
CONFIG_
CONFIP_H */
#endif
/* DNS_CONFIP_H */
lib/dns/include/dns/confkeys.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFKEYS_H
#ifndef DNS_CONFKEYS_H
#define DNS_
CONFIG_
CONFKEYS_H 1
#define DNS_CONFKEYS_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -304,4 +304,4 @@ void dns_c_tkey_print(FILE *fp, int indent, dns_c_tkey_t *tkey);
...
@@ -304,4 +304,4 @@ void dns_c_tkey_print(FILE *fp, int indent, dns_c_tkey_t *tkey);
#endif
/* DNS_
CONFIG_
CONFKEYS_H */
#endif
/* DNS_CONFKEYS_H */
lib/dns/include/dns/conflog.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFLOG_H
#ifndef DNS_CONFLOG_H
#define DNS_
CONFIG_
CONFLOG_H 1
#define DNS_CONFLOG_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -254,4 +254,4 @@ isc_result_t dns_c_logcat_setpredef(dns_c_logcat_t *logcat,
...
@@ -254,4 +254,4 @@ isc_result_t dns_c_logcat_setpredef(dns_c_logcat_t *logcat,
isc_result_t
dns_c_logcat_getpredef
(
dns_c_logcat_t
*
logcat
,
isc_result_t
dns_c_logcat_getpredef
(
dns_c_logcat_t
*
logcat
,
isc_boolean_t
*
retval
);
isc_boolean_t
*
retval
);
#endif
/*
ISC_WHATEVER
_H */
#endif
/*
DNS_CONFLOG
_H */
lib/dns/include/dns/conflsn.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFLSN_H
#ifndef DNS_CONFLSN_H
#define DNS_
CONFIG_
CONFLSN_H 1
#define DNS_CONFLSN_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -192,4 +192,4 @@ isc_result_t dns_c_lstnon_print(FILE *fp, int indent,
...
@@ -192,4 +192,4 @@ isc_result_t dns_c_lstnon_print(FILE *fp, int indent,
#endif
/* DNS_
CONFIG_
CONFLSN_H */
#endif
/* DNS_CONFLSN_H */
lib/dns/include/dns/confndc.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFNDC_H
#ifndef DNS_CONFNDC_H
#define DNS_
CONFIG_
CONFNDC_H 1
#define DNS_CONFNDC_H 1
#include <isc/magic.h>
#include <isc/magic.h>
#include <isc/mem.h>
#include <isc/mem.h>
...
@@ -153,4 +153,4 @@ void dns_c_ndcserverlist_print(FILE *fp,
...
@@ -153,4 +153,4 @@ void dns_c_ndcserverlist_print(FILE *fp,
void
dns_c_ndcserver_print
(
FILE
*
fp
,
dns_c_ndcserver_t
*
server
);
void
dns_c_ndcserver_print
(
FILE
*
fp
,
dns_c_ndcserver_t
*
server
);
#endif
/* DNS_CONF
IG_CONFZONE
_H */
#endif
/* DNS_CONF
NDC
_H */
lib/dns/include/dns/confparser.h
View file @
4be63b1f
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_CONFPARSER_H
#define DNS_CONFPARSER_H 1
/*****
/*****
***** Module Info
***** Module Info
*****/
*****/
...
@@ -108,3 +111,4 @@ isc_result_t dns_c_parse_namedconf(const char *filename, isc_mem_t *mem,
...
@@ -108,3 +111,4 @@ isc_result_t dns_c_parse_namedconf(const char *filename, isc_mem_t *mem,
* ISC_R_FAILURE file contains errors.
* ISC_R_FAILURE file contains errors.
*/
*/
#endif
/* DNS_CONFPARSER_H */
lib/dns/include/dns/confresolv.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFRESOLV_H
#ifndef DNS_CONFRESOLV_H
#define DNS_
CONFIG_
CONFRESOLV_H 1
#define DNS_CONFRESOLV_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -100,4 +100,4 @@ isc_result_t dns_c_resolv_delete(dns_c_resolv_t **cfgres);
...
@@ -100,4 +100,4 @@ isc_result_t dns_c_resolv_delete(dns_c_resolv_t **cfgres);
*/
*/
#endif
/* DNS_
CONFIG_
CONFRESOLV_H */
#endif
/* DNS_CONFRESOLV_H */
lib/dns/include/dns/confrrset.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFRRSET_H
#ifndef DNS_CONFRRSET_H
#define DNS_
CONFIG_
CONFRRSET_H 1
#define DNS_CONFRRSET_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -131,4 +131,4 @@ void dns_c_rrso_print(FILE *fp, int indent,
...
@@ -131,4 +131,4 @@ void dns_c_rrso_print(FILE *fp, int indent,
dns_c_rrso_t
*
rrlist
);
dns_c_rrso_t
*
rrlist
);
#endif
/* DNS_
CONFIG_
CONFRRSET_H */
#endif
/* DNS_CONFRRSET_H */
lib/dns/include/dns/confview.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFVIEW_H
#ifndef DNS_CONFVIEW_H
#define DNS_
CONFIG_
CONFVIEW_H 1
#define DNS_CONFVIEW_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -493,4 +493,4 @@ isc_result_t dns_c_view_unsetserialqueries(dns_c_view_t *view);
...
@@ -493,4 +493,4 @@ isc_result_t dns_c_view_unsetserialqueries(dns_c_view_t *view);
#endif
/* DNS_
CONFIG_
CONFVIEW_H */
#endif
/* DNS_CONFVIEW_H */
lib/dns/include/dns/confzone.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_
CONFIG_
CONFZONE_H
#ifndef DNS_CONFZONE_H
#define DNS_
CONFIG_
CONFZONE_H 1
#define DNS_CONFZONE_H 1
/*****
/*****
***** Module Info
***** Module Info
...
@@ -400,4 +400,4 @@ isc_result_t dns_c_zone_getallowupd(dns_c_zone_t *zone,
...
@@ -400,4 +400,4 @@ isc_result_t dns_c_zone_getallowupd(dns_c_zone_t *zone,
dns_c_ipmatchlist_t
**
retval
);
dns_c_ipmatchlist_t
**
retval
);
isc_result_t
dns_c_zone_unsetallowupd
(
dns_c_zone_t
*
zone
);
isc_result_t
dns_c_zone_unsetallowupd
(
dns_c_zone_t
*
zone
);
#endif
/* DNS_
CONFIG_
CONFZONE_H */
#endif
/* DNS_CONFZONE_H */
lib/dns/include/dns/dbtable.h
View file @
4be63b1f
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef DNS_DBTABLE_H
#define DNS_DBTABLE_H 1
/*****
/*****
***** Module Info
***** Module Info
*****/
*****/
...
@@ -152,3 +155,5 @@ dns_dbtable_find(dns_dbtable_t *dbtable, dns_name_t *name,
...
@@ -152,3 +155,5 @@ dns_dbtable_find(dns_dbtable_t *dbtable, dns_name_t *name,
* Returns: ISC_R_SUCCESS on success
* Returns: ISC_R_SUCCESS on success
* <something else> no default and match
* <something else> no default and match
*/
*/
#endif
/* DNS_DBTABLE_H */
lib/dns/include/dns/master.h
View file @
4be63b1f
lib/dns/include/dns/masterdump.h
View file @
4be63b1f
lib/dns/include/dns/message.h
View file @
4be63b1f
lib/dns/include/dns/namedconf.h
View file @
4be63b1f
...
@@ -31,4 +31,4 @@
...
@@ -31,4 +31,4 @@
#include <dns/confzone.h>
#include <dns/confzone.h>
#include <dns/peer.h>
#include <dns/peer.h>
#endif
#endif
/* DNS_NAMEDCONF_H */
lib/dns/include/dns/peer.h
View file @
4be63b1f
...
@@ -146,4 +146,4 @@ isc_result_t dns_peer_getkey(dns_peer_t *peer, dns_name_t **retval);
...
@@ -146,4 +146,4 @@ isc_result_t dns_peer_getkey(dns_peer_t *peer, dns_name_t **retval);
isc_result_t
dns_peer_setkey
(
dns_peer_t
*
peer
,
dns_name_t
**
keyval
);
isc_result_t
dns_peer_setkey
(
dns_peer_t
*
peer
,
dns_name_t
**
keyval
);
#endif
/* DNS_
CONFIG_CONFS
ER
V
_H */
#endif
/* DNS_
PE
ER_H */
lib/dns/include/dns/rbt.h
View file @
4be63b1f
lib/dns/include/dns/rdataslab.h
View file @
4be63b1f
...
@@ -115,4 +115,4 @@ dns_rdataslab_subtract(unsigned char *mslab, unsigned char *sslab,
...
@@ -115,4 +115,4 @@ dns_rdataslab_subtract(unsigned char *mslab, unsigned char *sslab,
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* DNS_RDATA
D
LAB_H */
#endif
/* DNS_RDATA
S
LAB_H */
lib/dns/include/dns/tcpmsg.h
View file @
4be63b1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
*/
*/
#ifndef DNS_TCPMSG_H
#ifndef DNS_TCPMSG_H
#define DNS_TCPMSG_H
#define DNS_TCPMSG_H
1
#include <isc/buffer.h>
#include <isc/buffer.h>
#include <isc/int.h>
#include <isc/int.h>
...
...
lib/dns/include/dns/time.h
View file @
4be63b1f
lib/dns/include/dns/ttl.h
View file @
4be63b1f
...
@@ -71,4 +71,4 @@ dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl);
...
@@ -71,4 +71,4 @@ dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl);
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* DNS_
MASTER
_H */
#endif
/* DNS_
TTL
_H */
lib/dns/include/dns/zone.h
View file @
4be63b1f
lib/dns/include/dns/zoneconf.h
View file @
4be63b1f
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
#ifndef NS_ZONECONF_H
#ifndef
D
NS_ZONECONF_H
#define NS_ZONECONF_H 1
#define
D
NS_ZONECONF_H 1
#include <isc/log.h>
#include <isc/log.h>
#include <isc/types.h>
#include <isc/types.h>
...
@@ -63,4 +63,4 @@ dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zonemgr);
...
@@ -63,4 +63,4 @@ dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zonemgr);
*/
*/
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
#endif
/* NS_ZONECONF_H */
#endif
/*
D
NS_ZONECONF_H */
lib/dns/include/dns/zt.h
View file @
4be63b1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
*/