img_types.c File Reference


Detailed Description

Contains basic functions to parse and print the names of the supported disk image types.

#include "tsk_img_i.h"

Functions

TSK_IMG_INFO_TYPE_ENUM tsk_img_parse_type (const TSK_TCHAR *str)
 Parse a string and return the image type ID.
void tsk_img_print_types (FILE *hFile)
 Print the supported image types to a handle.
const char * tsk_img_get_type (TSK_IMG_INFO_TYPE_ENUM type)
 Get the name of an image type give its type ID.

Variables

IMG_TYPES img_open_table []


Function Documentation

const char* tsk_img_get_type ( TSK_IMG_INFO_TYPE_ENUM  type  ) 

Get the name of an image type give its type ID.

Parameters:
type ID of image type
Returns:
Pointer to string of name.

TSK_IMG_INFO_TYPE_ENUM tsk_img_parse_type ( const TSK_TCHAR *  str  ) 

Parse a string and return the image type ID.

Parameters:
str String of image type
Returns:
ID of image type

void tsk_img_print_types ( FILE *  hFile  ) 

Print the supported image types to a handle.

Parameters:
hFile Handle to print to.


Variable Documentation

IMG_TYPES img_open_table[]

Initial value:

 {
    {"raw", TSK_IMG_INFO_TYPE_RAW_SING, "raw (dd)"},








    {"split", TSK_IMG_INFO_TYPE_RAW_SPLIT, "Split raw files"},
    {0},
}


Generated on Tue Jan 29 00:26:14 2008 for The Sleuth Kit (Incomplete Docs) by  doxygen 1.5.1