The Sleuth Kit  4.12.1
Functions | Variables
tsk_error.c File Reference

Contains the error handling code and variables. More...

#include "tsk_base_i.h"
#include "tsk_base.h"

Functions

void tsk_error_errstr2_concat (const char *format,...)
 Concatenate a message onto the end of the errstr2. More...
 
const char * tsk_error_get ()
 Return the string with the current error message. 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_INFOtsk_error_get_info ()
 
void tsk_error_print (FILE *hFile)
 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,...)
 Set the error string #1. More...
 
void tsk_error_set_errstr2 (const char *format,...)
 Set the error string #2. More...
 
void tsk_error_vset_errstr (const char *format, va_list args)
 Set the error string. More...
 
void tsk_error_vset_errstr2 (const char *format, va_list args)
 Set the error string. More...
 

Variables

char * progname = "unknown"
 
int tsk_verbose = 0
 Set to 1 to have verbose debug messages printed to stderr.
 

Detailed Description

Contains the error handling code and variables.


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.