|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
High-level summary of an opened Aaru image containing metadata and media characteristics. More...
#include <aaru.h>
Data Fields | |
| uint8_t | HasPartitions |
| Image contains partitions (or tracks for optical media); 0=no, non-zero=yes. | |
| uint8_t | HasSessions |
| Image contains multiple sessions (optical media); 0=single/none, non-zero=multi. | |
| uint64_t | ImageSize |
| Size of the image payload in bytes (excludes headers/metadata) | |
| uint64_t | Sectors |
| Total count of addressable logical sectors/blocks. | |
| uint32_t | SectorSize |
| Size of each logical sector in bytes (512, 2048, 2352, 4096, etc.) | |
| char | Version [32] |
| Image format version string (NUL-terminated, e.g., "6.0") | |
| char | Application [64] |
| Name of application that created the image (NUL-terminated) | |
| char | ApplicationVersion [32] |
| Version of the creating application (NUL-terminated) | |
| int64_t | CreationTime |
| Image creation timestamp (Windows FILETIME: 100ns since 1601-01-01 UTC) | |
| int64_t | LastModificationTime |
| Last modification timestamp (Windows FILETIME format) | |
| uint32_t | MediaType |
| Media type identifier (see MediaType enum; 0=Unknown) | |
| uint8_t | MetadataMediaType |
| Media type for sidecar generation (internal archival use) | |
High-level summary of an opened Aaru image containing metadata and media characteristics.
This structure aggregates essential information extracted from an Aaru format image file, providing callers with a comprehensive view of the imaged media without requiring access to internal image structures. All fields are read-only from the caller's perspective and reflect the state at the time the image was created or last modified.
HasPartitions (uint8_t):
HasSessions (uint8_t):
ImageSize (uint64_t):
Sectors (uint64_t):
SectorSize (uint32_t):
Version[32] (char array):
Application[64] (char array):
ApplicationVersion[32] (char array):
CreationTime (int64_t):
LastModificationTime (int64_t):
MediaType (uint32_t):
MediaType enum for switch/case logic; always include default/Unknown handling.MetadataMediaType (uint8_t):
| char ImageInfo::Application[64] |
Name of application that created the image (NUL-terminated)
Definition at line 877 of file aaru.h.
Referenced by aaruf_create(), and aaruf_open().
| char ImageInfo::ApplicationVersion[32] |
Version of the creating application (NUL-terminated)
Definition at line 878 of file aaru.h.
Referenced by aaruf_create(), and aaruf_open().
| int64_t ImageInfo::CreationTime |
Image creation timestamp (Windows FILETIME: 100ns since 1601-01-01 UTC)
Definition at line 879 of file aaru.h.
Referenced by aaruf_create(), and aaruf_open().
| uint8_t ImageInfo::HasPartitions |
Image contains partitions (or tracks for optical media); 0=no, non-zero=yes.
Definition at line 871 of file aaru.h.
Referenced by aaruf_set_tracks(), and process_tracks_block().
| uint8_t ImageInfo::HasSessions |
Image contains multiple sessions (optical media); 0=single/none, non-zero=multi.
Definition at line 872 of file aaru.h.
Referenced by aaruf_set_tracks(), and process_tracks_block().
| uint64_t ImageInfo::ImageSize |
Size of the image payload in bytes (excludes headers/metadata)
Definition at line 873 of file aaru.h.
Referenced by aaruf_create(), aaruf_open(), process_aaru_metadata_json_block(), process_cicm_block(), process_data_block(), process_ddt_v1(), process_ddt_v2(), process_geometry_block(), process_metadata_block(), process_tape_files_block(), process_tape_partitions_block(), and process_tracks_block().
| int64_t ImageInfo::LastModificationTime |
Last modification timestamp (Windows FILETIME format)
Definition at line 880 of file aaru.h.
Referenced by aaruf_create(), and aaruf_open().
| uint32_t ImageInfo::MediaType |
Media type identifier (see MediaType enum; 0=Unknown)
Definition at line 881 of file aaru.h.
Referenced by aaruf_create(), aaruf_open(), aaruf_read_sector_long(), aaruf_write_sector(), aaruf_write_sector_long(), and write_sector_subchannel().
| uint8_t ImageInfo::MetadataMediaType |
Media type for sidecar generation (internal archival use)
Definition at line 882 of file aaru.h.
Referenced by aaruf_create(), aaruf_open(), aaruf_read_sector_long(), aaruf_read_sector_tag(), aaruf_read_track_sector(), aaruf_write_sector(), aaruf_write_sector_long(), aaruf_write_sector_tag(), and write_sector_subchannel().
| uint64_t ImageInfo::Sectors |
Total count of addressable logical sectors/blocks.
Definition at line 874 of file aaru.h.
Referenced by aaruf_create(), aaruf_open(), aaruf_read_sector(), aaruf_read_sector_long(), aaruf_read_sector_tag(), aaruf_write_sector(), aaruf_write_sector_long(), aaruf_write_sector_tag(), process_ddt_v1(), process_ddt_v2(), write_dvd_long_sector_blocks(), write_dvd_title_key_decrypted_block(), write_mode2_subheaders_block(), write_sector_prefix_ddt(), write_sector_subchannel(), and write_sector_suffix_ddt().
| uint32_t ImageInfo::SectorSize |
Size of each logical sector in bytes (512, 2048, 2352, 4096, etc.)
Definition at line 875 of file aaru.h.
Referenced by aaruf_create(), aaruf_open(), aaruf_read_sector(), and process_data_block().
| char ImageInfo::Version[32] |
Image format version string (NUL-terminated, e.g., "6.0")
Definition at line 876 of file aaru.h.
Referenced by aaruf_create(), and aaruf_open().