TSK_IMG_INFO Struct Reference

#include <tsk_img.h>


Detailed Description

Generic structure used to store information about disk image files.


Data Fields

TSK_IMG_INFOnext
 Pointer to next "layer".
TSK_IMG_INFO_TYPE_ENUM itype
 Type of disk image format.
TSK_OFF_T size
 Total size of image in bytes.
ssize_t(* read_random )(TSK_IMG_INFO *img, TSK_OFF_T vol_off, char *buf, size_t len, TSK_OFF_T off)
 Pointer to image type-specific read function.
TSK_OFF_T(* get_size )(TSK_IMG_INFO *)
void(* close )(TSK_IMG_INFO *)
void(* imgstat )(TSK_IMG_INFO *, FILE *)


Field Documentation

ssize_t(* TSK_IMG_INFO::read_random)(TSK_IMG_INFO *img, TSK_OFF_T vol_off, char *buf, size_t len, TSK_OFF_T off)

Pointer to image type-specific read function.

Parameters:
img Image to read from
vol_off Byte offset to start of 'volume' in image.
buf Buffer to read into
len Number of bytes to read
off Offset in volume to start reading from.
Returns:
number of bytes read or -1 on error.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 29 00:26:15 2008 for The Sleuth Kit (Incomplete Docs) by  doxygen 1.5.1