From 2bb57ac57ace37203c505ff17147210feca34d73 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 15 Jan 2010 14:11:39 +0100 Subject: ZMQII-39: Implement IPC transport --- src/ip.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/ip.hpp') diff --git a/src/ip.hpp b/src/ip.hpp index 8a0a34f..16c1f62 100644 --- a/src/ip.hpp +++ b/src/ip.hpp @@ -32,6 +32,10 @@ #include #endif +#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS +#include +#endif + namespace zmq { @@ -42,6 +46,11 @@ namespace zmq // This function resolves a string in : format. // Hostname can be either the name of the host or its IP address. int resolve_ip_hostname (sockaddr_in *addr_, const char *hostname_); + +#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS + // This function sets up the sockaddr_un structure with the pathname_ + int resolve_local_path( sockaddr_un * addr_, const char* pathname_); +#endif } #endif -- cgit v1.2.3