<ahref="decls_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="aaaru_8h_html"><divclass="ttname"><ahref="aaru_8h.html">aaru.h</a></div><divclass="ttdoc">Public high-level API types: media classifications, per-sector / per-media tag enums and image summar...</div></div>
<divclass="ttc"id="acrc64_8h_html"><divclass="ttname"><ahref="crc64_8h.html">crc64.h</a></div><divclass="ttdoc">CRC64 (ECMA-182) core context and precomputed slicing-by-4 tables.</div></div>
<divclass="ttc"id="adecls_8h_html_a00537ecc9cb55b4ce3c92d61a8cea094"><divclass="ttname"><ahref="decls_8h.html#a00537ecc9cb55b4ce3c92d61a8cea094">aaruf_set_media_sequence</a></div><divclass="ttdeci">int32_t aaruf_set_media_sequence(void *context, int32_t sequence, int32_t last_sequence)</div><divclass="ttdoc">Sets the media sequence information for multi-volume media sets.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00364">metadata.c:364</a></div></div>
<divclass="ttc"id="adecls_8h_html_a01c915ab49a4b47fd6768a2055208c48"><divclass="ttname"><ahref="decls_8h.html#a01c915ab49a4b47fd6768a2055208c48">aaruf_set_tape_file</a></div><divclass="ttdeci">int32_t aaruf_set_tape_file(void *context, uint8_t partition, uint32_t file, uint64_t starting_block, uint64_t ending_block)</div><divclass="ttdoc">Sets or updates the block range for a specific tape file in an Aaru tape image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l00770">tape.c:770</a></div></div>
<divclass="ttc"id="adecls_8h_html_a02699c3490df86f9919ac8f22f303d9e"><divclass="ttname"><ahref="decls_8h.html#a02699c3490df86f9919ac8f22f303d9e">aaruf_clear_media_sequence</a></div><divclass="ttdeci">int32_t aaruf_clear_media_sequence(void *context)</div><divclass="ttdoc">Clears the media sequence information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03743">metadata.c:3743</a></div></div>
<divclass="ttc"id="adecls_8h_html_a05157a196fb583605599414d7ab06f53"><divclass="ttname"><ahref="decls_8h.html#a05157a196fb583605599414d7ab06f53">aaruf_set_media_part_number</a></div><divclass="ttdeci">int32_t aaruf_set_media_part_number(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media part number or model designation for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01299">metadata.c:1299</a></div></div>
<divclass="ttc"id="adecls_8h_html_a0d7349a92ffce2fa5515fae960c17b03"><divclass="ttname"><ahref="decls_8h.html#a0d7349a92ffce2fa5515fae960c17b03">aaruf_clear_drive_firmware_revision</a></div><divclass="ttdeci">int32_t aaruf_clear_drive_firmware_revision(void *context)</div><divclass="ttdoc">Clears the drive firmware revision from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04861">metadata.c:4861</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1892cc8395305d7e85d04544ded62131"><divclass="ttname"><ahref="decls_8h.html#a1892cc8395305d7e85d04544ded62131">aaruf_get_drive_serial_number</a></div><divclass="ttdeci">int32_t aaruf_get_drive_serial_number(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the imaging drive's serial number metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03111">metadata.c:3111</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1b4d35ee16a27a13f1bc16b0a17d65d1"><divclass="ttname"><ahref="decls_8h.html#a1b4d35ee16a27a13f1bc16b0a17d65d1">aaruf_set_drive_model</a></div><divclass="ttdeci">int32_t aaruf_set_drive_model(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the drive model information for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01536">metadata.c:1536</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1c8d4faf14212a4c46c1fb47bf25ac1e"><divclass="ttname"><ahref="decls_8h.html#a1c8d4faf14212a4c46c1fb47bf25ac1e">aaruf_get_tape_file</a></div><divclass="ttdeci">int32_t aaruf_get_tape_file(const void *context, uint8_t partition, uint32_t file, uint64_t *starting_block, uint64_t *ending_block)</div><divclass="ttdoc">Retrieves the block range for a specific tape file from an Aaru tape image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l00569">tape.c:569</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1da2dd0571762fa7c13bc956ec12dfab"><divclass="ttname"><ahref="decls_8h.html#a1da2dd0571762fa7c13bc956ec12dfab">aaruf_set_creator</a></div><divclass="ttdeci">int32_t aaruf_set_creator(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the creator (person/operator) information for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00495">metadata.c:495</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1e8667b4e2bc168a5411d9671a44a73c"><divclass="ttname"><ahref="decls_8h.html#a1e8667b4e2bc168a5411d9671a44a73c">aaruf_sha1_buffer</a></div><divclass="ttdeci">void aaruf_sha1_buffer(const void *data, unsigned long size, unsigned char *result)</div><divclass="ttdef"><b>Definition</b><ahref="sha1_8c_source.html#l00155">sha1.c:155</a></div></div>
<divclass="ttc"id="adecls_8h_html_a1fb4423a841ccd728e3ad0d028cbc9b4"><divclass="ttname"><ahref="decls_8h.html#a1fb4423a841ccd728e3ad0d028cbc9b4">aaruf_crc64_update</a></div><divclass="ttdeci">int aaruf_crc64_update(crc64_ctx *ctx, const uint8_t *data, uint32_t len)</div><divclass="ttdoc">Updates the CRC64 context with new data.</div><divclass="ttdef"><b>Definition</b><ahref="crc64_8c_source.html#l00055">crc64.c:55</a></div></div>
<divclass="ttc"id="adecls_8h_html_a21d65b63e9806deb6dd0eb9c0e69eaf0"><divclass="ttname"><ahref="decls_8h.html#a21d65b63e9806deb6dd0eb9c0e69eaf0">aaruf_clear_media_serial_number</a></div><divclass="ttdeci">int32_t aaruf_clear_media_serial_number(void *context)</div><divclass="ttdoc">Clears the media serial number from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04340">metadata.c:4340</a></div></div>
<divclass="ttc"id="adecls_8h_html_a2b5ef51f1913c62139b90cae0f97a9a2"><divclass="ttname"><ahref="decls_8h.html#a2b5ef51f1913c62139b90cae0f97a9a2">aaruf_clear_media_barcode</a></div><divclass="ttdeci">int32_t aaruf_clear_media_barcode(void *context)</div><divclass="ttdoc">Clears the media barcode information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04426">metadata.c:4426</a></div></div>
<divclass="ttc"id="adecls_8h_html_a2c3aa323e7217e4d25b895a094a34cd0"><divclass="ttname"><ahref="decls_8h.html#a2c3aa323e7217e4d25b895a094a34cd0">aaruf_get_all_tape_partitions</a></div><divclass="ttdeci">int32_t aaruf_get_all_tape_partitions(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieves all tape partition entries from the image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l01416">tape.c:1416</a></div></div>
<divclass="ttc"id="adecls_8h_html_a2ce65757ca5209f17d467c51ba7d445d"><divclass="ttname"><ahref="decls_8h.html#a2ce65757ca5209f17d467c51ba7d445d">aaruf_get_tracks</a></div><divclass="ttdeci">int32_t aaruf_get_tracks(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieve the array of track descriptors contained in an opened AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="optical_8c_source.html#l00281">optical.c:281</a></div></div>
<divclass="ttc"id="adecls_8h_html_a2dff9d23775ba429c38efd251844092d"><divclass="ttname"><ahref="decls_8h.html#a2dff9d23775ba429c38efd251844092d">aaruf_set_media_serial_number</a></div><divclass="ttdeci">int32_t aaruf_set_media_serial_number(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media serial number for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01056">metadata.c:1056</a></div></div>
<divclass="ttc"id="adecls_8h_html_a322819729519cc5e0fcd625510158e18"><divclass="ttname"><ahref="decls_8h.html#a322819729519cc5e0fcd625510158e18">aaruf_ecc_cd_write_sector</a></div><divclass="ttdeci">void aaruf_ecc_cd_write_sector(void *context, const uint8_t *address, const uint8_t *data, uint8_t *ecc, int32_t address_offset, int32_t data_offset, int32_t ecc_offset)</div><divclass="ttdoc">Writes ECC for a full CD sector (both P and Q ECC).</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00352">ecc_cd.c:352</a></div></div>
<divclass="ttc"id="adecls_8h_html_a37f50b38ceaee7db0b7731ee978b8241"><divclass="ttname"><ahref="decls_8h.html#a37f50b38ceaee7db0b7731ee978b8241">aaruf_set_media_title</a></div><divclass="ttdeci">int32_t aaruf_set_media_title(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media title or label for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00722">metadata.c:722</a></div></div>
<divclass="ttc"id="adecls_8h_html_a38d72be7e7854d6cb0bba89172e27b03"><divclass="ttname"><ahref="decls_8h.html#a38d72be7e7854d6cb0bba89172e27b03">aaruf_get_creator</a></div><divclass="ttdeci">int32_t aaruf_get_creator(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the recorded creator (operator) name from the MetadataBlock.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02407">metadata.c:2407</a></div></div>
<divclass="ttc"id="adecls_8h_html_a3acb21067897f9cfc40e6288050a60c1"><divclass="ttname"><ahref="decls_8h.html#a3acb21067897f9cfc40e6288050a60c1">aaruf_set_drive_manufacturer</a></div><divclass="ttdeci">int32_t aaruf_set_drive_manufacturer(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the drive manufacturer information for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01414">metadata.c:1414</a></div></div>
<divclass="ttc"id="adecls_8h_html_a3d46262ff1f9d51d57d1e95648f4083b"><divclass="ttname"><ahref="decls_8h.html#a3d46262ff1f9d51d57d1e95648f4083b">aaruf_set_media_manufacturer</a></div><divclass="ttdeci">int32_t aaruf_set_media_manufacturer(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media manufacturer information for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00834">metadata.c:834</a></div></div>
<divclass="ttc"id="adecls_8h_html_a3db92f6bebf60195d6ab327e17988cee"><divclass="ttname"><ahref="decls_8h.html#a3db92f6bebf60195d6ab327e17988cee">aaruf_get_drive_firmware_revision</a></div><divclass="ttdeci">int32_t aaruf_get_drive_firmware_revision(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the firmware revision metadata for the imaging drive.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03181">metadata.c:3181</a></div></div>
<divclass="ttc"id="adecls_8h_html_a41bf934e213aad15df933590e6343c3e"><divclass="ttname"><ahref="decls_8h.html#a41bf934e213aad15df933590e6343c3e">aaruf_clear_media_title</a></div><divclass="ttdeci">int32_t aaruf_clear_media_title(void *context)</div><divclass="ttdoc">Clears the media title or label from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04086">metadata.c:4086</a></div></div>
<divclass="ttc"id="adecls_8h_html_a42e1c4b1876e6b28c774aae4de3c1f4e"><divclass="ttname"><ahref="decls_8h.html#a42e1c4b1876e6b28c774aae4de3c1f4e">aaruf_clear_media_manufacturer</a></div><divclass="ttdeci">int32_t aaruf_clear_media_manufacturer(void *context)</div><divclass="ttdoc">Clears the media manufacturer information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04170">metadata.c:4170</a></div></div>
<divclass="ttc"id="adecls_8h_html_a42f191c2ea4c70c9d7b373c19b59c812"><divclass="ttname"><ahref="decls_8h.html#a42f191c2ea4c70c9d7b373c19b59c812">aaruf_get_cicm_metadata</a></div><divclass="ttdeci">int32_t aaruf_get_cicm_metadata(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieves the embedded CICM XML metadata sidecar from the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01947">metadata.c:1947</a></div></div>
<divclass="ttc"id="adecls_8h_html_a43615f5e79107a192d383d230fa308e0"><divclass="ttname"><ahref="decls_8h.html#a43615f5e79107a192d383d230fa308e0">aaruf_clear_drive_model</a></div><divclass="ttdeci">int32_t aaruf_clear_drive_model(void *context)</div><divclass="ttdoc">Clears the drive model information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04684">metadata.c:4684</a></div></div>
<divclass="ttc"id="adecls_8h_html_a4499e33d2fd3f8b514e510180972ec6f"><divclass="ttname"><ahref="decls_8h.html#a4499e33d2fd3f8b514e510180972ec6f">aaruf_set_media_barcode</a></div><divclass="ttdeci">int32_t aaruf_set_media_barcode(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media barcode information for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01178">metadata.c:1178</a></div></div>
<divclass="ttc"id="adecls_8h_html_a48f93ec154d0aed7cb713391a7717b46"><divclass="ttname"><ahref="decls_8h.html#a48f93ec154d0aed7cb713391a7717b46">aaruf_read_media_tag</a></div><divclass="ttdeci">int32_t aaruf_read_media_tag(void *context, uint8_t *data, int32_t tag, uint32_t *length)</div><divclass="ttdoc">Reads a media tag from the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="read_8c_source.html#l00085">read.c:85</a></div></div>
<divclass="ttc"id="adecls_8h_html_a4943569a8623eb2e3e0adc276c433097"><divclass="ttname"><ahref="decls_8h.html#a4943569a8623eb2e3e0adc276c433097">aaruf_crc64_free</a></div><divclass="ttdeci">void aaruf_crc64_free(crc64_ctx *ctx)</div><divclass="ttdoc">Frees a CRC64 context.</div><divclass="ttdef"><b>Definition</b><ahref="crc64_8c_source.html#l00155">crc64.c:155</a></div></div>
<divclass="ttc"id="adecls_8h_html_a4b8cd2bb5fd9e2c670a0a13695c6f9e3"><divclass="ttname"><ahref="decls_8h.html#a4b8cd2bb5fd9e2c670a0a13695c6f9e3">aaruf_write_sector</a></div><divclass="ttdeci">int32_t aaruf_write_sector(void *context, uint64_t sector_address, bool negative, const uint8_t *data, uint8_t sector_status, uint32_t length)</div><divclass="ttdoc">Writes a sector to the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="write_8c_source.html#l00098">write.c:98</a></div></div>
<divclass="ttc"id="adecls_8h_html_a4cb7b7200e36efb4983cf2c5c5543313"><divclass="ttname"><ahref="decls_8h.html#a4cb7b7200e36efb4983cf2c5c5543313">aaruf_get_media_serial_number</a></div><divclass="ttdeci">int32_t aaruf_get_media_serial_number(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the media serial number recorded in the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02759">metadata.c:2759</a></div></div>
<divclass="ttc"id="adecls_8h_html_a4cdfb46f5630fcf1fe6447b37ad18ae2"><divclass="ttname"><ahref="decls_8h.html#a4cdfb46f5630fcf1fe6447b37ad18ae2">aaruf_get_media_part_number</a></div><divclass="ttdeci">int32_t aaruf_get_media_part_number(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the media part number recorded in the MetadataBlock.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02899">metadata.c:2899</a></div></div>
<divclass="ttc"id="adecls_8h_html_a509892f76c9a03a030693740d043adfc"><divclass="ttname"><ahref="decls_8h.html#a509892f76c9a03a030693740d043adfc">aaruf_get_media_model</a></div><divclass="ttdeci">int32_t aaruf_get_media_model(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the media model or product designation metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02689">metadata.c:2689</a></div></div>
<divclass="ttc"id="adecls_8h_html_a515c264f726f8b0a5104778b383ad1d4"><divclass="ttname"><ahref="decls_8h.html#a515c264f726f8b0a5104778b383ad1d4">aaruf_get_media_manufacturer</a></div><divclass="ttdeci">int32_t aaruf_get_media_manufacturer(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the recorded media manufacturer name.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02619">metadata.c:2619</a></div></div>
<divclass="ttc"id="adecls_8h_html_a518d8d68debf1b9a24af3eb6bc2f9e49"><divclass="ttname"><ahref="decls_8h.html#a518d8d68debf1b9a24af3eb6bc2f9e49">aaruf_set_tracks</a></div><divclass="ttdeci">int32_t aaruf_set_tracks(void *context, TrackEntry *tracks, const int count)</div><divclass="ttdoc">Replace (or clear) the in-memory track table for an AaruFormat image context.</div><divclass="ttdef"><b>Definition</b><ahref="optical_8c_source.html#l00392">optical.c:392</a></div></div>
<divclass="ttc"id="adecls_8h_html_a54d724659818ea4486f9981672f6d01e"><divclass="ttname"><ahref="decls_8h.html#a54d724659818ea4486f9981672f6d01e">aaruf_get_drive_model</a></div><divclass="ttdeci">int32_t aaruf_get_drive_model(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the device model information for the imaging drive.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03041">metadata.c:3041</a></div></div>
<divclass="ttc"id="adecls_8h_html_a554f1cbd4c013c46788b2276c3244c32"><divclass="ttname"><ahref="decls_8h.html#a554f1cbd4c013c46788b2276c3244c32">aaruf_get_media_tag_type_for_datatype</a></div><divclass="ttdeci">int32_t aaruf_get_media_tag_type_for_datatype(int32_t type)</div><divclass="ttdoc">Converts an image data type to an Aaru media tag type.</div><divclass="ttdef"><b>Definition</b><ahref="helpers_8c_source.html#l00039">helpers.c:39</a></div></div>
<divclass="ttc"id="adecls_8h_html_a580c8bf133cf3481deca14779b8b5419"><divclass="ttname"><ahref="decls_8h.html#a580c8bf133cf3481deca14779b8b5419">aaruf_get_media_barcode</a></div><divclass="ttdeci">int32_t aaruf_get_media_barcode(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the barcode assigned to the physical media or its packaging.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02828">metadata.c:2828</a></div></div>
<divclass="ttc"id="adecls_8h_html_a5a9767f3b860752b493aa7bee9d39a8d"><divclass="ttname"><ahref="decls_8h.html#a5a9767f3b860752b493aa7bee9d39a8d">aaruf_spamsum_update</a></div><divclass="ttdeci">int aaruf_spamsum_update(spamsum_ctx *ctx, const uint8_t *data, uint32_t len)</div><divclass="ttdoc">Updates the spamsum context with new data.</div><divclass="ttdef"><b>Definition</b><ahref="spamsum_8c_source.html#l00059">spamsum.c:59</a></div></div>
<divclass="ttc"id="adecls_8h_html_a62dc66d1bbbfacd41706bf4d87d11264"><divclass="ttname"><ahref="decls_8h.html#a62dc66d1bbbfacd41706bf4d87d11264">aaruf_clear_drive_manufacturer</a></div><divclass="ttdeci">int32_t aaruf_clear_drive_manufacturer(void *context)</div><divclass="ttdoc">Clears the drive manufacturer information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04598">metadata.c:4598</a></div></div>
<divclass="ttc"id="adecls_8h_html_a65c73217edb9661accbbe3de4f555b62"><divclass="ttname"><ahref="decls_8h.html#a65c73217edb9661accbbe3de4f555b62">aaruf_get_image_info</a></div><divclass="ttdeci">int32_t aaruf_get_image_info(const void *context, ImageInfo *image_info)</div><divclass="ttdoc">Retrieves a deep copy of the ImageInfo structure from the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03637">metadata.c:3637</a></div></div>
<divclass="ttc"id="adecls_8h_html_a67c65c3f2ca5cdf1596c16fa35558df1"><divclass="ttname"><ahref="decls_8h.html#a67c65c3f2ca5cdf1596c16fa35558df1">aaruf_edc_cd_compute</a></div><divclass="ttdeci">uint32_t aaruf_edc_cd_compute(void *context, uint32_t edc, const uint8_t *src, int size, int pos)</div><divclass="ttdoc">Computes the EDC (Error Detection Code) for a CD sector.</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00547">ecc_cd.c:547</a></div></div>
<divclass="ttc"id="adecls_8h_html_a6823e139f81a9dfd08efcb0e9b213a49"><divclass="ttname"><ahref="decls_8h.html#a6823e139f81a9dfd08efcb0e9b213a49">aaruf_close</a></div><divclass="ttdeci">int aaruf_close(void *context)</div><divclass="ttdoc">Close an Aaru image context, flushing pending data structures and releasing resources.</div><divclass="ttdef"><b>Definition</b><ahref="close_8c_source.html#l03997">close.c:3997</a></div></div>
<divclass="ttc"id="adecls_8h_html_a69ca66242c0becf7640b3d1cc8da8f9c"><divclass="ttname"><ahref="decls_8h.html#a69ca66242c0becf7640b3d1cc8da8f9c">aaruf_write_sector_long</a></div><divclass="ttdeci">int32_t aaruf_write_sector_long(void *context, uint64_t sector_address, bool negative, const uint8_t *data, uint8_t sector_status, uint32_t length)</div><divclass="ttdoc">Writes a full ("long") raw sector from optical or block media, parsing structure and validating conte...</div><divclass="ttdef"><b>Definition</b><ahref="write_8c_source.html#l00537">write.c:537</a></div></div>
<divclass="ttc"id="adecls_8h_html_a6a8994cd006711347fb03cec465eafa6"><divclass="ttname"><ahref="decls_8h.html#a6a8994cd006711347fb03cec465eafa6">aaruf_write_sector_tag</a></div><divclass="ttdeci">int32_t aaruf_write_sector_tag(void *context, uint64_t sector_address, bool negative, const uint8_t *data, size_t length, int32_t tag)</div><divclass="ttdoc">Writes per-sector tag data (auxiliary metadata) for a specific sector.</div><divclass="ttdef"><b>Definition</b><ahref="write_8c_source.html#l02069">write.c:2069</a></div></div>
<divclass="ttc"id="adecls_8h_html_a6f30353aff3ece1e889542c26f7146e2"><divclass="ttname"><ahref="decls_8h.html#a6f30353aff3ece1e889542c26f7146e2">aaruf_identify_stream</a></div><divclass="ttdeci">int aaruf_identify_stream(FILE *image_stream)</div><divclass="ttdoc">Identifies a file as an AaruFormat image using an open stream.</div><divclass="ttdef"><b>Definition</b><ahref="identify_8c_source.html#l00163">identify.c:163</a></div></div>
<divclass="ttc"id="adecls_8h_html_a6fe74704e44be7adfaa2ce676f3c3de4"><divclass="ttname"><ahref="decls_8h.html#a6fe74704e44be7adfaa2ce676f3c3de4">aaruf_spamsum_free</a></div><divclass="ttdeci">void aaruf_spamsum_free(spamsum_ctx *ctx)</div><divclass="ttdoc">Frees a spamsum (fuzzy hash) context.</div><divclass="ttdef"><b>Definition</b><ahref="spamsum_8c_source.html#l00075">spamsum.c:75</a></div></div>
<divclass="ttc"id="adecls_8h_html_a73c3788f7376196abd596d6d846466b1"><divclass="ttname"><ahref="decls_8h.html#a73c3788f7376196abd596d6d846466b1">aaruf_ecc_cd_reconstruct_prefix</a></div><divclass="ttdeci">void aaruf_ecc_cd_reconstruct_prefix(uint8_t *sector, uint8_t type, int64_t lba)</div><divclass="ttdoc">Reconstructs the prefix (sync, address, mode) of a CD sector.</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00392">ecc_cd.c:392</a></div></div>
<divclass="ttc"id="adecls_8h_html_a74c444fbd394f58aefd2fabff221231b"><divclass="ttname"><ahref="decls_8h.html#a74c444fbd394f58aefd2fabff221231b">aaruf_identify</a></div><divclass="ttdeci">int aaruf_identify(const char *filename)</div><divclass="ttdoc">Identifies a file as an AaruFormat image using a file path.</div><divclass="ttdef"><b>Definition</b><ahref="identify_8c_source.html#l00084">identify.c:84</a></div></div>
<divclass="ttc"id="adecls_8h_html_a7e63f10ff3ea353c8c3944cd836a85ee"><divclass="ttname"><ahref="decls_8h.html#a7e63f10ff3ea353c8c3944cd836a85ee">aaruf_get_user_sectors</a></div><divclass="ttdeci">int32_t aaruf_get_user_sectors(const void *context, uint64_t *sectors)</div><divclass="ttdoc">Retrieves the total number of user-accessible sectors in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03295">metadata.c:3295</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8090a039e00ee003569939332d21094e"><divclass="ttname"><ahref="decls_8h.html#a8090a039e00ee003569939332d21094e">aaruf_set_aaru_json_metadata</a></div><divclass="ttdeci">int32_t aaruf_set_aaru_json_metadata(void *context, uint8_t *data, size_t length)</div><divclass="ttdoc">Sets the Aaru metadata JSON for the image during creation.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02261">metadata.c:2261</a></div></div>
<divclass="ttc"id="adecls_8h_html_a83ecd1f5636915aebacfd29fc6306520"><divclass="ttname"><ahref="decls_8h.html#a83ecd1f5636915aebacfd29fc6306520">aaruf_crc64_slicing</a></div><divclass="ttdeci">void aaruf_crc64_slicing(uint64_t *previous_crc, const uint8_t *data, uint32_t len)</div><divclass="ttdoc">Updates a CRC64 value using the slicing-by-8 algorithm.</div><divclass="ttdef"><b>Definition</b><ahref="crc64_8c_source.html#l00102">crc64.c:102</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8652ae4a4cdf400846621d7f497c8b60"><divclass="ttname"><ahref="decls_8h.html#a8652ae4a4cdf400846621d7f497c8b60">aaruf_clear_media_part_number</a></div><divclass="ttdeci">int32_t aaruf_clear_media_part_number(void *context)</div><divclass="ttdoc">Clears the media part number or model designation from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04512">metadata.c:4512</a></div></div>
<divclass="ttc"id="adecls_8h_html_a878605956a88a3371f4f6e490ee9e2b8"><divclass="ttname"><ahref="decls_8h.html#a878605956a88a3371f4f6e490ee9e2b8">aaruf_clear_comments</a></div><divclass="ttdeci">int32_t aaruf_clear_comments(void *context)</div><divclass="ttdoc">Clears user comments or notes from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04003">metadata.c:4003</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8cbf4d8059c4b36e8ab5e18fec057b52"><divclass="ttname"><ahref="decls_8h.html#a8cbf4d8059c4b36e8ab5e18fec057b52">aaruf_verify_image</a></div><divclass="ttdeci">int32_t aaruf_verify_image(void *context)</div><divclass="ttdoc">Verifies the integrity of an AaruFormat image file.</div><divclass="ttdef"><b>Definition</b><ahref="verify_8c_source.html#l00130">verify.c:130</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8d042b26980b56b5dd872f21fa33de70"><divclass="ttname"><ahref="decls_8h.html#a8d042b26980b56b5dd872f21fa33de70">aaruf_get_datatype_for_media_tag_type</a></div><divclass="ttdeci">int32_t aaruf_get_datatype_for_media_tag_type(int32_t tag_type)</div><divclass="ttdoc">Converts an Aaru media tag type to an image data type.</div><divclass="ttdef"><b>Definition</b><ahref="helpers_8c_source.html#l00197">helpers.c:197</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8e00d26a8e751fbd412868ac4f92a3c0"><divclass="ttname"><ahref="decls_8h.html#a8e00d26a8e751fbd412868ac4f92a3c0">aaruf_get_negative_sectors</a></div><divclass="ttdeci">int32_t aaruf_get_negative_sectors(const void *context, uint16_t *sectors)</div><divclass="ttdoc">Retrieves the number of negative (pre-gap) sectors in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03420">metadata.c:3420</a></div></div>
<divclass="ttc"id="adecls_8h_html_a8eed9fbf0341f48bac755524f4c99ef2"><divclass="ttname"><ahref="decls_8h.html#a8eed9fbf0341f48bac755524f4c99ef2">aaruf_set_media_model</a></div><divclass="ttdeci">int32_t aaruf_set_media_model(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the media model or product designation for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00941">metadata.c:941</a></div></div>
<divclass="ttc"id="adecls_8h_html_a938d3346f5347dc152b679e6cf619d94"><divclass="ttname"><ahref="decls_8h.html#a938d3346f5347dc152b679e6cf619d94">aaruf_clear_media_model</a></div><divclass="ttdeci">int32_t aaruf_clear_media_model(void *context)</div><divclass="ttdoc">Clears the media model or product designation from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04254">metadata.c:4254</a></div></div>
<divclass="ttc"id="adecls_8h_html_a9628bcfd2642649a6bcbf1f46d6b6705"><divclass="ttname"><ahref="decls_8h.html#a9628bcfd2642649a6bcbf1f46d6b6705">aaruf_get_comments</a></div><divclass="ttdeci">int32_t aaruf_get_comments(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the user comments or notes stored in the MetadataBlock.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02479">metadata.c:2479</a></div></div>
<divclass="ttc"id="adecls_8h_html_a9c9e2440119b8d7e67cb2c40125bf295"><divclass="ttname"><ahref="decls_8h.html#a9c9e2440119b8d7e67cb2c40125bf295">aaruf_ecc_cd_reconstruct</a></div><divclass="ttdeci">void aaruf_ecc_cd_reconstruct(void *context, uint8_t *sector, uint8_t type)</div><divclass="ttdoc">Reconstructs the EDC and ECC fields of a CD sector.</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00459">ecc_cd.c:459</a></div></div>
<divclass="ttc"id="adecls_8h_html_a9cfc80d1cfa399bfea980b6ac4e2208a"><divclass="ttname"><ahref="decls_8h.html#a9cfc80d1cfa399bfea980b6ac4e2208a">aaruf_get_readable_media_tags</a></div><divclass="ttdeci">int32_t aaruf_get_readable_media_tags(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieves which media tags are present in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="blocks_2metadata_8c_source.html#l00706">metadata.c:706</a></div></div>
<divclass="ttc"id="adecls_8h_html_a9daeeb54c74dd2707d95ab47e8ab0a00"><divclass="ttname"><ahref="decls_8h.html#a9daeeb54c74dd2707d95ab47e8ab0a00">aaruf_set_tape_partition</a></div><divclass="ttdeci">int32_t aaruf_set_tape_partition(void *context, uint8_t partition, uint64_t starting_block, uint64_t ending_block)</div><divclass="ttdoc">Sets or updates the block range for a specific tape partition in an Aaru tape image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l01196">tape.c:1196</a></div></div>
<divclass="ttc"id="adecls_8h_html_aa041a789fbae70c1e1ec3e38f1ab369d"><divclass="ttname"><ahref="decls_8h.html#aa041a789fbae70c1e1ec3e38f1ab369d">aaruf_write_media_tag</a></div><divclass="ttdeci">int32_t aaruf_write_media_tag(void *context, const uint8_t *data, int32_t type, uint32_t length)</div><divclass="ttdoc">Writes a media tag to the AaruFormat image, storing medium-specific metadata and descriptors.</div><divclass="ttdef"><b>Definition</b><ahref="write_8c_source.html#l01800">write.c:1800</a></div></div>
<divclass="ttc"id="adecls_8h_html_aa6d7ceaf960a4e8d4494424f11815fcb"><divclass="ttname"><ahref="decls_8h.html#aa6d7ceaf960a4e8d4494424f11815fcb">aaruf_clear_drive_serial_number</a></div><divclass="ttdeci">int32_t aaruf_clear_drive_serial_number(void *context)</div><divclass="ttdoc">Clears the drive serial number from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l04773">metadata.c:4773</a></div></div>
<divclass="ttc"id="adecls_8h_html_aa9ed74c6988c035d9ba0d11965d5cf10"><divclass="ttname"><ahref="decls_8h.html#aa9ed74c6988c035d9ba0d11965d5cf10">aaruf_get_readable_sector_tags</a></div><divclass="ttdeci">int32_t aaruf_get_readable_sector_tags(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieves which sector tags are readable in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="blocks_2metadata_8c_source.html#l00618">metadata.c:618</a></div></div>
<divclass="ttc"id="adecls_8h_html_ab1ca1a092699df0f43ea050812f6c6b1"><divclass="ttname"><ahref="decls_8h.html#ab1ca1a092699df0f43ea050812f6c6b1">aaruf_get_tape_partition</a></div><divclass="ttdeci">int32_t aaruf_get_tape_partition(const void *context, uint8_t partition, uint64_t *starting_block, uint64_t *ending_block)</div><divclass="ttdoc">Retrieves the block range for a specific tape partition from an Aaru tape image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l00982">tape.c:982</a></div></div>
<divclass="ttc"id="adecls_8h_html_ab5f178e5ec94596e44a3fdb001d4a5f8"><divclass="ttname"><ahref="decls_8h.html#ab5f178e5ec94596e44a3fdb001d4a5f8">aaruf_sha256_update</a></div><divclass="ttdeci">void aaruf_sha256_update(sha256_ctx *ctx, const void *data, unsigned long size)</div><divclass="ttdef"><b>Definition</b><ahref="sha256_8c_source.html#l00090">sha256.c:90</a></div></div>
<divclass="ttc"id="adecls_8h_html_ab77ca170a2e8d2f0a2a7ea1a8a51690a"><divclass="ttname"><ahref="decls_8h.html#ab77ca170a2e8d2f0a2a7ea1a8a51690a">aaruf_ecc_cd_is_suffix_correct_mode2</a></div><divclass="ttdeci">bool aaruf_ecc_cd_is_suffix_correct_mode2(void *context, const uint8_t *sector)</div><divclass="ttdoc">Checks if the suffix (EDC/ECC) of a CD sector is correct (Mode 2).</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00165">ecc_cd.c:165</a></div></div>
<divclass="ttc"id="adecls_8h_html_abbcf276c3518b3e666885ab250fd374e"><divclass="ttname"><ahref="decls_8h.html#abbcf276c3518b3e666885ab250fd374e">aaruf_get_geometry</a></div><divclass="ttdeci">int32_t aaruf_get_geometry(const void *context, uint32_t *cylinders, uint32_t *heads, uint32_t *sectors_per_track)</div><divclass="ttdoc">Retrieves the logical CHS geometry from the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00094">metadata.c:94</a></div></div>
<divclass="ttc"id="adecls_8h_html_ac20c45113b5e1917fc550d1fb8342ba2"><divclass="ttname"><ahref="decls_8h.html#ac20c45113b5e1917fc550d1fb8342ba2">aaruf_clear_creator</a></div><divclass="ttdeci">int32_t aaruf_clear_creator(void *context)</div><divclass="ttdoc">Clears the creator (person/operator) information from the image metadata.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03874">metadata.c:3874</a></div></div>
<divclass="ttc"id="adecls_8h_html_ad4f8c223fb7c48a03ac4120d12e657b3"><divclass="ttname"><ahref="decls_8h.html#ad4f8c223fb7c48a03ac4120d12e657b3">aaruf_get_all_tape_files</a></div><divclass="ttdeci">int32_t aaruf_get_all_tape_files(const void *context, uint8_t *buffer, size_t *length)</div><divclass="ttdoc">Retrieves all tape file entries from the image.</div><divclass="ttdef"><b>Definition</b><ahref="tape_8c_source.html#l01314">tape.c:1314</a></div></div>
<divclass="ttc"id="adecls_8h_html_ad98012dc12a51d9eadbd79a25aab8299"><divclass="ttname"><ahref="decls_8h.html#ad98012dc12a51d9eadbd79a25aab8299">aaruf_set_dumphw</a></div><divclass="ttdeci">int32_t aaruf_set_dumphw(void *context, uint8_t *data, size_t length)</div><divclass="ttdoc">Sets the dump hardware block for the image during creation.</div><divclass="ttdef"><b>Definition</b><ahref="dump_8c_source.html#l00531">dump.c:531</a></div></div>
<divclass="ttc"id="adecls_8h_html_add7cede9e5544ae12ae2b22eaf48e54c"><divclass="ttname"><ahref="decls_8h.html#add7cede9e5544ae12ae2b22eaf48e54c">aaruf_set_drive_firmware_revision</a></div><divclass="ttdeci">int32_t aaruf_set_drive_firmware_revision(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the drive firmware revision for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01795">metadata.c:1795</a></div></div>
<divclass="ttc"id="adecls_8h_html_ae0945dde37d57278f14d71bfc9b56d55"><divclass="ttname"><ahref="decls_8h.html#ae0945dde37d57278f14d71bfc9b56d55">aaruf_read_track_sector</a></div><divclass="ttdeci">int32_t aaruf_read_track_sector(void *context, uint8_t *data, uint64_t sector_address, uint32_t *length, uint8_t track, uint8_t *sector_status)</div><divclass="ttdoc">Reads a sector from a specific track in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="read_8c_source.html#l00670">read.c:670</a></div></div>
<divclass="ttc"id="adecls_8h_html_ae48cfb59c6585e9ffd4cd1a97044891f"><divclass="ttname"><ahref="decls_8h.html#ae48cfb59c6585e9ffd4cd1a97044891f">aaruf_crc64_final</a></div><divclass="ttdeci">int aaruf_crc64_final(crc64_ctx *ctx, uint64_t *crc)</div><divclass="ttdoc">Computes the final CRC64 value from the context.</div><divclass="ttdef"><b>Definition</b><ahref="crc64_8c_source.html#l00141">crc64.c:141</a></div></div>
<divclass="ttc"id="adecls_8h_html_ae5a85524a6e27339c02c4a5791e0db57"><divclass="ttname"><ahref="decls_8h.html#ae5a85524a6e27339c02c4a5791e0db57">aaruf_read_sector_tag</a></div><divclass="ttdeci">int32_t aaruf_read_sector_tag(const void *context, uint64_t sector_address, bool negative, uint8_t *buffer, uint32_t *length, int32_t tag)</div><divclass="ttdoc">Reads a specific sector tag from the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="read_8c_source.html#l01474">read.c:1474</a></div></div>
<divclass="ttc"id="adecls_8h_html_aed40c9ebc6d963b2a8ed5ebec1fed3c5"><divclass="ttname"><ahref="decls_8h.html#aed40c9ebc6d963b2a8ed5ebec1fed3c5">aaruf_read_sector_long</a></div><divclass="ttdeci">int32_t aaruf_read_sector_long(void *context, uint64_t sector_address, bool negative, uint8_t *data, uint32_t *length, uint8_t *sector_status)</div><divclass="ttdoc">Reads a complete sector with all metadata from the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="read_8c_source.html#l00826">read.c:826</a></div></div>
<divclass="ttc"id="adecls_8h_html_aeeae64b120a10bac5e3d757a07a9691a"><divclass="ttname"><ahref="decls_8h.html#aeeae64b120a10bac5e3d757a07a9691a">aaruf_get_overflow_sectors</a></div><divclass="ttdeci">int32_t aaruf_get_overflow_sectors(const void *context, uint16_t *sectors)</div><divclass="ttdoc">Retrieves the number of overflow (post-gap) sectors in the AaruFormat image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l03555">metadata.c:3555</a></div></div>
<divclass="ttc"id="adecls_8h_html_aef269305958754978beedf4c44618d98"><divclass="ttname"><ahref="decls_8h.html#aef269305958754978beedf4c44618d98">aaruf_set_drive_serial_number</a></div><divclass="ttdeci">int32_t aaruf_set_drive_serial_number(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets the drive serial number for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l01660">metadata.c:1660</a></div></div>
<divclass="ttc"id="adecls_8h_html_af1ca27c052c6cde38a8d6d71e10936db"><divclass="ttname"><ahref="decls_8h.html#af1ca27c052c6cde38a8d6d71e10936db">aaruf_get_media_title</a></div><divclass="ttdeci">int32_t aaruf_get_media_title(const void *context, uint8_t *buffer, int32_t *length)</div><divclass="ttdoc">Retrieves the media title or label captured during image creation.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l02549">metadata.c:2549</a></div></div>
<divclass="ttc"id="adecls_8h_html_af7fcca1ab5ff0422ec81ec6e99001b38"><divclass="ttname"><ahref="decls_8h.html#af7fcca1ab5ff0422ec81ec6e99001b38">aaruf_set_comments</a></div><divclass="ttdeci">int32_t aaruf_set_comments(void *context, const uint8_t *data, int32_t length)</div><divclass="ttdoc">Sets user comments or notes for the image.</div><divclass="ttdef"><b>Definition</b><ahref="metadata_8c_source.html#l00609">metadata.c:609</a></div></div>
<divclass="ttc"id="adecls_8h_html_afbc09e16b1a654de04706e07c3212ecb"><divclass="ttname"><ahref="decls_8h.html#afbc09e16b1a654de04706e07c3212ecb">aaruf_ecc_cd_is_suffix_correct</a></div><divclass="ttdeci">bool aaruf_ecc_cd_is_suffix_correct(void *context, const uint8_t *sector)</div><divclass="ttdoc">Checks if the suffix (EDC/ECC) of a CD sector is correct (Mode 1).</div><divclass="ttdef"><b>Definition</b><ahref="ecc__cd_8c_source.html#l00101">ecc_cd.c:101</a></div></div>
<divclass="ttc"id="astructImageInfo_html"><divclass="ttname"><ahref="structImageInfo.html">ImageInfo</a></div><divclass="ttdoc">High-level summary of an opened Aaru image containing metadata and media characteristics.</div><divclass="ttdef"><b>Definition</b><ahref="aaru_8h_source.html#l00869">aaru.h:870</a></div></div>
<divclass="ttc"id="astructcrc64__ctx_html"><divclass="ttname"><ahref="structcrc64__ctx.html">crc64_ctx</a></div><divclass="ttdoc">Minimal ECMA-182 CRC64 incremental state container (running value only).</div><divclass="ttdef"><b>Definition</b><ahref="crc64_8h_source.html#l00055">crc64.h:56</a></div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.14.0 </li>