#include "tsk_base_i.h"
Functions | |
| TSK_OFF_T | tsk_parse_offset (const TSK_TCHAR *a_offset_str) |
| Parse a string in the cnt@size or cnt format and return the byte offset. | |
| int | tsk_parse_inum (const TSK_TCHAR *str, TSK_INUM_T *inum, uint32_t *type, uint16_t *id, int *id_used) |
| Convert a string to an inode, type, and id pair. | |
| int tsk_parse_inum | ( | const TSK_TCHAR * | str, | |
| TSK_INUM_T * | inum, | |||
| uint32_t * | type, | |||
| uint16_t * | id, | |||
| int * | id_used | |||
| ) |
Convert a string to an inode, type, and id pair.
This assumes the string is either: INUM, INUM-TYPE, or INUM-TYPE-ID
| [in] | str | Input string to parse |
| [out] | inum | Pointer to location where inode can be stored. |
| [out] | type | Pointer to location where type can be stored |
| [out] | id | Pointer to location where id can be stored |
| [out] | id_used | Pointer to location where the value can be set to 1 if the id was set (to differentiate between meanings of 0). |
| TSK_OFF_T tsk_parse_offset | ( | const TSK_TCHAR * | a_offset_str | ) |
Parse a string in the cnt@size or cnt format and return the byte offset.
| [in] | a_offset_str | The string version of the offset |
1.5.1