libsquashfs 1.3.0
A new set of tools and libraries for working with SquashFS images
|
Contains declarations for the sqfs_dir_reader_t. More...
#include "sqfs/predef.h"
Go to the source code of this file.
Data Structures | |
struct | sqfs_tree_node_t |
Encapsulates a node in the filesystem tree read by sqfs_dir_reader_get_full_hierarchy. More... | |
Enumerations | |
enum | SQFS_TREE_FILTER_FLAGS { SQFS_TREE_NO_DEVICES = 0x01 , SQFS_TREE_NO_SOCKETS = 0x02 , SQFS_TREE_NO_FIFO = 0x04 , SQFS_TREE_NO_SLINKS = 0x08 , SQFS_TREE_NO_EMPTY = 0x10 , SQFS_TREE_NO_RECURSE = 0x20 , SQFS_TREE_STORE_PARENTS = 0x40 , SQFS_TREE_ALL_FLAGS = 0x7F } |
Filter flags for sqfs_dir_reader_get_full_hierarchy. More... | |
enum | SQFS_DIR_READER_FLAGS { SQFS_DIR_READER_DOT_ENTRIES = 0x00000001 , SQFS_DIR_READER_ALL_FLAGS = 0x00000001 } |
Flags for sqfs_dir_reader_create. More... | |
enum | SQFS_DIR_OPEN_FLAGS { SQFS_DIR_OPEN_NO_DOT_ENTRIES = 0x00000001 , SQFS_DIR_OPEN_ALL_FLAGS = 0x00000001 } |
Flags for sqfs_dir_reader_open_dir. More... | |
Functions | |
SQFS_API void | sqfs_dir_tree_destroy (sqfs_tree_node_t *root) |
Recursively destroy a tree of sqfs_tree_node_t nodes. | |
Contains declarations for the sqfs_dir_reader_t.
Definition in file dir_reader.h.
enum SQFS_DIR_OPEN_FLAGS |
Flags for sqfs_dir_reader_open_dir.
Enumerator | |
---|---|
SQFS_DIR_OPEN_NO_DOT_ENTRIES | Do not generate "." and ".." entries. If the sqfs_dir_reader_t was created with the SQFS_DIR_READER_DOT_ENTRIES flag set, "." and ".." entries are generated when iterating over a directory. If that is not desired in some instances, this flag can be set to suppress this behaviour when opening a directory. |
Definition at line 181 of file dir_reader.h.
Flags for sqfs_dir_reader_create.
Definition at line 156 of file dir_reader.h.
Filter flags for sqfs_dir_reader_get_full_hierarchy.
Definition at line 60 of file dir_reader.h.
SQFS_API void sqfs_dir_tree_destroy | ( | sqfs_tree_node_t * | root | ) |
Recursively destroy a tree of sqfs_tree_node_t nodes.
This function can be used to clean up after sqfs_dir_reader_get_full_hierarchy.
root | A pointer to the root node or NULL. |