17 #ifndef LIBPKG_DIRSTREAM 18 #define LIBPKG_DIRSTREAM 33 unsigned int _buffer_size;
56 dirstream(
const string& pathname,
const string& pattern=
"*");
unsigned long loadaddr
The load address.
Definition: dirstream.h:79
The namespace used to hold the package management library.
Definition: auto_dir.cc:23
unsigned long filetype
The file type.
Definition: dirstream.h:89
unsigned long attr
The file attributes.
Definition: dirstream.h:85
unsigned long execaddr
The execution address.
Definition: dirstream.h:81
unsigned long objtype
The object type.
Definition: dirstream.h:87
Definition: dirstream.h:76
~dirstream()
Destroy directory stream.
Definition: dirstream.cc:32
dirstream(const string &pathname, const string &pattern="*")
Construct directory stream.
Definition: dirstream.cc:23
A class for reading directories.
Definition: dirstream.h:27
dirstream & operator>>(object &obj)
Read file information.
Definition: dirstream.cc:43
string name
The object name.
Definition: dirstream.h:91
unsigned long length
The file length.
Definition: dirstream.h:83