libsqsh v1.5.2
Loading...
Searching...
No Matches
sqsh_tree_private.h File Reference
#include "sqsh_directory_private.h"
#include <sqsh_tree.h>
#include <cextras/memory.h>
Include dependency graph for sqsh_tree_private.h:

Go to the source code of this file.

Data Structures

struct  SqshPathResolver
 Resolves paths. More...
 
struct  SqshTreeTraversalStackElement
 A walker over the contents of a file. More...
 
struct  SqshTreeTraversal
 A walker over the contents of a file. More...
 
struct  SqshTreeWalker
 A walker over the contents of a file. More...
 

Functions

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_init (struct SqshPathResolver *resolver, struct SqshArchive *archive)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_to_ref (struct SqshPathResolver *resolver, uint64_t inode_ref)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_to_inode (struct SqshPathResolver *resolver, uint32_t inode_number)
 
SQSH_NO_EXPORT enum SqshFileType sqsh__path_resolver_type (const struct SqshPathResolver *resolver)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_follow_symlink (struct SqshPathResolver *resolver)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_follow_all_symlinks (struct SqshPathResolver *resolver)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_resolve_nt (struct SqshPathResolver *resolver, const char *path, size_t path_len, bool follow_symlinks)
 
SQSH_NO_EXPORT int sqsh__path_resolver_cleanup (struct SqshPathResolver *resolver)
 
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__tree_traversal_init (struct SqshTreeTraversal *traversal, const struct SqshFile *file)
 
SQSH_NO_EXPORT int sqsh__tree_traversal_cleanup (struct SqshTreeTraversal *traversal)
 

Detailed Description

Author
Enno Boland (mail@.nosp@m.ebol.nosp@m.and.d.nosp@m.e)

Definition in file sqsh_tree_private.h.

Function Documentation

◆ sqsh__path_resolver_cleanup()

SQSH_NO_EXPORT int sqsh__path_resolver_cleanup ( struct SqshPathResolver * resolver)

◆ sqsh__path_resolver_follow_all_symlinks()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_follow_all_symlinks ( struct SqshPathResolver * resolver)

◆ sqsh__path_resolver_follow_symlink()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_follow_symlink ( struct SqshPathResolver * resolver)

◆ sqsh__path_resolver_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_init ( struct SqshPathResolver * resolver,
struct SqshArchive * archive )

◆ sqsh__path_resolver_resolve_nt()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_resolve_nt ( struct SqshPathResolver * resolver,
const char * path,
size_t path_len,
bool follow_symlinks )

◆ sqsh__path_resolver_to_inode()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_to_inode ( struct SqshPathResolver * resolver,
uint32_t inode_number )

◆ sqsh__path_resolver_to_ref()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__path_resolver_to_ref ( struct SqshPathResolver * resolver,
uint64_t inode_ref )

◆ sqsh__path_resolver_type()

SQSH_NO_EXPORT enum SqshFileType sqsh__path_resolver_type ( const struct SqshPathResolver * resolver)

◆ sqsh__tree_traversal_cleanup()

SQSH_NO_EXPORT int sqsh__tree_traversal_cleanup ( struct SqshTreeTraversal * traversal)

◆ sqsh__tree_traversal_init()

SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__tree_traversal_init ( struct SqshTreeTraversal * traversal,
const struct SqshFile * file )