summaryrefslogtreecommitdiff
path: root/ace/FIFO_Recv.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-20 18:33:11 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-20 18:33:11 +0000
commit0b674e109bc2f9b86b428817fa921adf6bde90d6 (patch)
tree27270cb30bc40f06521f1755284179c868581ca7 /ace/FIFO_Recv.cpp
parente1b4cf4c52e6e689ab6c16c602951c928551e74c (diff)
downloadATCD-0b674e109bc2f9b86b428817fa921adf6bde90d6.tar.gz
Added LPSECURITY_ATTRIBUTES to a bunch of methods.
Diffstat (limited to 'ace/FIFO_Recv.cpp')
-rw-r--r--ace/FIFO_Recv.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/ace/FIFO_Recv.cpp b/ace/FIFO_Recv.cpp
index c30cdcab937..cfa7ae5e99a 100644
--- a/ace/FIFO_Recv.cpp
+++ b/ace/FIFO_Recv.cpp
@@ -38,16 +38,17 @@ int
ACE_FIFO_Recv::open (const char *fifo_name,
int flags,
int perms,
- int persistent)
+ int persistent,
+ LPSECURITY_ATTRIBUTES sa)
{
ACE_TRACE ("ACE_FIFO_Recv::open");
- if (ACE_FIFO::open (fifo_name, ACE_NONBLOCK | flags, perms) == -1)
+ if (ACE_FIFO::open (fifo_name, ACE_NONBLOCK | flags, perms, sa) == -1)
return -1;
else if (this->disable (ACE_NONBLOCK) == -1)
return -1;
else if (persistent
- && (this->aux_handle_ = ACE_OS::open (fifo_name, O_WRONLY)) == ACE_INVALID_HANDLE)
+ && (this->aux_handle_ = ACE_OS::open (fifo_name, O_WRONLY, 0, sa)) == ACE_INVALID_HANDLE)
return -1;
else
return this->get_handle () == ACE_INVALID_HANDLE ? -1 : 0;
@@ -62,7 +63,8 @@ ACE_FIFO_Recv::ACE_FIFO_Recv (void)
ACE_FIFO_Recv::ACE_FIFO_Recv (const char *fifo_name,
int flags,
int perms,
- int persistent)
+ int persistent,
+ LPSECURITY_ATTRIBUTES sa)
: aux_handle_ (ACE_INVALID_HANDLE)
{
ACE_TRACE ("ACE_FIFO_Recv::ACE_FIFO_Recv");
@@ -70,7 +72,8 @@ ACE_FIFO_Recv::ACE_FIFO_Recv (const char *fifo_name,
if (this->ACE_FIFO_Recv::open (fifo_name,
flags,
perms,
- persistent) == -1)
+ persistent,
+ sa) == -1)
ACE_ERROR ((LM_ERROR, "%p\n", "ACE_FIFO_Recv"));
}