20#ifndef TRAVERSE_H_INCLUDED
21#define TRAVERSE_H_INCLUDED
47 const char* dir_name);
uint32_t FatCluster
Definition: fat.h:41
struct _FatDirEntry FatDirEntry
Definition: fat.h:52
Definition: traverse.h:27
int eof
Definition: traverse.h:33
FatDirEntry * dir_entries
Definition: traverse.h:35
int dirty
Definition: traverse.h:32
PedFileSystem * fs
Definition: traverse.h:28
char * dir_name
Definition: traverse.h:29
FatCluster this_buffer
Definition: traverse.h:37
int current_entry
Definition: traverse.h:36
int is_legacy_root_dir
Definition: traverse.h:31
FatCluster next_buffer
Definition: traverse.h:37
int buffer_size
Definition: traverse.h:38
Structure describing file system.
Definition: filesys.h:68
uint32_t fat_dir_entry_get_length(FatDirEntry *dir_entry)
Definition: traverse.c:273
void fat_dir_entry_get_name(const FatDirEntry *dir_entry, char *result)
Definition: traverse.c:344
int fat_dir_entry_is_null_term(const FatDirEntry *dir_entry)
Definition: traverse.c:279
FatTraverseInfo * fat_traverse_directory(FatTraverseInfo *trav_info, FatDirEntry *parent)
Definition: traverse.c:192
void fat_traverse_mark_dirty(FatTraverseInfo *trav_info)
Definition: traverse.c:117
FatTraverseInfo * fat_traverse_begin(PedFileSystem *fs, FatCluster start_cluster, const char *dir_name)
Definition: traverse.c:123
int fat_dir_entry_is_directory(FatDirEntry *dir_entry)
Definition: traverse.c:314
FatCluster fat_dir_entry_get_first_cluster(FatDirEntry *dir_entry, PedFileSystem *fs)
Definition: traverse.c:230
int fat_traverse_complete(FatTraverseInfo *trav_info)
Definition: traverse.c:179
int fat_dir_entry_is_active(FatDirEntry *dir_entry)
Definition: traverse.c:288
int fat_dir_entry_is_file(FatDirEntry *dir_entry)
Definition: traverse.c:297
int fat_dir_entry_has_first_cluster(FatDirEntry *dir_entry, PedFileSystem *fs)
Definition: traverse.c:323
FatDirEntry * fat_traverse_next_dir_entry(FatTraverseInfo *trav_info)
Definition: traverse.c:205
void fat_dir_entry_set_first_cluster(FatDirEntry *dir_entry, PedFileSystem *fs, FatCluster cluster)
Definition: traverse.c:249
int fat_traverse_entries_per_buffer(FatTraverseInfo *trav_info)
Definition: traverse.c:35
int fat_dir_entry_is_system_file(FatDirEntry *dir_entry)
Definition: traverse.c:306