Pyrogenesis  trunk
Namespaces | Functions
vfs_util.cpp File Reference
#include "precompiled.h"
#include "lib/file/vfs/vfs_util.h"
#include <cstdio>
#include <cstring>
#include <queue>
#include "lib/regex.h"
#include "lib/sysdep/filesystem.h"
Include dependency graph for vfs_util.cpp:

Namespaces

 vfs
 

Functions

Status vfs::GetPathnames (const PIVFS &fs, const VfsPath &path, const wchar_t *filter, VfsPaths &pathnames)
 
Status vfs::ForEachFile (const PIVFS &fs, const VfsPath &path, FileCallback cb, uintptr_t cbData, const wchar_t *pattern=0, size_t flags=0, DirCallback dircb=NULL, uintptr_t dircbData=0)
 call back for each file in a directory tree, and optionally each directory. More...
 
void vfs::NextNumberedFilename (const PIVFS &fs, const VfsPath &pathnameFormat, size_t &nextNumber, VfsPath &nextPathname)
 Determine the next available pathname with a given format. More...