@@ -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)
@@ -26,7 +26,7 @@
/// @brief No such argument
///
#include <utility>
// Register a callout for the current library.
@@ -25,7 +25,7 @@
#include <string>
/// @brief No such library
@@ -16,7 +16,7 @@
#include <hooks/library_handle.h>
// Callout manipulation - all deferred to the CalloutManager.
@@ -18,7 +18,7 @@
// Forward declarations
class CalloutHandle;
@@ -22,7 +22,7 @@ using namespace std;
using namespace isc;
// Constructor - register the pre-defined hooks and check that the indexes
// assigned to them are as expected.
@@ -24,7 +24,7 @@
/// @brief Duplicate hook
@@ -21,7 +21,7 @@
#include <gtest/gtest.h>
+using namespace isc::hooks;
namespace {
@@ -34,7 +34,7 @@
/// structure for the tests is common.
@@ -40,7 +40,7 @@
/// - An active callout can only modify the registration of callouts registered
/// by its own library.