summaryrefslogtreecommitdiff
path: root/ace/FIFO.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
commit8616de7e2c6251faef4a9b88cb4b3ec3eabd4bb1 (patch)
tree27270cb30bc40f06521f1755284179c868581ca7 /ace/FIFO.cpp
parentbbb149d818f5cfe70fd4379701b85a5b9b5881d5 (diff)
downloadATCD-8616de7e2c6251faef4a9b88cb4b3ec3eabd4bb1.tar.gz
Added LPSECURITY_ATTRIBUTES to a bunch of methods.
Diffstat (limited to 'ace/FIFO.cpp')
-rw-r--r--ace/FIFO.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/FIFO.cpp b/ace/FIFO.cpp
index 8c1f4d1b980..bd6ca63c695 100644
--- a/ace/FIFO.cpp
+++ b/ace/FIFO.cpp
@@ -23,7 +23,8 @@ ACE_FIFO::dump (void) const
}
int
-ACE_FIFO::open (const char *r, int flags, int perms)
+ACE_FIFO::open (const char *r, int flags, int perms,
+ LPSECURITY_ATTRIBUTES sa)
{
ACE_TRACE ("ACE_FIFO::open");
ACE_OS::strncpy (this->rendezvous_, r, MAXPATHLEN);
@@ -33,16 +34,17 @@ ACE_FIFO::open (const char *r, int flags, int perms)
&& !(errno == EEXIST))
return -1;
- this->set_handle (ACE_OS::open (this->rendezvous_, flags));
+ this->set_handle (ACE_OS::open (this->rendezvous_, flags, 0, sa));
return this->get_handle () == ACE_INVALID_HANDLE ? -1 : 0;
}
ACE_FIFO::ACE_FIFO (const char *fifo_name,
int flags,
- int perms)
+ int perms,
+ LPSECURITY_ATTRIBUTES sa)
{
ACE_TRACE ("ACE_FIFO::ACE_FIFO");
- if (this->open (fifo_name, flags, perms) == -1)
+ if (this->open (fifo_name, flags, perms, sa) == -1)
ACE_ERROR ((LM_ERROR, "%p\n", "ACE_FIFO"));
}