From e20364fc61452aef02f6f30639b7e6c5638ec7a4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 8 May 2012 15:04:38 +0000 Subject: QPID-3603: Added SystemInfo::isLocalHost to check if a host name refers to the local host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335562 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/windows/SystemInfo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src/qpid/sys/windows/SystemInfo.cpp') diff --git a/cpp/src/qpid/sys/windows/SystemInfo.cpp b/cpp/src/qpid/sys/windows/SystemInfo.cpp index 4da440bdd4..f1b62d80ff 100755 --- a/cpp/src/qpid/sys/windows/SystemInfo.cpp +++ b/cpp/src/qpid/sys/windows/SystemInfo.cpp @@ -93,6 +93,12 @@ void SystemInfo::getLocalIpAddresses (uint16_t port, } } +bool SystemInfo::isLocalHost(const std::string& candidateHost) { + // FIXME aconway 2012-05-03: not implemented. + assert(0); + throw Exception("Not implemented: isLocalHost"); +} + void SystemInfo::getSystemId (std::string &osName, std::string &nodeName, std::string &release, -- cgit v1.2.1