Browse Source

[2980] Move files into isc::hooks namespace

Stephen Morris 12 years ago
parent
commit
5b6251fb9b

+ 1 - 2
src/lib/hooks/callout_handle.cc

@@ -22,10 +22,9 @@
 #include <vector>
 
 using namespace std;
-using namespace isc::util;
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 // Constructor.
 CalloutHandle::CalloutHandle(const boost::shared_ptr<CalloutManager>& manager)

+ 1 - 1
src/lib/hooks/callout_handle.h

@@ -26,7 +26,7 @@
 #include <vector>
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 /// @brief No such argument
 ///

+ 1 - 2
src/lib/hooks/callout_manager.cc

@@ -22,10 +22,9 @@
 #include <utility>
 
 using namespace std;
-using namespace isc::util;
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 // Register a callout for the current library.
 

+ 1 - 1
src/lib/hooks/callout_manager.h

@@ -25,7 +25,7 @@
 #include <string>
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 /// @brief No such library
 ///

+ 1 - 1
src/lib/hooks/library_handle.cc

@@ -16,7 +16,7 @@
 #include <hooks/library_handle.h>
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 // Callout manipulation - all deferred to the CalloutManager.
 

+ 1 - 1
src/lib/hooks/library_handle.h

@@ -18,7 +18,7 @@
 #include <string>
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 // Forward declarations
 class CalloutHandle;

+ 1 - 1
src/lib/hooks/server_hooks.cc

@@ -22,7 +22,7 @@ using namespace std;
 using namespace isc;
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 // Constructor - register the pre-defined hooks and check that the indexes
 // assigned to them are as expected.

+ 1 - 1
src/lib/hooks/server_hooks.h

@@ -24,7 +24,7 @@
 #include <vector>
 
 namespace isc {
-namespace util {
+namespace hooks {
 
 /// @brief Duplicate hook
 ///

+ 1 - 1
src/lib/hooks/tests/callout_handle_unittest.cc

@@ -21,7 +21,7 @@
 
 #include <gtest/gtest.h>
 
-using namespace isc::util;
+using namespace isc::hooks;
 using namespace std;
 
 namespace {

+ 1 - 1
src/lib/hooks/tests/callout_manager_unittest.cc

@@ -34,7 +34,7 @@
 /// structure for the tests is common.
 
 using namespace isc;
-using namespace isc::util;
+using namespace isc::hooks;
 using namespace std;
 
 namespace {

+ 1 - 1
src/lib/hooks/tests/handles_unittest.cc

@@ -40,7 +40,7 @@
 /// - An active callout can only modify the registration of callouts registered
 ///   by its own library.
 
-using namespace isc::util;
+using namespace isc::hooks;
 using namespace std;
 
 namespace {

+ 1 - 1
src/lib/hooks/tests/server_hooks_unittest.cc

@@ -21,7 +21,7 @@
 #include <vector>
 
 using namespace isc;
-using namespace isc::util;
+using namespace isc::hooks;
 using namespace std;
 
 namespace {