The Sleuth Kit
4.2
|
Contains the general internal TSK type and function definitions. More...
Functions | |
void | tsk_deinit_lock (tsk_lock_t *) |
uint8_t | tsk_guess_end_u16 (TSK_ENDIAN_ENUM *, uint8_t *, uint16_t) |
uint8_t | tsk_guess_end_u32 (TSK_ENDIAN_ENUM *, uint8_t *, uint32_t) |
void | tsk_init_lock (tsk_lock_t *) |
void * | tsk_malloc (size_t) |
void * | tsk_realloc (void *, size_t) |
void | tsk_release_lock (tsk_lock_t *) |
void | tsk_take_lock (tsk_lock_t *) |
Unicode | |
enum | TSKConversionResult { TSKconversionOK, TSKsourceExhausted, TSKtargetExhausted, TSKsourceIllegal } |
enum | TSKConversionFlags { TSKstrictConversion = 0, TSKlenientConversion } |
typedef unsigned short | UTF16 |
typedef unsigned char | UTF8 |
typedef unsigned char | Boolean |
TSKConversionResult | tsk_UTF8toUTF16 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, TSKConversionFlags flags) |
Convert a UTF-8 string to UTF-16 (in local endian ordering). More... | |
TSKConversionResult | tsk_UTF8toUTF16W (const UTF8 **sourceStart, const UTF8 *sourceEnd, wchar_t **targetStart, wchar_t *targetEnd, TSKConversionFlags flags) |
TSKConversionResult | tsk_UTF16toUTF8 (TSK_ENDIAN_ENUM, const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, TSKConversionFlags flags) |
Convert a UTF-16 string to UTF-8. More... | |
TSKConversionResult | tsk_UTF16toUTF8_lclorder (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, TSKConversionFlags flags) |
Convert a UTF-16 string in local endian ordering to UTF-8. More... | |
TSKConversionResult | tsk_UTF16WtoUTF8_lclorder (const wchar_t **sourceStart, const wchar_t *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, TSKConversionFlags flags) |
Boolean | tsk_isLegalUTF8Sequence (const UTF8 *source, const UTF8 *sourceEnd) |
void | tsk_cleanupUTF8 (char *source, const char replacement) |
Cleans up the passed in string to replace invalid UTF-8 values with the passed in character. More... | |
Contains the general internal TSK type and function definitions.
This is needed by the library as it is built.
#define rounddown | ( | x, | |
y | |||
) |
#define tsk_getu16 | ( | endian, | |
x | |||
) |
#define tsk_getu24 | ( | endian, | |
x | |||
) |
#define tsk_getu32 | ( | endian, | |
x | |||
) |
#define tsk_getu48 | ( | endian, | |
x | |||
) |
#define tsk_getu64 | ( | endian, | |
x | |||
) |
enum TSKConversionFlags |
enum TSKConversionResult |
void tsk_cleanupUTF8 | ( | char * | source, |
const char | replacement | ||
) |
Cleans up the passed in string to replace invalid UTF-8 values with the passed in character.
source | String to be cleaned up |
replacement | Character to insert into source as needed. |
Copyright © 2007-2015 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.