|
Veritable Lasagna
An Allocator & Data Structure Library for C.
|
#include <shlwapi.h>#include <windows.h>
Include dependency graph for vl_filesys_win32.c:Data Structures | |
| struct | vl_filesys_iter |
| Opaque handle for filesystem directory iteration. More... | |
Functions | |
| vl_filesys_result | vlFSStatPath (const vl_filesys_path *path, vl_filesys_stat *result) |
| Gets file status information for a given path. | |
| vl_filesys_result | vlFSStatIter (vl_filesys_iter iter, vl_filesys_stat *result) |
| Gets file status information for the current iterator position. | |
| void | vlFSPathAbsolute (vl_filesys_path *path) |
| Converts a relative path to an absolute path. | |
| vl_bool_t | vlFSPathIsAbsolute (const vl_filesys_path *path) |
| Checks if a filesystem path is absolute. | |
| vl_filesys_result | vlFSPathMkDir (const vl_filesys_path *path) |
| Creates a directory at the specified path. | |
| vl_filesys_result | vlFSPathRemove (const vl_filesys_path *path) |
| Removes a file or directory at the specified path. | |
| vl_bool_t | vlFSPathExists (const vl_filesys_path *path) |
| Checks if a file or directory exists at the specified path. | |
| vl_filesys_iter | vlFSIterNew (vl_filesys *sys) |
| Creates a new directory iterator. | |
| void | vlFSIterDelete (vl_filesys_iter iter) |
| Deletes a directory iterator. | |
| vl_filesys_result | vl_FSIterInit (vl_filesys_iter *iter, const vl_filesys_path *path) |
| vl_filesys_result | vlFSIterDir (vl_filesys_iter *iter, const vl_filesys_path *path) |
| Initializes an iterator for a directory. | |
| vl_filesys_result | vlFSIterDirRecursive (vl_filesys_iter *iter, const vl_filesys_path *path) |
| Initializes an iterator for recursive directory traversal. | |
| vl_bool_t | vlFSIterNext (vl_filesys_iter *iter) |
| Advances the iterator to the next entry. | |
| struct vl_filesys_iter_ |
Opaque handle for filesystem directory iteration.
Collaboration diagram for vl_filesys_iter:| Data Fields | ||
|---|---|---|
| DIR * | dir | |
| vl_filesys_path * | dirPath | |
| struct dirent * | entry | |
| WIN32_FIND_DATAW | findData | |
| HANDLE | findHandle | |
| vl_bool_t | hasNextEntry | |
| vl_pool_idx | iterIdx | |
| vl_bool_t | recursive | |
| struct vl_filesys_iter_ * | stackPrev | |
| vl_filesys * | sys | |
| vl_filesys_result vl_FSIterInit | ( | vl_filesys_iter * | iter, |
| const vl_filesys_path * | path | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSIterDelete | ( | vl_filesys_iter | iter | ) |
Deletes a directory iterator.
| iter | Iterator handle to delete |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_filesys_result vlFSIterDir | ( | vl_filesys_iter * | iter, |
| const vl_filesys_path * | path | ||
| ) |
Initializes an iterator for a directory.
| [in,out] | iter | Pointer to the iterator handle |
| path | Pointer to the directory path to iterate |
Here is the call graph for this function:| vl_filesys_result vlFSIterDirRecursive | ( | vl_filesys_iter * | iterPtr, |
| const vl_filesys_path * | path | ||
| ) |
Initializes an iterator for recursive directory traversal.
| [in,out] | iterPtr | Pointer to the iterator handle |
| path | Pointer to the directory path to iterate recursively |
Here is the call graph for this function:| vl_filesys_iter vlFSIterNew | ( | vl_filesys * | sys | ) |
Creates a new directory iterator.
| sys | Pointer to the filesystem context |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_bool_t vlFSIterNext | ( | vl_filesys_iter * | iter | ) |
Advances the iterator to the next entry.
| [in,out] | iter | Pointer to the iterator handle |
Here is the call graph for this function:| void vlFSPathAbsolute | ( | vl_filesys_path * | path | ) |
Converts a relative path to an absolute path.
| path | Pointer to the path object to make absolute |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_bool_t vlFSPathExists | ( | const vl_filesys_path * | path | ) |
Checks if a file or directory exists at the specified path.
| path | Pointer to the path to check |
Here is the call graph for this function:| vl_bool_t vlFSPathIsAbsolute | ( | const vl_filesys_path * | path | ) |
Checks if a filesystem path is absolute.
| path | Pointer to the path object to check |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_filesys_result vlFSPathMkDir | ( | const vl_filesys_path * | path | ) |
Creates a directory at the specified path.
| path | Pointer to the path where the directory should be created |
Here is the call graph for this function:| vl_filesys_result vlFSPathRemove | ( | const vl_filesys_path * | path | ) |
Removes a file or directory at the specified path.
| path | Pointer to the path to remove |
Here is the call graph for this function:| vl_filesys_result vlFSStatIter | ( | vl_filesys_iter | iter, |
| vl_filesys_stat * | result | ||
| ) |
Gets file status information for the current iterator position.
| iter | Directory iterator handle | |
| [out] | result | Pointer to store the stat information |
Here is the call graph for this function:| vl_filesys_result vlFSStatPath | ( | const vl_filesys_path * | path, |
| vl_filesys_stat * | result | ||
| ) |
Gets file status information for a given path.
| path | Pointer to the path to query | |
| [out] | result | Pointer to store the stat information |
Here is the call graph for this function: