The Sleuth Kit  4.11.1
Macros | Functions | Variables
fs_name.c File Reference

Code to allocate and free the TSK_FS_NAME structures. More...

#include "tsk_fs_i.h"
#include <time.h>

Macros

#define TZNAME   __tzname
 

Functions

uint8_t tsk_fs_meta_make_ls (const TSK_FS_META *a_fs_meta, char *a_buf, size_t a_len)
 Makes the "ls -l" permissions string for a file. More...
 
TSK_FS_NAMEtsk_fs_name_alloc (size_t norm_namelen, size_t shrt_namelen)
 
uint8_t tsk_fs_name_copy (TSK_FS_NAME *a_fs_name_to, const TSK_FS_NAME *a_fs_name_from)
 
void tsk_fs_name_free (TSK_FS_NAME *fs_name)
 
void tsk_fs_name_print (FILE *hFile, const TSK_FS_FILE *fs_file, const char *a_path, TSK_FS_INFO *fs, const TSK_FS_ATTR *fs_attr, uint8_t print_path)
 
void tsk_fs_name_print_long (FILE *hFile, const TSK_FS_FILE *fs_file, const char *a_path, TSK_FS_INFO *fs, const TSK_FS_ATTR *fs_attr, uint8_t print_path, int32_t sec_skew)
 
void tsk_fs_name_print_mac (FILE *hFile, const TSK_FS_FILE *fs_file, const char *a_path, const TSK_FS_ATTR *fs_attr, const char *prefix, int32_t time_skew)
 
void tsk_fs_name_print_mac_md5 (FILE *hFile, const TSK_FS_FILE *fs_file, const char *a_path, const TSK_FS_ATTR *fs_attr, const char *prefix, int32_t time_skew, const unsigned char *hash_results)
 
uint8_t tsk_fs_name_realloc (TSK_FS_NAME *fs_name, size_t namelen)
 
void tsk_fs_name_reset (TSK_FS_NAME *a_fs_name)
 
char * tsk_fs_time_to_str (time_t time, char buf[128])
 Converts a time value to a string representation. More...
 
char * tsk_fs_time_to_str_subsecs (time_t time, unsigned int subsecs, char buf[128])
 Converts a time value to a string representation. More...
 

Variables

char tsk_fs_name_type_str [TSK_FS_NAME_TYPE_STR_MAX][2]
 

Detailed Description

Code to allocate and free the TSK_FS_NAME structures.

Variable Documentation

char tsk_fs_name_type_str[TSK_FS_NAME_TYPE_STR_MAX][2]
Initial value:
=
{ "-", "p", "c", "d", "b", "r",
"l", "s", "h", "w", "v", "V"
}

Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.