From: Kean Johnston Date: Tue, 10 Sep 2013 11:10:53 +0000 (+0200) Subject: [443] Removed asiolink.h from NSAS and use the full version instead. X-Git-Tag: bind10-1.2.0beta1-release~221^2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=534a84a7d3f35a11204966317724bb8327a36282;p=thirdparty%2Fkea.git [443] Removed asiolink.h from NSAS and use the full version instead. --- diff --git a/src/lib/nsas/Makefile.am b/src/lib/nsas/Makefile.am index eb8c0c3d4a..dd30593a73 100644 --- a/src/lib/nsas/Makefile.am +++ b/src/lib/nsas/Makefile.am @@ -38,7 +38,6 @@ BUILT_SOURCES = nsas_messages.h nsas_messages.cc # Library sources. The generated files will not be in the distribution. libb10_nsas_la_SOURCES = address_entry.h address_entry.cc -libb10_nsas_la_SOURCES += asiolink.h libb10_nsas_la_SOURCES += hash.cc hash.h libb10_nsas_la_SOURCES += hash_deleter.h libb10_nsas_la_SOURCES += hash_key.cc hash_key.h diff --git a/src/lib/nsas/README b/src/lib/nsas/README index d0598caa72..144bdded95 100644 --- a/src/lib/nsas/README +++ b/src/lib/nsas/README @@ -1,7 +1,2 @@ For an overview of the Nameserver Address Store, see the requirements and design documents at http://bind10.isc.org/wiki/Resolver. - -At the time of writing (19 October 2010), the file asiolink.h is present in this -directory only for the purposes of development. When the resolver's -asynchronous I/O code has been finished, this will be removed and the NSAS will -use the "real" code. diff --git a/src/lib/nsas/address_request_callback.h b/src/lib/nsas/address_request_callback.h index e43dfe295f..6b2e58e275 100644 --- a/src/lib/nsas/address_request_callback.h +++ b/src/lib/nsas/address_request_callback.h @@ -15,7 +15,8 @@ #ifndef ADDRESS_REQUEST_CALLBACK_H #define ADDRESS_REQUEST_CALLBACK_H -#include "asiolink.h" +#include + #include "nameserver_address.h" namespace isc { diff --git a/src/lib/nsas/asiolink.h b/src/lib/nsas/asiolink.h deleted file mode 100644 index b236a0e6b7..0000000000 --- a/src/lib/nsas/asiolink.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") -// -// Permission to use, copy, modify, and/or distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH -// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, -// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -// PERFORMANCE OF THIS SOFTWARE. - -#ifndef ASIOLINK_H -#define ASIOLINK_H - -#include -#include - -#endif // ASIOLINK_H diff --git a/src/lib/nsas/nameserver_address.h b/src/lib/nsas/nameserver_address.h index 5f5c7c95be..5a8ae465ff 100644 --- a/src/lib/nsas/nameserver_address.h +++ b/src/lib/nsas/nameserver_address.h @@ -19,7 +19,8 @@ #include -#include "asiolink.h" +#include + #include "address_entry.h" #include "nsas_types.h" diff --git a/src/lib/nsas/nameserver_entry.h b/src/lib/nsas/nameserver_entry.h index 3ffdf1001d..320c74ae85 100644 --- a/src/lib/nsas/nameserver_entry.h +++ b/src/lib/nsas/nameserver_entry.h @@ -27,8 +27,9 @@ #include +#include + #include "address_entry.h" -#include "asiolink.h" #include "nsas_types.h" #include "hash_key.h" #include "fetchable.h" diff --git a/src/lib/nsas/tests/nameserver_entry_unittest.cc b/src/lib/nsas/tests/nameserver_entry_unittest.cc index e0ec0ad183..4cff15da8f 100644 --- a/src/lib/nsas/tests/nameserver_entry_unittest.cc +++ b/src/lib/nsas/tests/nameserver_entry_unittest.cc @@ -30,7 +30,8 @@ #include #include -#include "../asiolink.h" +#include + #include "../address_entry.h" #include "../nameserver_entry.h" #include "../nameserver_address.h" diff --git a/src/lib/nsas/tests/zone_entry_unittest.cc b/src/lib/nsas/tests/zone_entry_unittest.cc index 875490605f..fe5eb883b6 100644 --- a/src/lib/nsas/tests/zone_entry_unittest.cc +++ b/src/lib/nsas/tests/zone_entry_unittest.cc @@ -23,7 +23,8 @@ #include #include -#include "../asiolink.h" +#include + #include "../zone_entry.h" #include "../nameserver_entry.h" #include "../address_request_callback.h" diff --git a/src/lib/nsas/zone_entry.h b/src/lib/nsas/zone_entry.h index b0c26c313d..ca4a6be765 100644 --- a/src/lib/nsas/zone_entry.h +++ b/src/lib/nsas/zone_entry.h @@ -28,9 +28,10 @@ #include #include +#include + #include "hash_key.h" #include "nsas_entry.h" -#include "asiolink.h" #include "fetchable.h" #include "nsas_types.h" #include "glue_hints.h"