From: Evan Hunt Date: Mon, 12 Jul 2010 18:52:23 +0000 (+0000) Subject: Added function definitions and moved a variable declaration for win32 build. X-Git-Tag: v9.7.1b1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b186490ddab13a297486ed2a9f16e25546596e6;p=thirdparty%2Fbind9.git Added function definitions and moved a variable declaration for win32 build. --- diff --git a/bin/named/server.c b/bin/named/server.c index 040530d80e0..a99f6d66e0e 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.556.8.17 2010/07/11 23:46:35 tbox Exp $ */ +/* $Id: server.c,v 1.556.8.18 2010/07/12 18:52:23 each Exp $ */ /*! \file */ @@ -6779,12 +6779,13 @@ ns_server_add_zone(ns_server_t *server, char *args) { */ result = dns_zone_loadnew(zone); if (result != ISC_R_SUCCESS) { + dns_db_t *dbp = NULL; + isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_SERVER, ISC_LOG_INFO, "addzone failed; reverting."); /* If the zone loaded partially, unload it */ - dns_db_t *dbp = NULL; if (dns_zone_getdb(zone, &dbp) == ISC_R_SUCCESS) { dns_db_detach(&dbp); dns_zone_unload(zone); diff --git a/lib/dns/win32/libdns.def b/lib/dns/win32/libdns.def index 4ef338f1674..87ead548b71 100644 --- a/lib/dns/win32/libdns.def +++ b/lib/dns/win32/libdns.def @@ -250,6 +250,7 @@ dns_keytable_delete dns_keytable_deletekeynode dns_keytable_detach dns_keytable_detachkeynode +dns_keytable_dump dns_keytable_find dns_keytable_finddeepestmatch dns_keytable_findkeynode @@ -373,9 +374,11 @@ dns_name_setbuffer dns_name_settotextfilter dns_name_split dns_name_tofilenametext +dns_name_toprincipal dns_name_toregion dns_name_tostring dns_name_totext +dns_name_totext2 dns_name_towire dns_ncache_add dns_ncache_getrdataset @@ -706,6 +709,7 @@ dns_view_setresquerystats dns_view_setresstats dns_view_setrootdelonly dns_view_simplefind +dns_view_thaw dns_view_weakattach dns_view_weakdetach dns_viewlist_find @@ -778,6 +782,7 @@ dns_zone_idetach dns_zone_isforced dns_zone_load dns_zone_loadandthaw +dns_zone_loadnew dns_zone_log dns_zone_maintenance dns_zone_markdirty diff --git a/lib/isc/win32/libisc.def b/lib/isc/win32/libisc.def index adf0b42ed79..509eef5e81e 100644 --- a/lib/isc/win32/libisc.def +++ b/lib/isc/win32/libisc.def @@ -537,6 +537,7 @@ isc_thread_setconcurrency isc_time_add isc_time_compare isc_time_formatISO8601 +isc_time_formattimestamp isc_time_isepoch isc_time_microdiff isc_time_nanoseconds