Sync specification with code.

This commit is contained in:
2025-10-11 13:17:26 +01:00
parent 1f33de2ccf
commit e2f3323a04
17 changed files with 188 additions and 275 deletions

View File

@@ -8,12 +8,11 @@ The contents of the JSON are preserved in their original form and are not parsed
[source,c]
#define METADATA_JSON_MAGIC 0x444D534A
/**Header for the Aaru Metadata JSON block */
typedef struct AaruMetadataJsonBlock
typedef struct AaruMetadataJsonBlockHeader
{
/**Identifier, <see cref="BlockType.AaruMetadataJsonBlock" /> */
uint32_t identifier;
uint32_t length;
} AaruMetadataJsonBlock;
uint32_t identifier; ///< Block identifier, must be BlockType::AaruMetadataJsonBlock.
uint32_t length; ///< Length in bytes of the Aaru metadata JSON payload that follows.
} AaruMetadataJsonBlockHeader;
==== Field Descriptions