6 #ifndef LIBPKG_DIRSTREAM
7 #define LIBPKG_DIRSTREAM
22 unsigned int _buffer_size;
45 dirstream(
const string& pathname,
const string& pattern=
"*");
unsigned long loadaddr
The load address.
Definition: dirstream.h:68
unsigned long filetype
The file type.
Definition: dirstream.h:78
unsigned long attr
The file attributes.
Definition: dirstream.h:74
unsigned long execaddr
The execution address.
Definition: dirstream.h:70
unsigned long objtype
The object type.
Definition: dirstream.h:76
Definition: dirstream.h:65
~dirstream()
Destroy directory stream.
Definition: dirstream.cc:21
dirstream(const string &pathname, const string &pattern="*")
Construct directory stream.
Definition: dirstream.cc:12
A class for reading directories.
Definition: dirstream.h:16
dirstream & operator>>(object &obj)
Read file information.
Definition: dirstream.cc:32
string name
The object name.
Definition: dirstream.h:80
unsigned long length
The file length.
Definition: dirstream.h:72