<ahref="data_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="astructBlockHeader_html"><divclass="ttname"><ahref="structBlockHeader.html">BlockHeader</a></div><divclass="ttdoc">Header preceding the compressed data payload of a data block (BlockType::DataBlock).</div><divclass="ttdef"><b>Definition</b><ahref="#l00070">data.h:71</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_a0ee87beb4362823260f70a87ac17379f"><divclass="ttname"><ahref="structBlockHeader.html#a0ee87beb4362823260f70a87ac17379f">BlockHeader::cmpLength</a></div><divclass="ttdeci">uint32_t cmpLength</div><divclass="ttdoc">Size in bytes of the compressed payload immediately following this header.</div><divclass="ttdef"><b>Definition</b><ahref="#l00076">data.h:76</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_a1f9f3204a10090709b28d0df4bb547e5"><divclass="ttname"><ahref="structBlockHeader.html#a1f9f3204a10090709b28d0df4bb547e5">BlockHeader::length</a></div><divclass="ttdeci">uint32_t length</div><divclass="ttdoc">Size in bytes of the uncompressed payload resulting after decompression.</div><divclass="ttdef"><b>Definition</b><ahref="#l00077">data.h:77</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_a3b03f118fb2dc3dcef3f87a82238e358"><divclass="ttname"><ahref="structBlockHeader.html#a3b03f118fb2dc3dcef3f87a82238e358">BlockHeader::identifier</a></div><divclass="ttdeci">uint32_t identifier</div><divclass="ttdoc">Block identifier, must be BlockType::DataBlock.</div><divclass="ttdef"><b>Definition</b><ahref="#l00072">data.h:72</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_a5bd50f95c8c1f91e5013a1a154690beb"><divclass="ttname"><ahref="structBlockHeader.html#a5bd50f95c8c1f91e5013a1a154690beb">BlockHeader::sectorSize</a></div><divclass="ttdeci">uint32_t sectorSize</div><divclass="ttdoc">Size in bytes of each logical sector represented in this block.</div><divclass="ttdef"><b>Definition</b><ahref="#l00075">data.h:75</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_a8ff40eae6c49f0d9b49825f75e1e2bf8"><divclass="ttname"><ahref="structBlockHeader.html#a8ff40eae6c49f0d9b49825f75e1e2bf8">BlockHeader::cmpCrc64</a></div><divclass="ttdeci">uint64_t cmpCrc64</div><divclass="ttdoc">CRC64-ECMA of the compressed payload (cmpLength bytes).</div><divclass="ttdef"><b>Definition</b><ahref="#l00078">data.h:78</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_ab4d9e3a871e0c7f12a881017dac4ca12"><divclass="ttname"><ahref="structBlockHeader.html#ab4d9e3a871e0c7f12a881017dac4ca12">BlockHeader::crc64</a></div><divclass="ttdeci">uint64_t crc64</div><divclass="ttdoc">CRC64-ECMA of the uncompressed payload (length bytes).</div><divclass="ttdef"><b>Definition</b><ahref="#l00079">data.h:79</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_ac31ad48f3362a43175c94ec2e30662ad"><divclass="ttname"><ahref="structBlockHeader.html#ac31ad48f3362a43175c94ec2e30662ad">BlockHeader::type</a></div><divclass="ttdeci">uint16_t type</div><divclass="ttdoc">Logical data classification (value from DataType).</div><divclass="ttdef"><b>Definition</b><ahref="#l00073">data.h:73</a></div></div>
<divclass="ttc"id="astructBlockHeader_html_ad68963422fd2a5f6d0e0be751cbef559"><divclass="ttname"><ahref="structBlockHeader.html#ad68963422fd2a5f6d0e0be751cbef559">BlockHeader::compression</a></div><divclass="ttdeci">uint16_t compression</div><divclass="ttdoc">Compression algorithm used (value from CompressionType).</div><divclass="ttdef"><b>Definition</b><ahref="#l00074">data.h:74</a></div></div>
<divclass="ttc"id="astructGeometryBlockHeader_html_a233b19be8361b1c3c1963d8521924138"><divclass="ttname"><ahref="structGeometryBlockHeader.html#a233b19be8361b1c3c1963d8521924138">GeometryBlockHeader::identifier</a></div><divclass="ttdeci">uint32_t identifier</div><divclass="ttdoc">Block identifier, must be BlockType::GeometryBlock.</div><divclass="ttdef"><b>Definition</b><ahref="#l00092">data.h:92</a></div></div>
<divclass="ttc"id="astructGeometryBlockHeader_html_a38855dea9b1773ea7f6b837c973106d9"><divclass="ttname"><ahref="structGeometryBlockHeader.html#a38855dea9b1773ea7f6b837c973106d9">GeometryBlockHeader::cylinders</a></div><divclass="ttdeci">uint32_t cylinders</div><divclass="ttdoc">Number of cylinders.</div><divclass="ttdef"><b>Definition</b><ahref="#l00093">data.h:93</a></div></div>
<divclass="ttc"id="astructGeometryBlockHeader_html_a9ed0a8f6307eb38589ef4502cef533ee"><divclass="ttname"><ahref="structGeometryBlockHeader.html#a9ed0a8f6307eb38589ef4502cef533ee">GeometryBlockHeader::heads</a></div><divclass="ttdeci">uint32_t heads</div><divclass="ttdoc">Number of heads (tracks per cylinder).</div><divclass="ttdef"><b>Definition</b><ahref="#l00094">data.h:94</a></div></div>
<divclass="ttc"id="astructGeometryBlockHeader_html_aea5822d390ac6b2a3b8b2c6250046cd6"><divclass="ttname"><ahref="structGeometryBlockHeader.html#aea5822d390ac6b2a3b8b2c6250046cd6">GeometryBlockHeader::sectorsPerTrack</a></div><divclass="ttdeci">uint32_t sectorsPerTrack</div><divclass="ttdoc">Number of sectors per track.</div><divclass="ttdef"><b>Definition</b><ahref="#l00095">data.h:95</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>