diff options
Diffstat (limited to 'ace/SOCK_Stream.i')
-rw-r--r-- | ace/SOCK_Stream.i | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/ace/SOCK_Stream.i b/ace/SOCK_Stream.i index f13d0ca24ff..5ba88bc55c5 100644 --- a/ace/SOCK_Stream.i +++ b/ace/SOCK_Stream.i @@ -2,27 +2,28 @@ // $Id$ #include "ace/SOCK_Stream.h" +#include "ace/OS_NS_sys_socket.h" -ASYS_INLINE +ACE_INLINE ACE_SOCK_Stream::ACE_SOCK_Stream (void) { // ACE_TRACE ("ACE_SOCK_Stream::ACE_SOCK_Stream"); } -ASYS_INLINE +ACE_INLINE ACE_SOCK_Stream::ACE_SOCK_Stream (ACE_HANDLE h) { // ACE_TRACE ("ACE_SOCK_Stream::ACE_SOCK_Stream"); this->set_handle (h); } -ASYS_INLINE +ACE_INLINE ACE_SOCK_Stream::~ACE_SOCK_Stream (void) { // ACE_TRACE ("ACE_SOCK_Stream::~ACE_SOCK_Stream"); } -ASYS_INLINE int +ACE_INLINE int ACE_SOCK_Stream::close_reader (void) { ACE_TRACE ("ACE_SOCK_Stream::close_reader"); @@ -34,7 +35,7 @@ ACE_SOCK_Stream::close_reader (void) // Shut down just the writing end of a ACE_SOCK. -ASYS_INLINE int +ACE_INLINE int ACE_SOCK_Stream::close_writer (void) { ACE_TRACE ("ACE_SOCK_Stream::close_writer"); @@ -44,7 +45,7 @@ ACE_SOCK_Stream::close_writer (void) return 0; } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::recv_n (void *buf, size_t len, int flags, @@ -60,7 +61,7 @@ ACE_SOCK_Stream::recv_n (void *buf, bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::recv_n (void *buf, size_t len, const ACE_Time_Value *timeout, @@ -74,7 +75,7 @@ ACE_SOCK_Stream::recv_n (void *buf, bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::recvv_n (iovec iov[], int n, const ACE_Time_Value *timeout, @@ -88,7 +89,7 @@ ACE_SOCK_Stream::recvv_n (iovec iov[], bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::send_n (const void *buf, size_t len, int flags, @@ -104,7 +105,7 @@ ACE_SOCK_Stream::send_n (const void *buf, bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::send_n (const void *buf, size_t len, const ACE_Time_Value *timeout, @@ -118,7 +119,7 @@ ACE_SOCK_Stream::send_n (const void *buf, bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::sendv_n (const iovec iov[], int n, const ACE_Time_Value *timeout, @@ -132,7 +133,7 @@ ACE_SOCK_Stream::sendv_n (const iovec iov[], bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::send_n (const ACE_Message_Block *message_block, const ACE_Time_Value *timeout, size_t *bytes_transferred) const @@ -144,7 +145,7 @@ ACE_SOCK_Stream::send_n (const ACE_Message_Block *message_block, bytes_transferred); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::send_urg (const void *ptr, size_t len, const ACE_Time_Value *timeout) const @@ -157,7 +158,7 @@ ACE_SOCK_Stream::send_urg (const void *ptr, timeout); } -ASYS_INLINE ssize_t +ACE_INLINE ssize_t ACE_SOCK_Stream::recv_urg (void *ptr, size_t len, const ACE_Time_Value *timeout) const |