diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
| commit | 312fe18cb5f97143f3600b207e979bc559256b6f (patch) | |
| tree | de14514b4b4c20adf0eecdcd261ae21839f6a645 /src/tool/dir.h | |
| parent | f038883a6e004eb4312ba1e761da06b596e14d3f (diff) | |
tagging yhttpd-0.7.0yhttpd-0.7.0
Diffstat (limited to 'src/tool/dir.h')
| -rw-r--r-- | src/tool/dir.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/tool/dir.h b/src/tool/dir.h index eea78f7..cff265f 100644 --- a/src/tool/dir.h +++ b/src/tool/dir.h @@ -6,9 +6,7 @@ #include <stdio.h> #include <sys/types.h> #include <dirent.h> - #include <vector> - #include "../incl.h" using namespace std; @@ -16,20 +14,20 @@ using namespace std; class dir { private: - bool b_open; - DIR *p_d; - struct dirent *p_ep; - vector<string> vec_dir; + bool b_open; + DIR *dp; + struct dirent *ep; + vector<string> dir_vec; public: - dir(); - ~dir(); - - bool open_dir( char *c_dir ); - bool open_dir( string &s_dir ); - void close_dir(); - void read_dir(); - vector<string> get_dir_vec(); + dir(); + ~dir(); + + bool open_dir( char *c_dir ); + bool open_dir( string &s_dir ); + void close_dir(); + void read_dir(); + vector<string> get_dir_vec(); }; #endif |
