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

added virtual machine formats to list of types. Fixed compiler error on gcc

parent 11bbe73c
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ class TskAutoDb:public TskAuto { ...@@ -68,7 +68,7 @@ class TskAutoDb:public TskAuto {
* Sets whether or not the file systems for an image should be added when * Sets whether or not the file systems for an image should be added when
* the image is added to the case database. The default value is true. * the image is added to the case database. The default value is true.
*/ */
void TskAutoDb::setAddFileSystems(bool addFileSytems); void setAddFileSystems(bool addFileSytems);
/** /**
* Skip processing of orphans on FAT filesystems. * Skip processing of orphans on FAT filesystems.
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
typedef struct { typedef struct {
char *name; char *name;
uint8_t code; uint16_t code;
char *comment; char *comment;
} IMG_TYPES; } IMG_TYPES;
...@@ -39,6 +39,12 @@ static IMG_TYPES img_open_table[] = { ...@@ -39,6 +39,12 @@ static IMG_TYPES img_open_table[] = {
#endif #endif
#if HAVE_LIBEWF #if HAVE_LIBEWF
{"ewf", TSK_IMG_TYPE_EWF_EWF, "Expert Witness Format (EnCase)"}, {"ewf", TSK_IMG_TYPE_EWF_EWF, "Expert Witness Format (EnCase)"},
#endif
#if HAVE_LIBVMDK
{"vmdk", TSK_IMG_TYPE_VMDK_VMDK, "Virtual Machine Disk (VmWare, Virtual Box)"},
#endif
#if HAVE_LIBVHDI
{"vhd", TSK_IMG_TYPE_VHD_VHD, "Virtual Hard Drive (Microsoft)"},
#endif #endif
{0}, {0},
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment