Barracuda Application Server C/C++ Reference
NO
DirIntf Struct Reference

Detailed Description

Directory handle for a directory opened with IoIntf_OpenDir.

Example:

DirIntfPtr dir = io->openDirFp(io, relPath, &status, 0);
if(dir)
{
while ( ! dir->readFp(dir) )
{
IoStat st;
const char* name = dir->getNameFp(dir);
dir->statFp(dir, &st);
}
}
io->closeDirFp(io, &dir);
See also
IoIntf

#include <IoIntf.h>

Public Attributes

DirIntf_Read readFp
 Iterate the resources in the file system.
 
DirIntf_GetName getNameFp
 Get resource name.
 
DirIntf_Stat statFp
 Get resource information.
 
IoIntf::openDirFp
IoIntf_OpenDir openDirFp
Open directory.
Definition: IoIntf.h:396
IoStat
Resource information.
Definition: IoIntf.h:168
IoIntf::closeDirFp
IoIntf_CloseDir closeDirFp
Close directory.
Definition: IoIntf.h:384