#ifndef __FORENSICS__NTFSSEGLIST_HH__
#define __FORENSICS__NTFSSEGLIST_HH__

/* keeps track of file segments from runlist */

class seg {
public:
    uint64_t fs_offset;		    // byte offset from start of file system
    uint64_t img_offset;	    // offset from beginning of image
    uint64_t file_offset;           // logical number of bytes from beginning of file
    uint64_t len;		    // number of bytes
  //    TSK_FS_BLOCK_FLAG_ENUM flags;   // 
    uint8_t compressed;               // 0 is not compressed, 1 if run represents compressed byte run
    uint64_t next_file_offset() {return file_offset + len;}
    uint64_t next_img_offset()  {return img_offset + len;}
};

typedef std::vector<class seg> seglist;

#endif
