Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
BaFile.h File Reference
#include <IoIntf.h>
Include dependency graph for BaFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BA_API DirIntfPtr baOpenDir (const char *dirname, int *status, const char **ecode)
 Open a directory through the platform's default DiskIo. More...
 
BA_API int baCloseDir (DirIntfPtr *dirIntf)
 Close a directory iterator. More...
 
BA_API int baStat (const char *name, IoStat *st)
 Read file or directory metadata. More...
 
BA_API ResIntfPtr baOpenRes (const char *name, U32 mode, int *status, const char **ecode)
 Open a binary file for reading or writing. More...
 
BA_API int baCloseRes (ResIntfPtr *fp)
 Close a resource handle, including when the underlying close reports failure. More...
 
BA_API int baMkDir (const char *dname, const char **ecode)
 Create a directory. More...
 
BA_API int baRmdDir (const char *dname, const char **ecode)
 Remove an empty directory. More...
 
BA_API int baRemove (const char *fname, const char **ecode)
 Remove a file. More...
 
BA_API int baRename (const char *from, const char *to, const char **ecode)
 Rename a file or directory. More...