summaryrefslogtreecommitdiff
path: root/ace/Dirent.i
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-18 03:10:50 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-18 03:10:50 +0000
commitba04b6a76c30dc9a046cf92dc0cf96b2284e697b (patch)
tree8ee9a26f9cfe479f5c87fe70717f7ea5251b8dec /ace/Dirent.i
parent6002fa11c662edd63704ea9f20c69ffd8748f48f (diff)
downloadATCD-ba04b6a76c30dc9a046cf92dc0cf96b2284e697b.tar.gz
ChangeLogTag:Wed May 17 20:02:25 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/Dirent.i')
-rw-r--r--ace/Dirent.i20
1 files changed, 11 insertions, 9 deletions
diff --git a/ace/Dirent.i b/ace/Dirent.i
index a42fcbd3c45..e4ae8960993 100644
--- a/ace/Dirent.i
+++ b/ace/Dirent.i
@@ -1,6 +1,8 @@
/* -*- C++ -*- */
// $Id$
+#include "ace/Log_Msg.h"
+
ACE_INLINE int
ACE_Dirent::open (const ACE_TCHAR *dirname)
{
@@ -9,11 +11,11 @@ ACE_Dirent::open (const ACE_TCHAR *dirname)
if (this->dirp_ != 0)
{
- ACE_OS::closedir (this->dirp_);
+ ACE_OS_Dirent::closedir (this->dirp_);
this->dirp_ = 0;
}
- this->dirp_ = ACE_OS::opendir (dirname);
+ this->dirp_ = ACE_OS_Dirent::opendir (dirname);
if (this->dirp_ == 0)
return -1;
@@ -41,13 +43,13 @@ ACE_INLINE
ACE_Dirent::~ACE_Dirent (void)
{
if (this->dirp_ != 0)
- ACE_OS::closedir (this->dirp_);
+ ACE_OS_Dirent::closedir (this->dirp_);
}
ACE_INLINE dirent *
ACE_Dirent::read (void)
{
- return this->dirp_ ? ACE_OS::readdir (this->dirp_) : 0;
+ return this->dirp_ ? ACE_OS_Dirent::readdir (this->dirp_) : 0;
}
ACE_INLINE int
@@ -55,7 +57,7 @@ ACE_Dirent::read (struct dirent *entry,
struct dirent **result)
{
return this->dirp_
- ? ACE_OS::readdir_r (this->dirp_, entry, result)
+ ? ACE_OS_Dirent::readdir_r (this->dirp_, entry, result)
: 0;
}
@@ -64,7 +66,7 @@ ACE_Dirent::close (void)
{
if (this->dirp_ != 0)
{
- ACE_OS::closedir (this->dirp_);
+ ACE_OS_Dirent::closedir (this->dirp_);
// Prevent double closure
this->dirp_ = 0;
@@ -75,19 +77,19 @@ ACE_INLINE void
ACE_Dirent::rewind (void)
{
if (this->dirp_)
- ACE_OS::rewinddir (this->dirp_);
+ ACE_OS_Dirent::rewinddir (this->dirp_);
}
ACE_INLINE void
ACE_Dirent::seek (long loc)
{
if (this->dirp_)
- ACE_OS::seekdir (this->dirp_, loc);
+ ACE_OS_Dirent::seekdir (this->dirp_, loc);
}
ACE_INLINE long
ACE_Dirent::tell (void)
{
- return this->dirp_ ? ACE_OS::telldir (this->dirp_) : 0;
+ return this->dirp_ ? ACE_OS_Dirent::telldir (this->dirp_) : 0;
}