summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/include/qpid/sys/posix/PrivatePosix.h')
-rw-r--r--qpid/cpp/include/qpid/sys/posix/PrivatePosix.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h b/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
index 79cb950275..2ff5f9e64c 100644
--- a/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
+++ b/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
@@ -24,6 +24,7 @@
#include "qpid/sys/Time.h"
#include "qpid/sys/IOHandle.h"
+#include "qpid/CommonImportExport.h"
struct timespec;
struct timeval;
@@ -33,13 +34,14 @@ namespace qpid {
namespace sys {
// Private Time related implementation details
-struct timespec& toTimespec(struct timespec& ts, const Duration& t);
-struct timeval& toTimeval(struct timeval& tv, const Duration& t);
-Duration toTime(const struct timespec& ts);
+QPID_COMMON_EXTERN struct timespec& toTimespec(struct timespec& ts, const Duration& t);
+QPID_COMMON_EXTERN struct timeval& toTimeval(struct timeval& tv, const Duration& t);
+QPID_COMMON_EXTERN Duration toTime(const struct timespec& ts);
// Private SocketAddress details
class SocketAddress;
-const struct addrinfo& getAddrInfo(const SocketAddress&);
+// FIXME aconway 2011-03-22: ??
+const struct addrinfo& QPID_COMMON_EXTERN getAddrInfo(const SocketAddress&);
// Private fd related implementation details
class IOHandlePrivate {
@@ -51,7 +53,7 @@ public:
int fd;
};
-int toFd(const IOHandlePrivate* h);
+QPID_COMMON_EXTERN int toFd(const IOHandlePrivate* h);
// Posix fd as an IOHandle
class PosixIOHandle : public IOHandle {