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

Rename file system list for clarity

parent 04f2ddc6
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ TskAuto::TskAuto() ...@@ -38,7 +38,7 @@ TskAuto::TskAuto()
TskAuto::~TskAuto() TskAuto::~TskAuto()
{ {
closeImage(); closeImage();
m_fsInfoList.clear(); // Don't close the file systems that were passed in m_exteralFsInfoList.clear(); // Don't close the file systems that were passed in
m_tag = 0; m_tag = 0;
} }
...@@ -189,10 +189,10 @@ void ...@@ -189,10 +189,10 @@ void
* instead of opening a new copy. * instead of opening a new copy.
*/ */
void void
TskAuto::setOpenFileSystems(std::list<TSK_FS_INFO *> fsInfoList) TskAuto::setExternalFileSystemList(std::list<TSK_FS_INFO *> fsInfoList)
{ {
m_fsInfoList.resize(fsInfoList.size()); m_exteralFsInfoList.resize(fsInfoList.size());
m_fsInfoList.assign(fsInfoList.begin(), fsInfoList.end()); m_exteralFsInfoList.assign(fsInfoList.begin(), fsInfoList.end());
} }
/** /**
...@@ -563,7 +563,7 @@ TSK_RETVAL_ENUM ...@@ -563,7 +563,7 @@ TSK_RETVAL_ENUM
} }
// If we already have an open copy of this file system, use it // If we already have an open copy of this file system, use it
for (auto itr = m_fsInfoList.begin(); itr != m_fsInfoList.end(); itr++) { for (auto itr = m_exteralFsInfoList.begin(); itr != m_exteralFsInfoList.end(); itr++) {
if ((*itr)->offset == a_start) { if ((*itr)->offset == a_start) {
TSK_FS_INFO *fs_info = *itr; TSK_FS_INFO *fs_info = *itr;
TSK_RETVAL_ENUM retval = findFilesInFsInt(fs_info, fs_info->root_inum); TSK_RETVAL_ENUM retval = findFilesInFsInt(fs_info, fs_info->root_inum);
......
...@@ -100,7 +100,7 @@ class TskAuto { ...@@ -100,7 +100,7 @@ class TskAuto {
void setFileFilterFlags(TSK_FS_DIR_WALK_FLAG_ENUM); void setFileFilterFlags(TSK_FS_DIR_WALK_FLAG_ENUM);
void setVolFilterFlags(TSK_VS_PART_FLAG_ENUM); void setVolFilterFlags(TSK_VS_PART_FLAG_ENUM);
void setOpenFileSystems(std::list<TSK_FS_INFO *> fsInfoList); void setExternalFileSystemList(std::list<TSK_FS_INFO *> exteralFsInfoList);
/** /**
* TskAuto calls this method before it processes the volume system that is found in an * TskAuto calls this method before it processes the volume system that is found in an
...@@ -265,7 +265,7 @@ class TskAuto { ...@@ -265,7 +265,7 @@ class TskAuto {
protected: protected:
TSK_IMG_INFO * m_img_info; TSK_IMG_INFO * m_img_info;
std::vector<const TSK_POOL_INFO*> m_poolInfos; std::vector<const TSK_POOL_INFO*> m_poolInfos;
std::list<TSK_FS_INFO *> m_fsInfoList; std::list<TSK_FS_INFO *> m_exteralFsInfoList; // Stores TSK_FS_INFO structures that were opened outside of TskAuto and passed in
bool m_internalOpen; ///< True if m_img_info was opened in TskAuto and false if passed in bool m_internalOpen; ///< True if m_img_info was opened in TskAuto and false if passed in
bool m_stopAllProcessing; ///< True if no further processing should occur bool m_stopAllProcessing; ///< True if no further processing should occur
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment