#include "aux_tools.h"
#include <string.h>
#include <fcntl.h>
#include <errno.h>
Go to the source code of this file.
Data Structures | |
struct | TSK_IMG_INFO |
Generic structure used to store information about disk image files. More... | |
Typedefs | |
typedef enum TSK_IMG_INFO_TYPE_ENUM | TSK_IMG_INFO_TYPE_ENUM |
typedef TSK_IMG_INFO | TSK_IMG_INFO |
Enumerations | |
enum | TSK_IMG_INFO_TYPE_ENUM { TSK_IMG_INFO_TYPE_IMG_MASK = 0xf0, TSK_IMG_INFO_TYPE_SUB_MASK = 0x0f, TSK_IMG_INFO_TYPE_UNSUPP = 0x00, TSK_IMG_INFO_TYPE_RAW_TYPE = 0x10, TSK_IMG_INFO_TYPE_RAW_SING = 0x11, TSK_IMG_INFO_TYPE_RAW_SPLIT = 0x12, TSK_IMG_INFO_TYPE_AFF_TYPE = 0x20, TSK_IMG_INFO_TYPE_AFF_AFF = 0x21, TSK_IMG_INFO_TYPE_AFF_AFD = 0x22, TSK_IMG_INFO_TYPE_AFF_AFM = 0x23, TSK_IMG_INFO_TYPE_EWF_TYPE = 0x30, TSK_IMG_INFO_TYPE_EWF_EWF = 0x31 } |
Values for the disk image type. More... | |
Functions | |
TSK_IMG_INFO * | tsk_img_open (const TSK_TCHAR *, const int, const TSK_TCHAR **) |
Open one or more files as a disk image. | |
TSK_IMG_INFO_TYPE_ENUM | tsk_img_parse_type (const TSK_TCHAR *) |
void | tsk_img_print_types (FILE *) |
char * | tsk_img_get_type (TSK_IMG_INFO_TYPE_ENUM) |
Values for the disk image type.
The most-significant nibble is the high-level image type. The least-sigificant nibble is the specific sub-type of implementation.
TSK_IMG_INFO* tsk_img_open | ( | const TSK_TCHAR * | type, | |
const int | num_img, | |||
const TSK_TCHAR ** | images | |||
) |
Open one or more files as a disk image.
This serves as a wrapper around the specific types of disk image formats. You can specify the type or autodetection can be used.
type | The text a user supplied for the type of format. Examples include "raw", "split", "aff", etc. | |
num_img | The number of images that are being considered. | |
images | The path to the files (the number of files must be equal to num_img) |