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);
Resource information.
Definition: IoIntf.h:168
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.