hfs_dent.c File Reference


Detailed Description

Contains the file name layer code for HFS+ file systems -- not included in code by default.

#include "tsk_fs_i.h"
#include "tsk_hfs.h"
#include <ctype.h>

Defines

#define MAX_DEPTH   64
#define DIR_STRSZ   2048
#define hfs_is_deleted_leaf(b, c)   hfs_is_bit_b_alloc(b, c)
#define hfs_is_block_alloc(b, c)   hfs_is_bit_b_alloc(b, c)

Functions

void hfs_uni2ascii (TSK_FS_INFO *fs, char *uni, int ulen, char *asc, int alen)
uint8_t hfs_dent_walk (TSK_FS_INFO *fs, TSK_INUM_T inum, TSK_FS_DENT_FLAG_ENUM flags, TSK_FS_DENT_TYPE_WALK_CB action, void *ptr)
 Process the contents of a directory and pass each file name to a callback function.


Function Documentation

uint8_t hfs_dent_walk ( TSK_FS_INFO fs,
TSK_INUM_T  inum,
TSK_FS_DENT_FLAG_ENUM  flags,
TSK_FS_DENT_TYPE_WALK_CB  action,
void *  ptr 
)

Process the contents of a directory and pass each file name to a callback function.

Parameters:
fs File system to analyze
inum Metadata address of directory to analyze
flags Flags used during analysis
action Callback function that is called for each file name
ptr Pointer to data that is passed to callback
Returns:
1 on error and 0 on success


Generated on Tue Jan 29 00:26:14 2008 for The Sleuth Kit (Incomplete Docs) by  doxygen 1.5.1