Skip to content
Snippets Groups Projects
Commit d00fa1f9 authored by apriestman's avatar apriestman
Browse files

Add filterPool to gettimes to allow pools to be processed.

Fix error message in TskAuto::filterPool.
parent cac66f41
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ class TskGetTimes:public TskAuto {
TskGetTimes(int32_t, bool);
virtual TSK_RETVAL_ENUM processFile(TSK_FS_FILE * fs_file, const char *path);
virtual TSK_FILTER_ENUM filterVol(const TSK_VS_PART_INFO * vs_part);
virtual TSK_FILTER_ENUM filterPool(const TSK_POOL_INFO * pool_info);
virtual TSK_FILTER_ENUM filterPoolVol(const TSK_POOL_VOLUME_INFO * pool_vol);
virtual TSK_FILTER_ENUM filterFs(TSK_FS_INFO * fs_info);
virtual uint8_t handleError();
......@@ -125,6 +126,14 @@ TskGetTimes::filterVol(const TSK_VS_PART_INFO * vs_part)
return TSK_FILTER_CONT;
}
TSK_FILTER_ENUM
TskGetTimes::filterPool(const TSK_POOL_INFO * pool_info)
{
// There's nothing to do, but we need to override this to allow the pool
// to be processed.
return TSK_FILTER_CONT;
}
TSK_FILTER_ENUM
TskGetTimes::filterPoolVol(const TSK_POOL_VOLUME_INFO * pool_vol)
......
......@@ -220,7 +220,7 @@ TSK_FILTER_ENUM
TskAuto::filterPool(const TSK_POOL_INFO * /*pool_info*/) {
/* Most of our tools can't handle pool volumes yet */
if (tsk_verbose)
fprintf(stderr, "filterPoolVol: Pool handling is not yet implemented for this tool\n");
fprintf(stderr, "filterPool: Pool handling is not yet implemented for this tool\n");
return TSK_FILTER_SKIP;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment