diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/FIFO_Send_Msg.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/FIFO_Send_Msg.h')
-rw-r--r-- | ace/FIFO_Send_Msg.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ace/FIFO_Send_Msg.h b/ace/FIFO_Send_Msg.h index 6e6e3373e3b..20dc659b880 100644 --- a/ace/FIFO_Send_Msg.h +++ b/ace/FIFO_Send_Msg.h @@ -5,13 +5,13 @@ // // = LIBRARY // ace -// +// // = FILENAME // FIFO_Send_Msg.h // // = AUTHOR -// Doug Schmidt -// +// Doug Schmidt +// // ============================================================================ #ifndef ACE_FIFO_SEND_MSG_H @@ -20,28 +20,28 @@ #include "ace/FIFO_Send.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ class ACE_Export ACE_FIFO_Send_Msg : public ACE_FIFO_Send { // = TITLE // Sender side for the Record oriented C++ wrapper for UNIX - // FIFOs. + // FIFOs. public: // = Initialization methods. ACE_FIFO_Send_Msg (void); // Default constructor. - ACE_FIFO_Send_Msg (const char *rendezvous, - int flags = O_WRONLY, - int perms = ACE_DEFAULT_FILE_PERMS, + ACE_FIFO_Send_Msg (const char *rendezvous, + int flags = O_WRONLY, + int perms = ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa = 0); // Open up a record-oriented named pipe for writing. - int open (const char *rendezvous, - int flags = O_WRONLY, - int perms = ACE_DEFAULT_FILE_PERMS, + int open (const char *rendezvous, + int flags = O_WRONLY, + int perms = ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa = 0); // Open up a record-oriented named pipe for writing. @@ -52,15 +52,15 @@ public: // Send <buf> of exactly <len> bytes (block until done). #if defined (ACE_HAS_STREAM_PIPES) - ssize_t send (const ACE_Str_Buf *data, - const ACE_Str_Buf *cntl = 0, - int flags = 0); + ssize_t send (const ACE_Str_Buf *data, + const ACE_Str_Buf *cntl = 0, + int flags = 0); // Send <data> and <cntl> message via Stream pipes. - ssize_t send (int band, - const ACE_Str_Buf *data, - const ACE_Str_Buf *cntl = 0, - int flags = MSG_BAND); + ssize_t send (int band, + const ACE_Str_Buf *data, + const ACE_Str_Buf *cntl = 0, + int flags = MSG_BAND); // Send <data> and <cntl> message via Stream pipes in "band" mode. #endif /* ACE_HAS_STREAM_PIPES */ |