|
Veritable Lasagna
An Allocator & Data Structure Library for C.
|
Include dependency graph for vl_filesys.c:Functions | |
| void | vlFSInit (vl_filesys *sys) |
| Initializes a filesystem context. | |
| void | vlFSFree (vl_filesys *sys) |
| Frees resources associated with a filesystem context. | |
| vl_filesys * | vlFSNew (void) |
| Creates a new filesystem context. | |
| void | vlFSDelete (vl_filesys *sys) |
| Deletes a filesystem context created with vlFSNew. | |
| vl_filesys_stat * | vlFSStatNew (vl_filesys *sys) |
| Creates a new file stat object. | |
| void | vlFSStatDelete (vl_filesys_stat *stat) |
| Deletes a file stat object. | |
| vl_filesys_path * | vlFSPathNew (vl_filesys *sys, const char *pathStr) |
| Creates a new filesystem path object. | |
| void | vlFSPathDelete (vl_filesys_path *path) |
| Deletes a filesystem path object. | |
| vl_filesys_path * | vlFSPathClone (const vl_filesys_path *src, vl_filesys_path *dest) |
| Clones a filesystem path. | |
| vl_bool_t | vlFSPathEquals (const vl_filesys_path *pathA, const vl_filesys_path *pathB) |
| Compares two filesystem paths for equality. | |
| void | vlFSPathSet (vl_filesys_path *path, const char *pathStr) |
| Sets the path string for a filesystem path object. | |
| const vl_transient * | vlFSPathString (const vl_filesys_path *path) |
| Gets the string representation of a filesystem path. | |
| void | vlFSPathJoin (const vl_filesys_path *base, vl_filesys_path *dest, const char *component) |
| Joins a path component to a base path. | |
| void | vlFSPathNormalize (vl_filesys_path *path) |
| Normalizes a filesystem path by resolving relative components. | |
| void | vlFSPathParent (const vl_filesys_path *path, vl_filesys_path *parentOut) |
| Gets the parent directory of a filesystem path. | |
| void vlFSDelete | ( | vl_filesys * | sys | ) |
Deletes a filesystem context created with vlFSNew.
| sys | Pointer to the filesystem context to delete |
Here is the call graph for this function:| void vlFSFree | ( | vl_filesys * | sys | ) |
Frees resources associated with a filesystem context.
| sys | Pointer to the filesystem context to free |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSInit | ( | vl_filesys * | sys | ) |
Initializes a filesystem context.
| sys | Pointer to the filesystem context to initialize |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_filesys * vlFSNew | ( | void | ) |
Creates a new filesystem context.
Here is the call graph for this function:| vl_filesys_path * vlFSPathClone | ( | const vl_filesys_path * | src, |
| vl_filesys_path * | dest | ||
| ) |
Clones a filesystem path.
| src | Source path to clone | |
| [out] | dest | Destination path object |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSPathDelete | ( | vl_filesys_path * | path | ) |
Deletes a filesystem path object.
| path | Pointer to the path object to delete |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_bool_t vlFSPathEquals | ( | const vl_filesys_path * | pathA, |
| const vl_filesys_path * | pathB | ||
| ) |
Compares two filesystem paths for equality.
| pathA | First path to compare |
| pathB | Second path to compare |
Here is the call graph for this function:| void vlFSPathJoin | ( | const vl_filesys_path * | base, |
| vl_filesys_path * | dest, | ||
| const char * | component | ||
| ) |
Joins a path component to a base path.
| base | Base path to join to | |
| [out] | dest | Destination path object for the result |
| component | Path component to join |
Here is the call graph for this function:
Here is the caller graph for this function:| vl_filesys_path * vlFSPathNew | ( | vl_filesys * | sys, |
| const char * | path | ||
| ) |
Creates a new filesystem path object.
| sys | Pointer to the filesystem context |
| path | String representation of the path |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSPathNormalize | ( | vl_filesys_path * | path | ) |
Normalizes a filesystem path by resolving relative components.
This function will normalize the given path with native file path separators.
| path | Pointer to the path object to normalize |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSPathParent | ( | const vl_filesys_path * | path, |
| vl_filesys_path * | parentOut | ||
| ) |
Gets the parent directory of a filesystem path.
| path | Input path | |
| [out] | parentOut | Pointer to store the parent path |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSPathSet | ( | vl_filesys_path * | path, |
| const char * | pathStr | ||
| ) |
Sets the path string for a filesystem path object.
| path | Pointer to the path object |
| pathStr | String representation of the new path |
Here is the call graph for this function:
Here is the caller graph for this function:| const vl_transient * vlFSPathString | ( | const vl_filesys_path * | path | ) |
Gets the string representation of a filesystem path.
| path | Pointer to the path object |
Here is the call graph for this function:
Here is the caller graph for this function:| void vlFSStatDelete | ( | vl_filesys_stat * | stat | ) |
Deletes a file stat object.
| stat | Pointer to the stat object to delete |
Here is the call graph for this function:| vl_filesys_stat * vlFSStatNew | ( | vl_filesys * | sys | ) |
Creates a new file stat object.
| sys | Pointer to the filesystem context |
Here is the call graph for this function: