Contains the type and function definitions that are needed by external programs to use the TSK library.
More...
|
#define | TSK_ERR_AUTO 0x20000000 |
|
#define | TSK_ERR_AUTO_CORRUPT (TSK_ERR_AUTO | 1) |
|
#define | TSK_ERR_AUTO_DB (TSK_ERR_AUTO | 0) |
|
#define | TSK_ERR_AUTO_MAX 4 |
|
#define | TSK_ERR_AUTO_NOTOPEN (TSK_ERR_AUTO | 3) |
|
#define | TSK_ERR_AUTO_UNICODE (TSK_ERR_AUTO | 2) |
|
#define | TSK_ERR_AUX 0x01000000 |
|
#define | TSK_ERR_AUX_GENERIC (TSK_ERR_AUX | 2) |
|
#define | TSK_ERR_AUX_MALLOC (TSK_ERR_AUX | 0) |
|
#define | TSK_ERR_AUX_MAX 2 |
|
#define | TSK_ERR_FS 0x08000000 |
|
#define | TSK_ERR_FS_ARG (TSK_ERR_FS | 6) |
|
#define | TSK_ERR_FS_ATTR_NOTFOUND (TSK_ERR_FS | 17) |
|
#define | TSK_ERR_FS_BLK_NUM (TSK_ERR_FS | 7) |
|
#define | TSK_ERR_FS_CORRUPT (TSK_ERR_FS | 16) |
|
#define | TSK_ERR_FS_ENCRYPTED (TSK_ERR_FS | 18) |
|
#define | TSK_ERR_FS_FWALK (TSK_ERR_FS | 11) |
|
#define | TSK_ERR_FS_GENFS (TSK_ERR_FS | 15) |
|
#define | TSK_ERR_FS_INODE_COR (TSK_ERR_FS | 9) |
|
#define | TSK_ERR_FS_INODE_NUM (TSK_ERR_FS | 8) |
|
#define | TSK_ERR_FS_MAGIC (TSK_ERR_FS | 10) |
|
#define | TSK_ERR_FS_MAX 21 |
|
#define | TSK_ERR_FS_MULTTYPE (TSK_ERR_FS | 20) |
|
#define | TSK_ERR_FS_POSSIBLY_ENCRYPTED (TSK_ERR_FS | 19) |
|
#define | TSK_ERR_FS_READ (TSK_ERR_FS | 4) |
|
#define | TSK_ERR_FS_READ_OFF (TSK_ERR_FS | 5) |
|
#define | TSK_ERR_FS_RECOVER (TSK_ERR_FS | 14) |
|
#define | TSK_ERR_FS_UNICODE (TSK_ERR_FS | 13) |
|
#define | TSK_ERR_FS_UNKTYPE (TSK_ERR_FS | 0) |
|
#define | TSK_ERR_FS_UNSUPFUNC (TSK_ERR_FS | 2) |
|
#define | TSK_ERR_FS_UNSUPTYPE (TSK_ERR_FS | 1) |
|
#define | TSK_ERR_FS_WALK_RNG (TSK_ERR_FS | 3) |
|
#define | TSK_ERR_FS_WRITE (TSK_ERR_FS | 12) |
|
#define | TSK_ERR_HDB 0x10000000 |
|
#define | TSK_ERR_HDB_ARG (TSK_ERR_HDB | 4) |
|
#define | TSK_ERR_HDB_CORRUPT (TSK_ERR_HDB | 11) |
|
#define | TSK_ERR_HDB_CREATE (TSK_ERR_HDB | 6) |
|
#define | TSK_ERR_HDB_DELETE (TSK_ERR_HDB | 7) |
|
#define | TSK_ERR_HDB_MAX 13 |
|
#define | TSK_ERR_HDB_MISSING (TSK_ERR_HDB | 8) |
|
#define | TSK_ERR_HDB_OPEN (TSK_ERR_HDB | 10) |
|
#define | TSK_ERR_HDB_PROC (TSK_ERR_HDB | 9) |
|
#define | TSK_ERR_HDB_READDB (TSK_ERR_HDB | 2) |
|
#define | TSK_ERR_HDB_READIDX (TSK_ERR_HDB | 3) |
|
#define | TSK_ERR_HDB_UNKTYPE (TSK_ERR_HDB | 0) |
|
#define | TSK_ERR_HDB_UNSUPFUNC (TSK_ERR_HDB | 11) |
|
#define | TSK_ERR_HDB_UNSUPTYPE (TSK_ERR_HDB | 1) |
|
#define | TSK_ERR_HDB_WRITE (TSK_ERR_HDB | 5) |
|
#define | TSK_ERR_IMG 0x02000000 |
|
#define | TSK_ERR_IMG_ARG (TSK_ERR_IMG | 9) |
|
#define | TSK_ERR_IMG_CONVERT (TSK_ERR_IMG | 12) |
|
#define | TSK_ERR_IMG_MAGIC (TSK_ERR_IMG | 10) |
|
#define | TSK_ERR_IMG_MAX 14 |
|
#define | TSK_ERR_IMG_NOFILE (TSK_ERR_IMG | 0) |
|
#define | TSK_ERR_IMG_OFFSET (TSK_ERR_IMG | 1) |
|
#define | TSK_ERR_IMG_OPEN (TSK_ERR_IMG | 4) |
|
#define | TSK_ERR_IMG_PASSWD (TSK_ERR_IMG | 13) |
|
#define | TSK_ERR_IMG_READ (TSK_ERR_IMG | 7) |
|
#define | TSK_ERR_IMG_READ_OFF (TSK_ERR_IMG | 8) |
|
#define | TSK_ERR_IMG_SEEK (TSK_ERR_IMG | 6) |
|
#define | TSK_ERR_IMG_STAT (TSK_ERR_IMG | 5) |
|
#define | TSK_ERR_IMG_UNKTYPE (TSK_ERR_IMG | 2) |
|
#define | TSK_ERR_IMG_UNSUPTYPE (TSK_ERR_IMG | 3) |
|
#define | TSK_ERR_IMG_WRITE (TSK_ERR_IMG | 11) |
|
#define | TSK_ERR_MASK 0x00ffffff |
|
#define | TSK_ERR_POOL 0x40000000 |
|
#define | TSK_ERR_POOL_ARG (TSK_ERR_POOL | 2) |
|
#define | TSK_ERR_POOL_GENPOOL (TSK_ERR_POOL | 3) |
|
#define | TSK_ERR_POOL_MAX 4 |
|
#define | TSK_ERR_POOL_UNKTYPE (TSK_ERR_POOL | 0) |
|
#define | TSK_ERR_POOL_UNSUPTYPE (TSK_ERR_IMG | 1) |
|
#define | TSK_ERR_VS 0x04000000 |
|
#define | TSK_ERR_VS_ARG (TSK_ERR_VS | 7) |
|
#define | TSK_ERR_VS_BLK_NUM (TSK_ERR_VS | 6) |
|
#define | TSK_ERR_VS_BUF (TSK_ERR_VS | 5) |
|
#define | TSK_ERR_VS_ENCRYPTED (TSK_ERR_VS | 8) |
|
#define | TSK_ERR_VS_MAGIC (TSK_ERR_VS | 3) |
|
#define | TSK_ERR_VS_MAX 10 |
|
#define | TSK_ERR_VS_MULTTYPE (TSK_ERR_VS | 9) |
|
#define | TSK_ERR_VS_READ (TSK_ERR_VS | 2) |
|
#define | TSK_ERR_VS_UNKTYPE (TSK_ERR_VS | 0) |
|
#define | TSK_ERR_VS_UNSUPTYPE (TSK_ERR_VS | 1) |
|
#define | TSK_ERR_VS_WALK_RNG (TSK_ERR_VS | 4) |
|
#define | TSK_ERROR_FORMAT_ATTRIBUTE(n, m) |
|
#define | TSK_ERROR_STRING_MAX_LENGTH 1024 |
|
#define | TSK_VERSION_NUM 0x041201ff |
| Version of code in number form. More...
|
|
#define | TSK_VERSION_STR "4.12.1" |
| Version of code in string form. More...
|
|
|
#define | PRIx64 "llx" |
|
#define | PRIX64 "llX" |
|
#define | PRIu64 "llu" |
|
#define | PRId64 "lld" |
|
#define | PRIo64 "llo" |
|
#define | PRIx32 "x" |
|
#define | PRIX32 "X" |
|
#define | PRIu32 "u" |
|
#define | PRId32 "d" |
|
#define | PRIx16 "hx" |
|
#define | PRIX16 "hX" |
|
#define | PRIu16 "hu" |
|
#define | PRIu8 "hhu" |
|
#define | PRIx8 "hhx" |
|
|
void | tsk_error_errstr2_concat (const char *format,...) TSK_ERROR_FORMAT_ATTRIBUTE(1 |
|
void const char * | tsk_error_get () |
| Return a human-readable form of tsk_error_get_errno. More...
|
|
uint32_t | tsk_error_get_errno () |
| Return the current error number. More...
|
|
char * | tsk_error_get_errstr () |
| Retrieve the current, basic error string. More...
|
|
char * | tsk_error_get_errstr2 () |
| Retrieve the current error string #2. More...
|
|
TSK_ERROR_INFO * | tsk_error_get_info () |
|
void | tsk_error_print (FILE *) |
| Print the current fully formed error message to a file. More...
|
|
void | tsk_error_reset () |
| Clear the error number and error message.
|
|
void | tsk_error_set_errno (uint32_t t_errno) |
| Set the current TSK error number. More...
|
|
void | tsk_error_set_errstr (const char *format,...) TSK_ERROR_FORMAT_ATTRIBUTE(1 |
|
void | tsk_error_set_errstr2 (const char *format,...) TSK_ERROR_FORMAT_ATTRIBUTE(1 |
|
void void | tsk_error_vset_errstr (const char *format, va_list args) |
| Set the error string. More...
|
|
void void | tsk_error_vset_errstr2 (const char *format, va_list args) |
| Set the error string. More...
|
|
void | tsk_fprintf (FILE *fd, const char *msg,...) |
| fprintf wrapper function that takes UTF-8 strings as input (on all platforms) and does what is necessary to output strings in the correct encoding (UTF-8 on Unix and UTF-16 on Windows). More...
|
|
uint8_t | tsk_list_add (TSK_LIST **list, uint64_t key) |
| Add an entry to a TSK_LIST (and create one if one does not exist) More...
|
|
uint8_t | tsk_list_find (TSK_LIST *list, uint64_t key) |
| Search a TSK_LIST for the existence of a value. More...
|
|
void | tsk_list_free (TSK_LIST *list) |
| Free a TSK_LIST. More...
|
|
TSK_OFF_T | tsk_parse_offset (const TSK_TCHAR *) |
| Parse a TSK_TCHAR block address string. More...
|
|
int | tsk_parse_pnum (const TSK_TCHAR *a_pnum_str, TSK_PNUM_T *a_pnum) |
| Parse a TSK_TCHAR string of a partition byte offset and the integer version of it. More...
|
|
int | tsk_print_sanitized (FILE *fd, const char *str) |
| Prints the string removing control characters. More...
|
|
void | tsk_printf (const char *msg,...) |
| printf wrapper function that takes UTF-8 strings as input (on all platforms) and does what is necessary to output strings in the correct encoding (UTF-8 on Unix and UTF-16 on Windows). More...
|
|
TSK_STACK * | tsk_stack_create () |
| Create a TSK_STACK structure. More...
|
|
uint8_t | tsk_stack_find (TSK_STACK *stack, uint64_t key) |
| Search a TSK_STACK for a given value. More...
|
|
void | tsk_stack_free (TSK_STACK *stack) |
| Free an allocated TSK_STACK structure. More...
|
|
void | tsk_stack_pop (TSK_STACK *stack) |
| Pop a value from the top of the stack. More...
|
|
uint8_t | tsk_stack_push (TSK_STACK *stack, uint64_t key) |
| Push a value to the top of TSK_STACK. More...
|
|
const char * | tsk_version_get_str () |
| Return the library version as a string. More...
|
|
void | tsk_version_print (FILE *) |
| Print the library name and version to a handle (such as "The Sleuth Kit ver 1.00"). More...
|
|
Contains the type and function definitions that are needed by external programs to use the TSK library.
Note that this file is not meant to be directly included. It is included by both libtsk.h and tsk_base_i.h.