#include <l4/l4vfs/types.h>Go to the source code of this file.
Classes | |
| struct | l4vfs_th_node_s |
Typedefs | |
| typedef struct l4vfs_th_node_s | l4vfs_th_node_t |
Enumerations | |
| enum | object_type_e { L4VFS_TH_TYPE_OBJECT, L4VFS_TH_TYPE_DIRECTORY } |
Functions | |
| EXTERN_C_BEGIN l4vfs_th_node_t * | l4vfs_th_new_node (const char *name, int type, l4vfs_th_node_t *parent, void *data) |
| int | l4vfs_th_destroy_child (l4vfs_th_node_t *parent, l4vfs_th_node_t *child) |
| int | l4vfs_th_free_node (l4vfs_th_node_t *node) |
| l4vfs_th_node_t * | l4vfs_th_child_for_name (l4vfs_th_node_t *parent, const char *name) |
| l4vfs_th_node_t * | l4vfs_th_node_for_id (local_object_id_t id) |
| local_object_id_t | l4vfs_th_resolve (local_object_id_t base, const char *name) |
| local_object_id_t | l4vfs_th_local_resolve (local_object_id_t base, const char *name) |
| char * | l4vfs_th_rev_resolve (local_object_id_t base, local_object_id_t *parent) |
| void | l4vfs_th_init (void) |
| void | l4vfs_th_dir_to_dirent (const l4vfs_th_node_t *node, l4vfs_dirent_t *entry) |
| int | l4vfs_th_dir_dirent_size (const l4vfs_th_node_t *node) |
| int | l4vfs_th_dir_fill_dirents (const l4vfs_th_node_t *node, int index, l4vfs_dirent_t *entry, int *length) |
| Convert parts of a directory node to a dirent buffer. | |
| int | l4vfs_th_is_absolute_path (const char *path) |
| char * | l4vfs_th_get_first_path (const char *name) |
| char * | l4vfs_th_get_remainder_path (const char *name) |
| int l4vfs_th_dir_fill_dirents | ( | const l4vfs_th_node_t * | node, | |
| int | index, | |||
| l4vfs_dirent_t * | entry, | |||
| int * | length | |||
| ) |
Convert parts of a directory node to a dirent buffer.
| node | tree node to operate on (should be a directory) | |
| index | file number to begin with conversion (0 = '.', 1 = '..', 2 = '[first file]', ...) | |
| entry | pointer to memory buffer to fill |
| length | [in] size of entry in bytes
|
1.5.6