diff options
Diffstat (limited to 'ace/SOCK_Stream.i')
-rw-r--r-- | ace/SOCK_Stream.i | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/SOCK_Stream.i b/ace/SOCK_Stream.i index 93a35ad219d..b48ce0ef64f 100644 --- a/ace/SOCK_Stream.i +++ b/ace/SOCK_Stream.i @@ -7,7 +7,7 @@ // Shut down just the reading end of a ACE_SOCK. -inline int +ASYS_INLINE int ACE_SOCK_Stream::close_reader (void) { ACE_TRACE ("ACE_SOCK_Stream::close_reader"); @@ -19,7 +19,7 @@ ACE_SOCK_Stream::close_reader (void) // Shut down just the writing end of a ACE_SOCK. -inline int +ASYS_INLINE int ACE_SOCK_Stream::close_writer (void) { ACE_TRACE ("ACE_SOCK_Stream::close_writer"); @@ -29,7 +29,7 @@ ACE_SOCK_Stream::close_writer (void) return 0; } -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::send_n (const void *buf, size_t len, int flags, const ACE_Time_Value *timeout) { @@ -37,7 +37,7 @@ ACE_SOCK_Stream::send_n (const void *buf, size_t len, int flags, return ACE::send_n (this->get_handle (), buf, len, flags, timeout); } -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::recv_n (void *buf, size_t len, int flags, const ACE_Time_Value *timeout) { @@ -48,7 +48,7 @@ ACE_SOCK_Stream::recv_n (void *buf, size_t len, int flags, // Receive exactly BUF_SIZE bytes from file descriptor this->handle // into <buf>. Keep trying until this many bytes are received. -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::recv_n (void *buf, int buf_size, int flags) const { ACE_TRACE ("ACE_SOCK_Stream::recv_n"); @@ -58,7 +58,7 @@ ACE_SOCK_Stream::recv_n (void *buf, int buf_size, int flags) const // Send exactly N bytes from <buf> to <handle>. Keeping trying // until this many bytes are sent. -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::send_n (const void *buf, int buf_size, int flags) const { ACE_TRACE ("ACE_SOCK_Stream::send_n"); @@ -68,7 +68,7 @@ ACE_SOCK_Stream::send_n (const void *buf, int buf_size, int flags) const // Receive exactly BUF_SIZE bytes from file descriptor // into BUF. Keep trying until this many bytes are received. -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::recv_n (void *buf, int buf_size) const { ACE_TRACE ("ACE_SOCK_Stream::recv_n"); @@ -78,21 +78,21 @@ ACE_SOCK_Stream::recv_n (void *buf, int buf_size) const // Send exactly N bytes from BUF to THIS->SOK_FD. Keeping trying // until this many bytes are sent. -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::send_n (const void *buf, int buf_size) const { ACE_TRACE ("ACE_SOCK_Stream::send_n"); return ACE::send_n (this->get_handle (), buf, buf_size); } -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::send_urg (void *ptr, int len) { ACE_TRACE ("ACE_SOCK_Stream::send_urg"); return ACE_OS::send (this->get_handle (), (char *) ptr, len, MSG_OOB); } -inline ssize_t +ASYS_INLINE ssize_t ACE_SOCK_Stream::recv_urg (void *ptr, int len) { ACE_TRACE ("ACE_SOCK_Stream::recv_urg"); |