Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
c445b2f6
Commit
c445b2f6
authored
Dec 19, 2010
by
Evan Hunt
Browse files
Add #ifdef BIND9 to some of the new DLZ code to fix link errors
when building with --enable-exportlibs
parent
9f453d93
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/dlz.c
View file @
c445b2f6
...
...
@@ -50,7 +50,7 @@
* USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dlz.c,v 1.
8
2010/12/1
8
0
1
:5
6:22
each Exp $ */
/* $Id: dlz.c,v 1.
9
2010/12/1
9
0
2
:5
1:40
each Exp $ */
/*! \file */
...
...
@@ -232,9 +232,11 @@ dns_dlzdestroy(dns_dlzdb_t **dbp) {
*/
REQUIRE
(
dbp
!=
NULL
&&
DNS_DLZ_VALID
(
*
dbp
));
#ifdef BIND9
if
((
*
dbp
)
->
ssutable
!=
NULL
)
{
dns_ssutable_detach
(
&
(
*
dbp
)
->
ssutable
);
}
#endif
/* call the drivers destroy method */
if
((
*
dbp
)
!=
NULL
)
{
...
...
@@ -515,7 +517,7 @@ dns_dlzunregister(dns_dlzimplementation_t **dlzimp) {
RWUNLOCK
(
&
dlz_implock
,
isc_rwlocktype_write
);
}
#ifdef BIND9
/*
* Create a writeable DLZ zone. This can be called by DLZ drivers
* during configure() to create a zone that can be updated. The zone
...
...
@@ -599,6 +601,7 @@ dns_dlz_writeablezone(dns_view_t *view, const char *zone_name) {
return
(
result
);
}
#endif
/*%
* Configure a DLZ driver. This is optional, and if supplied gives
...
...
lib/dns/include/dns/dlz.h
View file @
c445b2f6
...
...
@@ -50,7 +50,7 @@
* USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dlz.h,v 1.1
0
2010/12/1
8
0
1
:5
6:22
each Exp $ */
/* $Id: dlz.h,v 1.1
1
2010/12/1
9
0
2
:5
1:41
each Exp $ */
/*! \file dns/dlz.h */
...
...
@@ -218,7 +218,9 @@ struct dns_dlzdb {
dns_dlzimplementation_t
*
implementation
;
void
*
dbdata
;
dlzconfigure_callback_t
configure_callback
;
#ifdef BIND9
dns_ssutable_t
*
ssutable
;
#endif
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment