summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-10-09 03:38:09 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-10-09 03:38:09 +0000
commit7d7ba3c0a123df4e2af0ae19bec67ae40f58111f (patch)
tree263349df12bb0ece39381692b0c1e3d5d3fa44d9 /cpp/include
parent0fd5dbc422debca381b733bd1abc1da3b2e2115e (diff)
downloadqpid-python-7d7ba3c0a123df4e2af0ae19bec67ae40f58111f.tar.gz
Split responsibility for name lookup in AsynchConnector::connect
into new SocketAddress class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/sys/posix/PrivatePosix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/qpid/sys/posix/PrivatePosix.h b/cpp/include/qpid/sys/posix/PrivatePosix.h
index 6ffd3d8383..79cb950275 100644
--- a/cpp/include/qpid/sys/posix/PrivatePosix.h
+++ b/cpp/include/qpid/sys/posix/PrivatePosix.h
@@ -27,6 +27,7 @@
struct timespec;
struct timeval;
+struct addrinfo;
namespace qpid {
namespace sys {
@@ -36,6 +37,10 @@ struct timespec& toTimespec(struct timespec& ts, const Duration& t);
struct timeval& toTimeval(struct timeval& tv, const Duration& t);
Duration toTime(const struct timespec& ts);
+// Private SocketAddress details
+class SocketAddress;
+const struct addrinfo& getAddrInfo(const SocketAddress&);
+
// Private fd related implementation details
class IOHandlePrivate {
public: