Skip to content
Snippets Groups Projects
Commit 53bcfc19 authored by Brian Carrier's avatar Brian Carrier
Browse files

Added comments about what types are used where

parent ff9d908f
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,8 @@ tsk_fs_open_img_decrypt(TSK_IMG_INFO * a_img_info, TSK_OFF_T a_offset, ...@@ -129,6 +129,8 @@ tsk_fs_open_img_decrypt(TSK_IMG_INFO * a_img_info, TSK_OFF_T a_offset,
char* name; char* name;
TSK_FS_INFO* (*open)(TSK_IMG_INFO*, TSK_OFF_T, TSK_FS_INFO* (*open)(TSK_IMG_INFO*, TSK_OFF_T,
TSK_FS_TYPE_ENUM, uint8_t); TSK_FS_TYPE_ENUM, uint8_t);
// This type should be the _DETECT version because it used
// during autodetection
TSK_FS_TYPE_ENUM type; TSK_FS_TYPE_ENUM type;
} FS_OPENERS[] = { } FS_OPENERS[] = {
{ "NTFS", ntfs_open, TSK_FS_TYPE_NTFS_DETECT }, { "NTFS", ntfs_open, TSK_FS_TYPE_NTFS_DETECT },
......
...@@ -34,6 +34,9 @@ typedef struct { ...@@ -34,6 +34,9 @@ typedef struct {
/** \internal /** \internal
* The table used to parse input strings - supports * The table used to parse input strings - supports
* legacy strings - in order of expected usage * legacy strings - in order of expected usage
*
* All unique TSK_FS_TYPE_ENUM values should be in here with a unique
* name so that we can map between values and names.
*/ */
static FS_TYPES fs_type_table[] = { static FS_TYPES fs_type_table[] = {
{"ntfs", TSK_FS_TYPE_NTFS_DETECT, "NTFS"}, {"ntfs", TSK_FS_TYPE_NTFS_DETECT, "NTFS"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment