<ahref="ddt_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aid="l00001"name="l00001"></a><spanclass="lineno"> 1</span><spanclass="comment">/*</span></div>
<divclass="line"><aid="l00002"name="l00002"></a><spanclass="lineno"> 2</span><spanclass="comment"> * This file is part of the Aaru Data Preservation Suite.</span></div>
<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment"> * This library is free software; you can redistribute it and/or modify</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment"> * it under the terms of the GNU Lesser General Public License as</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * published by the Free Software Foundation; either version 2.1 of the</span></div>
<divclass="line"><aid="l00008"name="l00008"></a><spanclass="lineno"> 8</span><spanclass="comment"> * License, or (at your option) any later version.</span></div>
<divclass="line"><aid="l00010"name="l00010"></a><spanclass="lineno"> 10</span><spanclass="comment"> * This library is distributed in the hope that it will be useful, but</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> * Lesser General Public License for more details.</span></div>
<divclass="line"><aid="l00015"name="l00015"></a><spanclass="lineno"> 15</span><spanclass="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<divclass="line"><aid="l00016"name="l00016"></a><spanclass="lineno"> 16</span><spanclass="comment"> * License along with this library; if not, see <http://www.gnu.org/licenses/>.</span></div>
<divclass="ttc"id="astructDdtHeader2_html"><divclass="ttname"><ahref="structDdtHeader2.html">DdtHeader2</a></div><divclass="ttdoc">Header preceding a version 2 hierarchical deduplication table.</div><divclass="ttdef"><b>Definition</b><ahref="#l00141">ddt.h:142</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a0799563cf99f679ee26840e32d52ca0f"><divclass="ttname"><ahref="structDdtHeader2.html#a0799563cf99f679ee26840e32d52ca0f">DdtHeader2::cmpCrc64</a></div><divclass="ttdeci">uint64_t cmpCrc64</div><divclass="ttdoc">CRC64-ECMA of compressed table payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00161">ddt.h:161</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a14f9ccf36df63e036d69291182cf7bbb"><divclass="ttname"><ahref="structDdtHeader2.html#a14f9ccf36df63e036d69291182cf7bbb">DdtHeader2::type</a></div><divclass="ttdeci">uint16_t type</div><divclass="ttdoc">Data classification (DataType) for sectors referenced by this table.</div><divclass="ttdef"><b>Definition</b><ahref="#l00144">ddt.h:144</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a238a2ca31ce0f60af3e59a1cb3e2e73c"><divclass="ttname"><ahref="structDdtHeader2.html#a238a2ca31ce0f60af3e59a1cb3e2e73c">DdtHeader2::start</a></div><divclass="ttdeci">uint64_t start</div><divclass="ttdoc">Base internal index covered by this table (used for secondary tables; currently informational).</div><divclass="ttdef"><b>Definition</b><ahref="#l00153">ddt.h:153</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a4d69e092386cdf3499b17bd6f63a0d8d"><divclass="ttname"><ahref="structDdtHeader2.html#a4d69e092386cdf3499b17bd6f63a0d8d">DdtHeader2::crc64</a></div><divclass="ttdeci">uint64_t crc64</div><divclass="ttdoc">CRC64-ECMA of uncompressed table payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00162">ddt.h:162</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a4e90c22109c3fff37b526a113b094a50"><divclass="ttname"><ahref="structDdtHeader2.html#a4e90c22109c3fff37b526a113b094a50">DdtHeader2::entries</a></div><divclass="ttdeci">uint64_t entries</div><divclass="ttdoc">Number of entries contained in (uncompressed) table payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00158">ddt.h:158</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a68f4825db4e22906af0e55a359360656"><divclass="ttname"><ahref="structDdtHeader2.html#a68f4825db4e22906af0e55a359360656">DdtHeader2::levels</a></div><divclass="ttdeci">uint8_t levels</div><divclass="ttdoc">Total number of hierarchy levels (root depth); > 0.</div><divclass="ttdef"><b>Definition</b><ahref="#l00146">ddt.h:146</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a7266134edef8efc7c449649f3035d189"><divclass="ttname"><ahref="structDdtHeader2.html#a7266134edef8efc7c449649f3035d189">DdtHeader2::length</a></div><divclass="ttdeci">uint64_t length</div><divclass="ttdoc">Uncompressed payload size in bytes.</div><divclass="ttdef"><b>Definition</b><ahref="#l00160">ddt.h:160</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a80a88ec68cd0332a57886ac363bfa4d1"><divclass="ttname"><ahref="structDdtHeader2.html#a80a88ec68cd0332a57886ac363bfa4d1">DdtHeader2::identifier</a></div><divclass="ttdeci">uint32_t identifier</div><divclass="ttdoc">Block identifier, must be BlockType::DeDuplicationTable2.</div><divclass="ttdef"><b>Definition</b><ahref="#l00143">ddt.h:143</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_a8c2110cbb42bde3c0e302d3429024b04"><divclass="ttname"><ahref="structDdtHeader2.html#a8c2110cbb42bde3c0e302d3429024b04">DdtHeader2::tableShift</a></div><divclass="ttdeci">uint8_t tableShift</div><divclass="ttdoc">2^tableShift = number of logical sectors per primary entry (multi-level only; 0 for single-level or s...</div><divclass="ttdef"><b>Definition</b><ahref="#l00156">ddt.h:156</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_ac41f345c4d5db0c249ff171c85992482"><divclass="ttname"><ahref="structDdtHeader2.html#ac41f345c4d5db0c249ff171c85992482">DdtHeader2::overflow</a></div><divclass="ttdeci">uint32_t overflow</div><divclass="ttdoc">Trailing dumped sectors beyond user area (overflow range), still mapped with entries.</div><divclass="ttdef"><b>Definition</b><ahref="#l00151">ddt.h:151</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_ac48b4ceb64b05b5e7da2ca3df063ac99"><divclass="ttname"><ahref="structDdtHeader2.html#ac48b4ceb64b05b5e7da2ca3df063ac99">DdtHeader2::negative</a></div><divclass="ttdeci">uint32_t negative</div><divclass="ttdoc">Leading negative LBA count; added to external L to build internal index.</div><divclass="ttdef"><b>Definition</b><ahref="#l00149">ddt.h:149</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_ac8ec7921a5651b5107eda4e99b488798"><divclass="ttname"><ahref="structDdtHeader2.html#ac8ec7921a5651b5107eda4e99b488798">DdtHeader2::tableLevel</a></div><divclass="ttdeci">uint8_t tableLevel</div><divclass="ttdoc">Zero-based level index of this table (0 = root, increases downward).</div><divclass="ttdef"><b>Definition</b><ahref="#l00147">ddt.h:147</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_ad1a27a46df09748a91a9010a630c422e"><divclass="ttname"><ahref="structDdtHeader2.html#ad1a27a46df09748a91a9010a630c422e">DdtHeader2::compression</a></div><divclass="ttdeci">uint16_t compression</div><divclass="ttdoc">Compression algorithm for this table body (CompressionType).</div><divclass="ttdef"><b>Definition</b><ahref="#l00145">ddt.h:145</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_ad9a2beb3a79bc6c239ba04fe341e0cde"><divclass="ttname"><ahref="structDdtHeader2.html#ad9a2beb3a79bc6c239ba04fe341e0cde">DdtHeader2::dataShift</a></div><divclass="ttdeci">uint8_t dataShift</div><divclass="ttdoc">2^dataShift = sectors represented per increment in blockIndex field.</div><divclass="ttdef"><b>Definition</b><ahref="#l00155">ddt.h:155</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_aee50fc92a9151bd352808b28bccd5045"><divclass="ttname"><ahref="structDdtHeader2.html#aee50fc92a9151bd352808b28bccd5045">DdtHeader2::cmpLength</a></div><divclass="ttdeci">uint64_t cmpLength</div><divclass="ttdoc">Compressed payload size in bytes.</div><divclass="ttdef"><b>Definition</b><ahref="#l00159">ddt.h:159</a></div></div>
<divclass="ttc"id="astructDdtHeader2_html_af71423c2a8c7fa89dfd2313b456c57a2"><divclass="ttname"><ahref="structDdtHeader2.html#af71423c2a8c7fa89dfd2313b456c57a2">DdtHeader2::previousLevelOffset</a></div><divclass="ttdeci">uint64_t previousLevelOffset</div><divclass="ttdoc">Absolute byte offset of the parent (previous) level table; 0 if root.</div><divclass="ttdef"><b>Definition</b><ahref="#l00148">ddt.h:148</a></div></div>
<divclass="ttc"id="astructDdtHeader_html"><divclass="ttname"><ahref="structDdtHeader.html">DdtHeader</a></div><divclass="ttdoc">Header preceding a version 1 (flat) deduplication table body.</div><divclass="ttdef"><b>Definition</b><ahref="#l00065">ddt.h:66</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a1b533f6a2db8316e66d2615f0bdcbb47"><divclass="ttname"><ahref="structDdtHeader.html#a1b533f6a2db8316e66d2615f0bdcbb47">DdtHeader::crc64</a></div><divclass="ttdeci">uint64_t crc64</div><divclass="ttdoc">CRC64-ECMA of the uncompressed payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00075">ddt.h:75</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a582d814208475da3a610e7773a3b2ded"><divclass="ttname"><ahref="structDdtHeader.html#a582d814208475da3a610e7773a3b2ded">DdtHeader::compression</a></div><divclass="ttdeci">uint16_t compression</div><divclass="ttdoc">Compression algorithm for the table body (CompressionType).</div><divclass="ttdef"><b>Definition</b><ahref="#l00069">ddt.h:69</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a640bdd80a0bab66d82d36e9d25ed86a4"><divclass="ttname"><ahref="structDdtHeader.html#a640bdd80a0bab66d82d36e9d25ed86a4">DdtHeader::identifier</a></div><divclass="ttdeci">uint32_t identifier</div><divclass="ttdoc">Block identifier, must be BlockType::DeDuplicationTable.</div><divclass="ttdef"><b>Definition</b><ahref="#l00067">ddt.h:67</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a683a82d49a20adf6348fbcde58e2ecd9"><divclass="ttname"><ahref="structDdtHeader.html#a683a82d49a20adf6348fbcde58e2ecd9">DdtHeader::cmpLength</a></div><divclass="ttdeci">uint64_t cmpLength</div><divclass="ttdoc">Size in bytes of compressed entries payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00072">ddt.h:72</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a6c427b746b3fa0fd161094ba0adf3f56"><divclass="ttname"><ahref="structDdtHeader.html#a6c427b746b3fa0fd161094ba0adf3f56">DdtHeader::length</a></div><divclass="ttdeci">uint64_t length</div><divclass="ttdoc">Size in bytes of uncompressed entries payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00073">ddt.h:73</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a74eb3f36e0c52cc59849fcc7b283d84d"><divclass="ttname"><ahref="structDdtHeader.html#a74eb3f36e0c52cc59849fcc7b283d84d">DdtHeader::entries</a></div><divclass="ttdeci">uint64_t entries</div><divclass="ttdoc">Number of deduplication entries contained in (uncompressed) table.</div><divclass="ttdef"><b>Definition</b><ahref="#l00071">ddt.h:71</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_a7d0eb9ac1d810626e9f86b7f8c8655f5"><divclass="ttname"><ahref="structDdtHeader.html#a7d0eb9ac1d810626e9f86b7f8c8655f5">DdtHeader::type</a></div><divclass="ttdeci">uint16_t type</div><divclass="ttdoc">Data classification (DataType) for sectors referenced by this table.</div><divclass="ttdef"><b>Definition</b><ahref="#l00068">ddt.h:68</a></div></div>
<divclass="ttc"id="astructDdtHeader_html_ab3c100c0dc3e5f6ef97366a6a27e642f"><divclass="ttname"><ahref="structDdtHeader.html#ab3c100c0dc3e5f6ef97366a6a27e642f">DdtHeader::cmpCrc64</a></div><divclass="ttdeci">uint64_t cmpCrc64</div><divclass="ttdoc">CRC64-ECMA of the compressed payload.</div><divclass="ttdef"><b>Definition</b><ahref="#l00074">ddt.h:74</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.15.0 </li>