summaryrefslogtreecommitdiff
path: root/ace/Dirent_Selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Dirent_Selector.h')
-rw-r--r--ace/Dirent_Selector.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/ace/Dirent_Selector.h b/ace/Dirent_Selector.h
index 89b2eead630..8985e4a930a 100644
--- a/ace/Dirent_Selector.h
+++ b/ace/Dirent_Selector.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C++ -*- */
//=============================================================================
/**
@@ -24,8 +24,6 @@
#include "ace/os_include/os_dirent.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
/**
* @class ACE_Dirent_Selector
*
@@ -45,7 +43,7 @@ public:
int length (void) const;
/// Return the entry at @a index.
- ACE_DIRENT *operator[] (const int index) const;
+ dirent *operator[] (const int index) const;
/// Free up resources.
int close (void);
@@ -53,19 +51,17 @@ public:
/// Open the directory @a dir and populate the <namelist_> array with
/// directory entries that match the @a selector and @a comparator.
int open (const ACE_TCHAR *dir,
- int (*selector)(const ACE_DIRENT *d) = 0,
- int (*comparator)(const ACE_DIRENT **d1, const ACE_DIRENT **d2) = 0);
+ int (*selector)(const dirent *d) = 0,
+ int (*comparator)(const dirent **d1, const dirent **d2) = 0);
protected:
/// Ptr to the namelist array.
- ACE_DIRENT **namelist_;
+ dirent **namelist_;
- /// Number of entries in the array.
+ /// # of entries in the array.
int n_;
};
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#if defined (__ACE_INLINE__)
#include "ace/Dirent_Selector.inl"
#endif /* __ACE_INLINE__ */