diff --git a/docs/html/aaru_8h.html b/docs/html/aaru_8h.html index 5cc0cd0..92d4859 100644 --- a/docs/html/aaru_8h.html +++ b/docs/html/aaru_8h.html @@ -716,7 +716,7 @@ Enumerations }  Enumerates every recognized media / cartridge / optical / tape / card / disk format. More...
enum  SectorTagType {
-  AppleSectorTag = 0 +  AppleSonyTagAaru = 0 , CdSectorSync = 1 , CdSectorHeader = 2 , CdSectorSubHeader = 3 @@ -741,7 +741,9 @@ Enumerations , DvdSectorIedAaru = 18 , DvdSectorEdcAaru = 19 ,
-  MaxSectorTag = DvdSectorEdcAaru +  AppleProfileTagAaru = 20 +, PriamDataTowerTagAaru = 21 +, MaxSectorTag = PriamDataTowerTagAaru
} enum  MediaTagType {
@@ -837,6 +839,7 @@ Enumerations ,
  MiniDiscDTOC = 72 , DVD_DiscKey_Decrypted = 73 +, MaxMediaTag = DVD_DiscKey_Decrypted
} diff --git a/docs/html/aaru_8h.js b/docs/html/aaru_8h.js index 366f3d1..1c03690 100644 --- a/docs/html/aaru_8h.js +++ b/docs/html/aaru_8h.js @@ -75,7 +75,8 @@ var aaru_8h = [ "MiniDiscD5", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebea07d05a8c30e7516139ae761ac9eaefc1", null ], [ "MiniDiscUTOC", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebea7d3b34c3cd93d13905a87b466859b2a7", null ], [ "MiniDiscDTOC", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebea05624139ec685ba219acbc9ea0e49100", null ], - [ "DVD_DiscKey_Decrypted", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebea109296d460fd5fc05446914dad9a0834", null ] + [ "DVD_DiscKey_Decrypted", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebea109296d460fd5fc05446914dad9a0834", null ], + [ "MaxMediaTag", "group__MediaTags.html#ggabdd09c559df8f34ae68fcb2ff1892ebeacd570dfe827abf5d93ff1c36b44efa33", null ] ] ], [ "MediaType", "group__MediaTypes.html#ga1499e9f8a76cb81b43b7a4b0dbe7e44a", [ [ "UnknownMedia", "group__MediaTypes.html#gga1499e9f8a76cb81b43b7a4b0dbe7e44aa44b97367fe7b98fbdd658b6147bb6de5", null ], @@ -561,7 +562,7 @@ var aaru_8h = [ "VideoNowXp", "group__MediaTypes.html#gga1499e9f8a76cb81b43b7a4b0dbe7e44aa9685c678a93fbc28a9b4dbfee8759405", null ] ] ], [ "SectorTagType", "group__SectorTags.html#gaf863e81d172ce7a216d8687a8a23293a", [ - [ "AppleSectorTag", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aacc1f837c03086c6835e55dab021211d1", null ], + [ "AppleSonyTagAaru", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aaef910c709ff1ccc00e20d853ea02907a", null ], [ "CdSectorSync", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aae6cc37af9cad918edf7a402ecac48e9d", null ], [ "CdSectorHeader", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa1ed658dec0ed38565a2f1420dcdcc2db", null ], [ "CdSectorSubHeader", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa7807c14140de3beeda2945e17fbf5310", null ], @@ -581,6 +582,8 @@ var aaru_8h = [ "DvdSectorNumber", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa82265a5d640ce9474f8b357c54cc0440", null ], [ "DvdSectorIedAaru", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa16bbf88cdbeb1c4bfe44244de7d16c3f", null ], [ "DvdSectorEdcAaru", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa6d377a28e58b9da5452ab66e90ea4457", null ], + [ "AppleProfileTagAaru", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aaaa6bb40f3b26ce3df172cd3a1020eeb9", null ], + [ "PriamDataTowerTagAaru", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa9937ec92715558a3f5ce46c8700190ba", null ], [ "MaxSectorTag", "group__SectorTags.html#ggaf863e81d172ce7a216d8687a8a23293aa81dbcd4677b6377bce5351ad92fc4d64", null ] ] ] ]; \ No newline at end of file diff --git a/docs/html/aaru_8h_source.html b/docs/html/aaru_8h_source.html index b94dea2..d6df7ab 100644 --- a/docs/html/aaru_8h_source.html +++ b/docs/html/aaru_8h_source.html @@ -792,7 +792,7 @@ $(function(){initNavTree('aaru_8h_source.html','',''); });
894typedef enum
895{
-
896 AppleSectorTag = 0,
+
896 AppleSonyTagAaru = 0,
897 CdSectorSync = 1,
898 CdSectorHeader = 2,
899 CdSectorSubHeader = 3,
@@ -812,179 +812,183 @@ $(function(){initNavTree('aaru_8h_source.html','',''); });
913 DvdSectorNumber = 17,
914 DvdSectorIedAaru = 18,
915 DvdSectorEdcAaru = 19,
-
916 MaxSectorTag = DvdSectorEdcAaru
-
917} SectorTagType;
+
916 AppleProfileTagAaru = 20,
+
917 PriamDataTowerTagAaru = 21,
+
918 MaxSectorTag = PriamDataTowerTagAaru
+
919} SectorTagType;
-
918 /* end of SectorTags group */
-
920
-
921/*
-
922 * Metadata present for each media.
-
923 */
-
924// NOLINTBEGIN(readability-identifier-naming)
-
-
932typedef enum
-
933{
-
934 /* CD table of contents */
-
935 CD_TOC = 0,
-
936 CD_SessionInfo = 1,
-
937 CD_FullTOC = 2,
-
938 CD_PMA = 3,
-
939 CD_ATIP = 4,
-
940 CD_TEXT = 5,
-
941 CD_MCN = 6,
-
942 DVD_PFI = 7,
-
943 DVD_CMI = 8,
-
944 DVD_DiscKey = 9,
-
945 DVD_BCA = 10,
-
946 DVD_DMI = 11,
-
947 DVD_MediaIdentifier = 12,
-
948 DVD_MKB = 13,
-
949 DVDRAM_DDS = 14,
-
950 DVDRAM_MediumStatus = 15,
-
951 DVDRAM_SpareArea = 16,
-
952 DVDR_RMD = 17,
-
953 DVDR_PreRecordedInfo = 18,
-
954 DVDR_MediaIdentifier = 19,
-
955 DVDR_PFI = 20,
-
956 DVD_ADIP = 21,
-
957 HDDVD_CPI = 22,
-
958 HDDVD_MediumStatus = 23,
-
959 DVDDL_LayerCapacity = 24,
-
960 DVDDL_MiddleZoneAddress = 25,
-
961 DVDDL_JumpIntervalSize = 26,
-
962 DVDDL_ManualLayerJumpLBA = 27,
-
963 BD_DI = 28,
-
964 BD_BCA = 29,
-
965 BD_DDS = 30,
-
966 BD_CartridgeStatus = 31,
-
967 BD_SpareArea = 32,
-
968 AACS_VolumeIdentifier = 33,
-
969 AACS_SerialNumber = 34,
-
970 AACS_MediaIdentifier = 35,
-
971 AACS_MKB = 36,
-
972 AACS_DataKeys = 37,
-
973 AACS_LBAExtents = 38,
-
974 AACS_CPRM_MKB = 39,
-
975 Hybrid_RecognizedLayers = 40,
-
976 MMC_WriteProtection = 41,
-
977 MMC_DiscInformation = 42,
-
978 MMC_TrackResourcesInformation = 43,
-
979 MMC_POWResourcesInformation = 44,
-
980 SCSI_INQUIRY = 45,
-
981 SCSI_MODEPAGE_2A = 46,
-
982 ATA_IDENTIFY = 47,
-
983 ATAPI_IDENTIFY = 48,
-
984 PCMCIA_CIS = 49,
-
985 SD_CID = 50,
-
986 SD_CSD = 51,
-
987 SD_SCR = 52,
-
988 SD_OCR = 53,
-
989 MMC_CID = 54,
-
990 MMC_CSD = 55,
-
991 MMC_OCR = 56,
-
992 MMC_ExtendedCSD = 57,
-
993 Xbox_SecuritySector = 58,
-
994 Floppy_LeadOut = 59,
-
995 DiscControlBlock = 60,
-
996 CD_FirstTrackPregap = 61,
-
997 CD_LeadOut = 62,
-
998 SCSI_MODESENSE_6 = 63,
-
999 SCSI_MODESENSE_10 = 64,
-
1000 USB_Descriptors = 65,
-
1001 Xbox_DMI = 66,
-
1002 Xbox_PFI = 67,
-
1003 CD_LeadIn = 68,
-
1004 MiniDiscType = 69,
-
1005 MiniDiscD5 = 70,
-
1006 MiniDiscUTOC = 71,
-
1007 MiniDiscDTOC = 72,
-
1008 DVD_DiscKey_Decrypted = 73
-
1009} MediaTagType;
+
920 /* end of SectorTags group */
+
922
+
923/*
+
924 * Metadata present for each media.
+
925 */
+
926// NOLINTBEGIN(readability-identifier-naming)
+
+
934typedef enum
+
935{
+
936 /* CD table of contents */
+
937 CD_TOC = 0,
+ + +
940 CD_PMA = 3,
+ + +
943 CD_MCN = 6,
+ + + +
947 DVD_BCA = 10,
+
948 DVD_DMI = 11,
+ +
950 DVD_MKB = 13,
+ + + +
954 DVDR_RMD = 17,
+ + +
957 DVDR_PFI = 20,
+
958 DVD_ADIP = 21,
+ + + + + + +
965 BD_DI = 28,
+
966 BD_BCA = 29,
+
967 BD_DDS = 30,
+ + + + + +
973 AACS_MKB = 36,
+ + + + + + + + + + + + + +
987 SD_CID = 50,
+
988 SD_CSD = 51,
+
989 SD_SCR = 52,
+
990 SD_OCR = 53,
+
991 MMC_CID = 54,
+
992 MMC_CSD = 55,
+
993 MMC_OCR = 56,
+ + + + + + + + + + + + + + + + + + +
1012} MediaTagType;
-
1010 /* end of MediaTags group */
-
1012
-
1013// NOLINTEND(readability-identifier-naming)
-
1014
-
1015#ifndef _MSC_VER
-
1016#pragma clang diagnostic pop
-
1017#endif
-
1018
-
1019#endif // LIBAARUFORMAT_AARU_H
-
MediaTagType
Definition aaru.h:933
-
@ SCSI_MODEPAGE_2A
SCSI Mode Page 2Ah (CD/DVD capabilities)
Definition aaru.h:981
-
@ BD_DDS
Disc Definition Structure (recordable)
Definition aaru.h:965
-
@ MMC_CID
MMC Card ID.
Definition aaru.h:989
-
@ MiniDiscDTOC
Not entirely clear kind of TOC that only appears on MD-DATA discs.
Definition aaru.h:1007
-
@ MiniDiscD5
4 bytes response to vendor command D5h
Definition aaru.h:1005
-
@ DVDDL_JumpIntervalSize
Jump interval size (opposite track path)
Definition aaru.h:961
-
@ MMC_CSD
MMC Card Specific Data.
Definition aaru.h:990
-
@ DVD_DiscKey_Decrypted
Decrypted DVD disc key.
Definition aaru.h:1008
-
@ BD_SpareArea
BD spare area allocation map.
Definition aaru.h:967
-
@ CD_TOC
Standard CD Table Of Contents (lead-in, first session)
Definition aaru.h:935
-
@ DVDDL_ManualLayerJumpLBA
Manual layer jump LBA (OTP)
Definition aaru.h:962
-
@ DVDRAM_SpareArea
Spare area descriptors.
Definition aaru.h:951
-
@ DVD_CMI
Copyright Management Information (CSS/CPRM flags)
Definition aaru.h:943
-
@ DVDR_MediaIdentifier
DVD-R/-RW writable media identifier.
Definition aaru.h:954
-
@ SCSI_MODESENSE_10
Raw MODE SENSE (10) data.
Definition aaru.h:999
-
@ USB_Descriptors
Concatenated USB descriptors (device/config/interface)
Definition aaru.h:1000
-
@ SCSI_MODESENSE_6
Raw MODE SENSE (6) data.
Definition aaru.h:998
-
@ ATAPI_IDENTIFY
ATA PACKET IDENTIFY DEVICE.
Definition aaru.h:983
-
@ CD_SessionInfo
Per-session summary (start/end addresses, track count)
Definition aaru.h:936
-
@ DVD_PFI
Physical Format Information (layer geometry & book type)
Definition aaru.h:942
-
@ CD_LeadIn
Raw lead-in (TOC frames)
Definition aaru.h:1003
-
@ BD_CartridgeStatus
Cartridge presence / write protect (BD-RE/BD-R in caddy)
Definition aaru.h:966
-
@ Xbox_DMI
Xbox Disc Manufacturing Info (DMI)
Definition aaru.h:1001
-
@ AACS_SerialNumber
Pre-recorded media serial number (AACS)
Definition aaru.h:969
-
@ DVDR_PreRecordedInfo
Pre-recorded info area (lead-in)
Definition aaru.h:953
-
@ SD_SCR
SecureDigital Configuration Register.
Definition aaru.h:987
-
@ DVDRAM_DDS
Defect Data Structure (DVD-RAM mapping)
Definition aaru.h:949
-
@ AACS_DataKeys
Extracted AACS title/volume keys (when decrypted)
Definition aaru.h:972
-
@ CD_ATIP
Absolute Time In Pregroove (writable media timing & power metadata)
Definition aaru.h:939
-
@ AACS_MKB
AACS Media Key Block.
Definition aaru.h:971
-
@ DVD_DiscKey
Encrypted disc key block (CSS)
Definition aaru.h:944
-
@ MMC_DiscInformation
Disc Information (recordable status, erasable, last session)
Definition aaru.h:977
-
@ MiniDiscType
8 bytes response that seems to define type of MiniDisc
Definition aaru.h:1004
-
@ ATA_IDENTIFY
ATA IDENTIFY DEVICE (512 bytes)
Definition aaru.h:982
-
@ DVDR_PFI
DVD-R physical format (layer data)
Definition aaru.h:955
-
@ DVD_MediaIdentifier
Writable media dye / manufacturer ID.
Definition aaru.h:947
-
@ CD_LeadOut
Lead-out area contents.
Definition aaru.h:997
-
@ MMC_ExtendedCSD
MMC Extended CSD (512 bytes)
Definition aaru.h:992
-
@ CD_TEXT
CD-Text blocks (titles, performers, etc.)
Definition aaru.h:940
-
@ CD_MCN
Media Catalogue Number (EAN/UPC style identifier)
Definition aaru.h:941
-
@ MMC_TrackResourcesInformation
Track Resources (allocated/open track data)
Definition aaru.h:978
-
@ Xbox_SecuritySector
Xbox/Xbox 360 Security Sector (SS.bin)
Definition aaru.h:993
-
@ HDDVD_MediumStatus
HD DVD Medium status (spares/defects)
Definition aaru.h:958
-
@ MiniDiscUTOC
User TOC, contains fragments, track names, and can be from 1 to 3 sectors of 2336 bytes.
Definition aaru.h:1006
-
@ DVDDL_MiddleZoneAddress
Middle zone start LBA.
Definition aaru.h:960
-
@ Floppy_LeadOut
Manufacturer / duplication cylinder (floppy special data)
Definition aaru.h:994
-
@ MMC_POWResourcesInformation
Pseudo OverWrite resources (BD-R POW)
Definition aaru.h:979
-
@ AACS_MediaIdentifier
AACS Media Identifier (unique per disc)
Definition aaru.h:970
-
@ DVDDL_LayerCapacity
Dual layer capacity & break info.
Definition aaru.h:959
-
@ AACS_VolumeIdentifier
AACS Volume Identifier.
Definition aaru.h:968
-
@ BD_BCA
Blu-ray Burst Cutting Area.
Definition aaru.h:964
-
@ Hybrid_RecognizedLayers
Hybrid disc recognized layer combinations (e.g. CD/DVD/BD)
Definition aaru.h:975
-
@ AACS_CPRM_MKB
CPRM Media Key Block.
Definition aaru.h:974
-
@ DVDR_RMD
Recorded Media Data (RMD) last border-out.
Definition aaru.h:952
-
@ AACS_LBAExtents
LBA extents requiring bus encryption.
Definition aaru.h:973
-
@ DVD_DMI
Disc Manufacturer Information (lead-in descriptor)
Definition aaru.h:946
-
@ DVD_BCA
Burst Cutting Area (etched manufacturer / AACS info)
Definition aaru.h:945
-
@ DVD_MKB
Media Key Block (AACS/DVD)
Definition aaru.h:948
-
@ DiscControlBlock
DVD Disc Control Blocks.
Definition aaru.h:995
-
@ SD_CSD
SecureDigital Card Specific Data.
Definition aaru.h:986
-
@ SCSI_INQUIRY
SCSI INQUIRY standard data (SPC-*)
Definition aaru.h:980
-
@ CD_FullTOC
Complete multi-session TOC including hidden tracks.
Definition aaru.h:937
-
@ DVD_ADIP
Address In Pregroove (DVD+ / wobble timing)
Definition aaru.h:956
-
@ MMC_OCR
MMC Operation Conditions.
Definition aaru.h:991
-
@ HDDVD_CPI
Content Protection Info (HD DVD)
Definition aaru.h:957
-
@ SD_OCR
SecureDigital Operation Conditions (voltage)
Definition aaru.h:988
-
@ CD_PMA
Program Memory Area (temporary track info before finalization)
Definition aaru.h:938
-
@ DVDRAM_MediumStatus
Medium Status (allocated spare info)
Definition aaru.h:950
-
@ PCMCIA_CIS
PCMCIA/CardBus CIS tuple chain.
Definition aaru.h:984
-
@ Xbox_PFI
Xbox Physical Format Information (PFI)
Definition aaru.h:1002
-
@ SD_CID
SecureDigital Card ID register.
Definition aaru.h:985
-
@ CD_FirstTrackPregap
First track pregap (index 0)
Definition aaru.h:996
-
@ MMC_WriteProtection
Write protection status (MMC GET CONFIG)
Definition aaru.h:976
-
@ BD_DI
Disc Information (BD)
Definition aaru.h:963
+
1013 /* end of MediaTags group */
+
1015
+
1016// NOLINTEND(readability-identifier-naming)
+
1017
+
1018#ifndef _MSC_VER
+
1019#pragma clang diagnostic pop
+
1020#endif
+
1021
+
1022#endif // LIBAARUFORMAT_AARU_H
+
MediaTagType
Definition aaru.h:935
+
@ SCSI_MODEPAGE_2A
SCSI Mode Page 2Ah (CD/DVD capabilities)
Definition aaru.h:983
+
@ BD_DDS
Disc Definition Structure (recordable)
Definition aaru.h:967
+
@ MMC_CID
MMC Card ID.
Definition aaru.h:991
+
@ MiniDiscDTOC
Not entirely clear kind of TOC that only appears on MD-DATA discs.
Definition aaru.h:1009
+
@ MiniDiscD5
4 bytes response to vendor command D5h
Definition aaru.h:1007
+
@ DVDDL_JumpIntervalSize
Jump interval size (opposite track path)
Definition aaru.h:963
+
@ MMC_CSD
MMC Card Specific Data.
Definition aaru.h:992
+
@ DVD_DiscKey_Decrypted
Decrypted DVD disc key,.
Definition aaru.h:1010
+
@ BD_SpareArea
BD spare area allocation map.
Definition aaru.h:969
+
@ CD_TOC
Standard CD Table Of Contents (lead-in, first session)
Definition aaru.h:937
+
@ DVDDL_ManualLayerJumpLBA
Manual layer jump LBA (OTP)
Definition aaru.h:964
+
@ DVDRAM_SpareArea
Spare area descriptors.
Definition aaru.h:953
+
@ DVD_CMI
Copyright Management Information (CSS/CPRM flags)
Definition aaru.h:945
+
@ DVDR_MediaIdentifier
DVD-R/-RW writable media identifier.
Definition aaru.h:956
+
@ SCSI_MODESENSE_10
Raw MODE SENSE (10) data.
Definition aaru.h:1001
+
@ USB_Descriptors
Concatenated USB descriptors (device/config/interface)
Definition aaru.h:1002
+
@ SCSI_MODESENSE_6
Raw MODE SENSE (6) data.
Definition aaru.h:1000
+
@ ATAPI_IDENTIFY
ATA PACKET IDENTIFY DEVICE.
Definition aaru.h:985
+
@ CD_SessionInfo
Per-session summary (start/end addresses, track count)
Definition aaru.h:938
+
@ DVD_PFI
Physical Format Information (layer geometry & book type)
Definition aaru.h:944
+
@ CD_LeadIn
Raw lead-in (TOC frames)
Definition aaru.h:1005
+
@ BD_CartridgeStatus
Cartridge presence / write protect (BD-RE/BD-R in caddy)
Definition aaru.h:968
+
@ Xbox_DMI
Xbox Disc Manufacturing Info (DMI)
Definition aaru.h:1003
+
@ AACS_SerialNumber
Pre-recorded media serial number (AACS)
Definition aaru.h:971
+
@ DVDR_PreRecordedInfo
Pre-recorded info area (lead-in)
Definition aaru.h:955
+
@ SD_SCR
SecureDigital Configuration Register.
Definition aaru.h:989
+
@ DVDRAM_DDS
Defect Data Structure (DVD-RAM mapping)
Definition aaru.h:951
+
@ AACS_DataKeys
Extracted AACS title/volume keys (when decrypted)
Definition aaru.h:974
+
@ CD_ATIP
Absolute Time In Pregroove (writable media timing & power metadata)
Definition aaru.h:941
+
@ AACS_MKB
AACS Media Key Block.
Definition aaru.h:973
+
@ DVD_DiscKey
Encrypted disc key block (CSS)
Definition aaru.h:946
+
@ MMC_DiscInformation
Disc Information (recordable status, erasable, last session)
Definition aaru.h:979
+
@ MiniDiscType
8 bytes response that seems to define type of MiniDisc
Definition aaru.h:1006
+
@ ATA_IDENTIFY
ATA IDENTIFY DEVICE (512 bytes)
Definition aaru.h:984
+
@ DVDR_PFI
DVD-R physical format (layer data)
Definition aaru.h:957
+
@ DVD_MediaIdentifier
Writable media dye / manufacturer ID.
Definition aaru.h:949
+
@ CD_LeadOut
Lead-out area contents.
Definition aaru.h:999
+
@ MMC_ExtendedCSD
MMC Extended CSD (512 bytes)
Definition aaru.h:994
+
@ CD_TEXT
CD-Text blocks (titles, performers, etc.)
Definition aaru.h:942
+
@ CD_MCN
Media Catalogue Number (EAN/UPC style identifier)
Definition aaru.h:943
+
@ MMC_TrackResourcesInformation
Track Resources (allocated/open track data)
Definition aaru.h:980
+
@ Xbox_SecuritySector
Xbox/Xbox 360 Security Sector (SS.bin)
Definition aaru.h:995
+
@ HDDVD_MediumStatus
HD DVD Medium status (spares/defects)
Definition aaru.h:960
+
@ MiniDiscUTOC
User TOC, contains fragments, track names, and can be from 1 to 3 sectors of 2336 bytes.
Definition aaru.h:1008
+
@ DVDDL_MiddleZoneAddress
Middle zone start LBA.
Definition aaru.h:962
+
@ Floppy_LeadOut
Manufacturer / duplication cylinder (floppy special data)
Definition aaru.h:996
+
@ MMC_POWResourcesInformation
Pseudo OverWrite resources (BD-R POW)
Definition aaru.h:981
+
@ AACS_MediaIdentifier
AACS Media Identifier (unique per disc)
Definition aaru.h:972
+
@ DVDDL_LayerCapacity
Dual layer capacity & break info.
Definition aaru.h:961
+
@ AACS_VolumeIdentifier
AACS Volume Identifier.
Definition aaru.h:970
+
@ BD_BCA
Blu-ray Burst Cutting Area.
Definition aaru.h:966
+
@ Hybrid_RecognizedLayers
Hybrid disc recognized layer combinations (e.g. CD/DVD/BD)
Definition aaru.h:977
+
@ AACS_CPRM_MKB
CPRM Media Key Block.
Definition aaru.h:976
+
@ DVDR_RMD
Recorded Media Data (RMD) last border-out.
Definition aaru.h:954
+
@ AACS_LBAExtents
LBA extents requiring bus encryption.
Definition aaru.h:975
+
@ DVD_DMI
Disc Manufacturer Information (lead-in descriptor)
Definition aaru.h:948
+
@ DVD_BCA
Burst Cutting Area (etched manufacturer / AACS info)
Definition aaru.h:947
+
@ DVD_MKB
Media Key Block (AACS/DVD)
Definition aaru.h:950
+
@ DiscControlBlock
DVD Disc Control Blocks.
Definition aaru.h:997
+
@ SD_CSD
SecureDigital Card Specific Data.
Definition aaru.h:988
+
@ SCSI_INQUIRY
SCSI INQUIRY standard data (SPC-*)
Definition aaru.h:982
+
@ CD_FullTOC
Complete multi-session TOC including hidden tracks.
Definition aaru.h:939
+
@ DVD_ADIP
Address In Pregroove (DVD+ / wobble timing)
Definition aaru.h:958
+
@ MaxMediaTag
Definition aaru.h:1011
+
@ MMC_OCR
MMC Operation Conditions.
Definition aaru.h:993
+
@ HDDVD_CPI
Content Protection Info (HD DVD)
Definition aaru.h:959
+
@ SD_OCR
SecureDigital Operation Conditions (voltage)
Definition aaru.h:990
+
@ CD_PMA
Program Memory Area (temporary track info before finalization)
Definition aaru.h:940
+
@ DVDRAM_MediumStatus
Medium Status (allocated spare info)
Definition aaru.h:952
+
@ PCMCIA_CIS
PCMCIA/CardBus CIS tuple chain.
Definition aaru.h:986
+
@ Xbox_PFI
Xbox Physical Format Information (PFI)
Definition aaru.h:1004
+
@ SD_CID
SecureDigital Card ID register.
Definition aaru.h:987
+
@ CD_FirstTrackPregap
First track pregap (index 0)
Definition aaru.h:998
+
@ MMC_WriteProtection
Write protection status (MMC GET CONFIG)
Definition aaru.h:978
+
@ BD_DI
Disc Information (BD)
Definition aaru.h:965
MediaType
Enumerates every recognized media / cartridge / optical / tape / card / disk format.
Definition aaru.h:95
@ BDREXL
BD-RE XL.
Definition aaru.h:163
@ NEC_525_HD
5,25", DS, HD, 77 tracks, 8 spt, 1024 bytes/sector, MFM
Definition aaru.h:328
@@ -1480,15 +1484,17 @@ $(function(){initNavTree('aaru_8h_source.html','',''); });
@ DvdCmi
DVD Copyright Management Information (CSS)
Definition aaru.h:908
@ CdSectorSubchannelAaru
96 raw subchannel bytes (P-W)
Definition aaru.h:904
@ CdSectorSubHeader
Mode 2 Form subheader (8 bytes: copy, submode, channel)
Definition aaru.h:899
-
@ MaxSectorTag
Definition aaru.h:916
+
@ MaxSectorTag
Definition aaru.h:918
@ DvdSectorNumber
DVD sector number, 3 bytes.
Definition aaru.h:913
@ CdTrackIsrc
Track ISRC (12 ASCII chars, no terminator)
Definition aaru.h:905
+
@ PriamDataTowerTagAaru
Priam DataTower sector tags, 24 bytes.
Definition aaru.h:917
+
@ AppleProfileTagAaru
Apple's Profile sector tags, 20 bytes.
Definition aaru.h:916
@ DvdSectorInformation
DVD sector information, 1 bytes.
Definition aaru.h:912
-
@ AppleSectorTag
Apple's GCR sector tags, 12 bytes (address prolog + checksum)
Definition aaru.h:896
@ CdSectorEcc
Combined P+Q ECC (276 bytes)
Definition aaru.h:903
@ DvdTitleKeyDecrypted
Decrypted DVD sector title key, 5 bytes.
Definition aaru.h:911
@ CdSectorSync
12-byte CD sync pattern (00 FF*10 00)
Definition aaru.h:897
@ CdSectorEccQ
104 bytes Reed-Solomon ECC (Q)
Definition aaru.h:902
+
@ AppleSonyTagAaru
Apple's Sony sector tags, 12 bytes (address prolog + checksum)
Definition aaru.h:896
High-level summary of an opened Aaru image containing metadata and media characteristics.
Definition aaru.h:870
uint8_t HasPartitions
Image contains partitions (or tracks for optical media); 0=no, non-zero=yes.
Definition aaru.h:871
uint32_t MediaType
Media type identifier (see MediaType enum; 0=Unknown)
Definition aaru.h:881
diff --git a/docs/html/blocks_2metadata_8c.html b/docs/html/blocks_2metadata_8c.html index b0e2a69..4c2b4ac 100644 --- a/docs/html/blocks_2metadata_8c.html +++ b/docs/html/blocks_2metadata_8c.html @@ -111,8 +111,177 @@ Functions  Processes a CICM XML metadata block from the image stream.
void process_aaru_metadata_json_block (aaruformat_context *ctx, const IndexEntry *entry)  Processes an Aaru metadata JSON block from the image stream during image opening.
+int32_t aaruf_get_readable_sector_tags (const void *context, uint8_t *buffer, size_t *length) + Retrieves which sector tags are readable in the AaruFormat image.
+int32_t aaruf_get_readable_media_tags (const void *context, uint8_t *buffer, size_t *length) + Retrieves which media tags are present in the AaruFormat image.

Function Documentation

+ +

◆ aaruf_get_readable_media_tags()

+ +
+
+ + + + + + + + + + + + + + + + +
int32_t aaruf_get_readable_media_tags (const void * context,
uint8_t * buffer,
size_t * length )
+
+ +

Retrieves which media tags are present in the AaruFormat image.

+

Returns an array of booleans indicating the presence of each MediaTagType in the image. The array is indexed by MediaTagType enum values (0 to MaxMediaTag), where each boolean is true if the corresponding media tag exists in the image's mediaTags hash table.

+
Parameters
+ + + + +
contextPointer to the aaruformat context (must be a valid, opened image context).
bufferPointer to a buffer to store the boolean array. Can be NULL to query required length.
lengthPointer to the buffer length. On input, contains buffer size; on output, contains required size.
+
+
+
Returns
Returns one of the following status codes:
+
Return values
+ + + + +
AARUF_STATUS_OK(0) Successfully retrieved readable media tags. This is returned when:
    +
  • The context is valid and properly initialized
  • +
  • The buffer is large enough to hold all MediaTagType values (0 to MaxMediaTag)
  • +
  • The output array has been populated with true/false for each MediaTagType
  • +
+
AARUF_ERROR_NOT_AARUFORMAT(-1) The context is invalid. This occurs when:
    +
  • The context parameter is NULL
  • +
  • The context magic number doesn't match AARU_MAGIC (invalid context type)
  • +
+
AARUF_ERROR_BUFFER_TOO_SMALL(-10) The buffer is too small. This occurs when:
    +
  • The buffer parameter is NULL
  • +
  • The length parameter is NULL
  • +
  • The provided buffer is smaller than required (size = MaxMediaTag + 1 bytes)
  • +
  • The length output will contain the required buffer size
  • +
+
+
+
+
Note
Buffer Size: The buffer must be at least (MaxMediaTag + 1) bytes, where each byte represents whether the corresponding MediaTagType is present in the image.
+
+Query Mode: To query the required buffer size, pass buffer == NULL or *length < required. The function will return AARUF_ERROR_BUFFER_TOO_SMALL and set *length to required size.
+
Warning
The output parameters are only modified on success (AARUF_STATUS_OK). On error, their values remain unchanged.
+ +

Definition at line 706 of file metadata.c.

+ +

References AARU_CALL, AARU_EXPORT, AARU_MAGIC, AARUF_ERROR_BUFFER_TOO_SMALL, AARUF_ERROR_NOT_AARUFORMAT, AARUF_STATUS_OK, FATAL, aaruformat_context::magic, MaxMediaTag, aaruformat_context::mediaTags, and TRACE.

+ +
+
+ +

◆ aaruf_get_readable_sector_tags()

+ +
+
+ + + + + + + + + + + + + + + + +
int32_t aaruf_get_readable_sector_tags (const void * context,
uint8_t * buffer,
size_t * length )
+
+ +

Retrieves which sector tags are readable in the AaruFormat image.

+

Returns an array of booleans indicating whether each SectorTagType was successfully read from the image. The array is indexed by SectorTagType enum values (0 to MaxSectorTag), where each boolean is true if the corresponding sector tag data is present and readable in the image. Sector tags contain per-sector metadata such as sync headers, ECC/EDC codes, subchannels, and other sector-level information essential for exact media reconstruction.

+
Parameters
+ + + + +
contextPointer to the aaruformat context (must be a valid, opened image context).
bufferPointer to a buffer to store the boolean array. Can be NULL to query required length.
lengthPointer to the buffer length. On input, contains buffer size; on output, contains required size.
+
+
+
Returns
Returns one of the following status codes:
+
Return values
+ + + + + +
AARUF_STATUS_OK(0) Successfully retrieved readable sector tags. This is returned when:
    +
  • The context is valid and properly initialized
  • +
  • The readableSectorTags array is populated in the context
  • +
  • The buffer is large enough to hold all SectorTagType values (0 to MaxSectorTag)
  • +
  • The output array has been successfully copied from the internal readableSectorTags
  • +
+
AARUF_ERROR_NOT_AARUFORMAT(-1) The context is invalid. This occurs when:
    +
  • The context parameter is NULL
  • +
  • The context magic number doesn't match AARU_MAGIC (invalid context type)
  • +
  • The context was not properly initialized by aaruf_open() or aaruf_create()
  • +
+
AARUF_ERROR_METADATA_NOT_PRESENT(-30) The sector tags array is not available. This occurs when:
    +
  • The readableSectorTags array is NULL (not initialized in the context)
  • +
  • The image was created without sector tag support
  • +
  • The image format does not support or require sector tags
  • +
+
AARUF_ERROR_BUFFER_TOO_SMALL(-10) The buffer is too small. This occurs when:
    +
  • The buffer parameter is NULL
  • +
  • The length parameter is NULL
  • +
  • The provided buffer is smaller than required (size = (MaxSectorTag + 1) * sizeof(bool))
  • +
  • The length output will contain the required buffer size in bytes
  • +
+
+
+
+
Note
Buffer Size: The buffer must be at least (MaxSectorTag + 1) bytes, where each byte represents whether the corresponding SectorTagType data was successfully read in the image. On most systems, sizeof(bool) == 1, so the required size is (MaxSectorTag + 1) bytes.
+
+Sector Tag Types: Sector tags preserve on-disk structures not part of main user data. Examples include:
    +
  • CD sector sync/header information (CdSectorSync, CdSectorHeader)
  • +
  • CD subheaders and ECC/EDC codes (CdSectorSubHeader, CdSectorEcc, CdSectorEdc)
  • +
  • DVD sector numbers and IED (DvdSectorNumber)
  • +
  • Media-specific proprietary tags (AppleProfileTagAaru, PriamDataTowerTagAaru)
  • +
+
+
+Query Mode: To query the required buffer size, pass buffer == NULL or *length < required. The function will return AARUF_ERROR_BUFFER_TOO_SMALL and set *length to required size. This allows allocation of properly sized buffers without prior knowledge of MaxSectorTag.
+
+Data Interpretation: A true value (non-zero) at buffer[i] indicates sector tag type i was readable. A false value (zero) at buffer[i] indicates that sector tag type i is either not present or was not successfully read from the image during opening. The readableSectorTags array is populated during image opening/processing in data blocks.
+
+Image Opening Context: The readableSectorTags array is initialized during aaruf_open() or aaruf_create() and populated as data blocks are processed. It reflects what was actually present and readable in the image file, not what theoretically could be present for the media type.
+
Warning
The output parameters are only modified on success (AARUF_STATUS_OK). On error, their values remain unchanged. Initialize them before calling if default values are needed on failure.
+
+If readableSectorTags is NULL in the context, AARUF_ERROR_NOT_FOUND is returned. This typically indicates the image format does not support sector-level tags, rather than indicating an error state. Check return value to distinguish.
+
See also
SectorTagType for enumeration of all available sector tag types
+
+aaruf_read_sector_tag() for reading individual sector tag data
+
+aaruf_write_sector_tag() for writing sector tags during image creation
+ +

Definition at line 618 of file metadata.c.

+ +

References AARU_CALL, AARU_EXPORT, AARU_MAGIC, AARUF_ERROR_BUFFER_TOO_SMALL, AARUF_ERROR_METADATA_NOT_PRESENT, AARUF_ERROR_NOT_AARUFORMAT, AARUF_STATUS_OK, FATAL, aaruformat_context::magic, MaxSectorTag, aaruformat_context::readableSectorTags, and TRACE.

+ +
+

◆ process_aaru_metadata_json_block()

diff --git a/docs/html/blocks_2metadata_8c.js b/docs/html/blocks_2metadata_8c.js index 1857c0a..d5b5b02 100644 --- a/docs/html/blocks_2metadata_8c.js +++ b/docs/html/blocks_2metadata_8c.js @@ -1,5 +1,7 @@ var blocks_2metadata_8c = [ + [ "aaruf_get_readable_media_tags", "blocks_2metadata_8c.html#a9cfc80d1cfa399bfea980b6ac4e2208a", null ], + [ "aaruf_get_readable_sector_tags", "blocks_2metadata_8c.html#aa9ed74c6988c035d9ba0d11965d5cf10", null ], [ "process_aaru_metadata_json_block", "blocks_2metadata_8c.html#a84003ec881425a7b28ec24cb48d19f02", null ], [ "process_cicm_block", "blocks_2metadata_8c.html#a5e0397faed8aea27c5a6a3881875de54", null ], [ "process_geometry_block", "blocks_2metadata_8c.html#a81d410de6727d95a85b827067e1a8bc6", null ], diff --git a/docs/html/blocks_2metadata_8c_source.html b/docs/html/blocks_2metadata_8c_source.html index 52bb9d9..ae67faa 100644 --- a/docs/html/blocks_2metadata_8c_source.html +++ b/docs/html/blocks_2metadata_8c_source.html @@ -524,14 +524,137 @@ $(function(){initNavTree('blocks_2metadata_8c_source.html','',''); });
539 TRACE("Exiting process_aaru_metadata_json_block()");
540}
+
541
+
+
618AARU_EXPORT int32_t AARU_CALL aaruf_get_readable_sector_tags(const void *context, uint8_t *buffer, size_t *length)
+
619{
+
620 TRACE("Entering aaruf_get_readable_sector_tags(%p, %p, %zu)", context, buffer, (length ? *length : 0));
+
621
+
622 // Check context is correct AaruFormat context
+
623 if(context == NULL)
+
624 {
+
625 FATAL("Invalid context");
+
626
+
627 TRACE("Exiting aaruf_get_readable_sector_tags() = AARUF_ERROR_NOT_AARUFORMAT");
+
628 return AARUF_ERROR_NOT_AARUFORMAT;
+
629 }
+
630
+
631 const aaruformat_context *ctx = context;
+
632
+
633 // Not a libaaruformat context
+
634 if(ctx->magic != AARU_MAGIC)
+
635 {
+
636 FATAL("Invalid context");
+
637
+
638 TRACE("Exiting aaruf_get_readable_sector_tags() = AARUF_ERROR_NOT_AARUFORMAT");
+
639 return AARUF_ERROR_NOT_AARUFORMAT;
+
640 }
+
641
+
642 if(ctx->readableSectorTags == NULL)
+
643 {
+
644 FATAL("Image contains no readable sector tags");
+
645
+
646 TRACE("Exiting aaruf_get_readable_sector_tags() = AARUF_ERROR_METADATA_NOT_PRESENT");
+
647 return AARUF_ERROR_METADATA_NOT_PRESENT;
+
648 }
+
649
+
650 size_t required_length = sizeof(bool) * (MaxSectorTag + 1);
+
651
+
652 if(buffer == NULL || length == NULL || *length < required_length)
+
653 {
+
654 if(length) *length = required_length;
+
655 TRACE("Buffer too small for readable sector tags, required %zu bytes", required_length);
+
656
+
657 TRACE("Exiting aaruf_get_readable_sector_tags() = AARUF_ERROR_BUFFER_TOO_SMALL");
+
658 return AARUF_ERROR_BUFFER_TOO_SMALL;
+
659 }
+
660
+
661 memcpy(buffer, ctx->readableSectorTags, required_length);
+
662 *length = required_length;
+
663
+
664 TRACE("Exiting aaruf_get_readable_sector_tags(%p, %p, %zu) = AARUF_STATUS_OK", context, buffer, *length);
+
665 return AARUF_STATUS_OK;
+
666}
+
+
667
+
+
706AARU_EXPORT int32_t AARU_CALL aaruf_get_readable_media_tags(const void *context, uint8_t *buffer, size_t *length)
+
707{
+
708 TRACE("Entering aaruf_get_readable_media_tags(%p, %p, %zu)", context, buffer, (length ? *length : 0));
+
709
+
710 // Check context is correct AaruFormat context
+
711 if(context == NULL)
+
712 {
+
713 FATAL("Invalid context");
+
714
+
715 TRACE("Exiting aaruf_get_readable_media_tags() = AARUF_ERROR_NOT_AARUFORMAT");
+
716 return AARUF_ERROR_NOT_AARUFORMAT;
+
717 }
+
718
+
719 const aaruformat_context *ctx = context;
+
720
+
721 // Not a libaaruformat context
+
722 if(ctx->magic != AARU_MAGIC)
+
723 {
+
724 FATAL("Invalid context");
+
725
+
726 TRACE("Exiting aaruf_get_readable_media_tags() = AARUF_ERROR_NOT_AARUFORMAT");
+
727 return AARUF_ERROR_NOT_AARUFORMAT;
+
728 }
+
729
+
730 // Required size: one byte for each MediaTagType (0 to MaxMediaTag)
+
731 size_t required_length = MaxMediaTag + 1;
+
732
+
733 if(buffer == NULL || length == NULL || *length < required_length)
+
734 {
+
735 if(length) *length = required_length;
+
736 TRACE("Buffer too small for readable media tags, required %zu bytes", required_length);
+
737
+
738 TRACE("Exiting aaruf_get_readable_media_tags() = AARUF_ERROR_BUFFER_TOO_SMALL");
+
739 return AARUF_ERROR_BUFFER_TOO_SMALL;
+
740 }
+
741
+
742 // Initialize all bytes to false (0)
+
743 memset(buffer, 0, required_length);
+
744
+
745 // Iterate through all media tag types and mark present ones as true
+
746 for(int32_t tag_type = 0; tag_type <= MaxMediaTag; tag_type++)
+
747 {
+
748 mediaTagEntry *item = NULL;
+
749 HASH_FIND_INT(ctx->mediaTags, &tag_type, item);
+
750
+
751 if(item != NULL)
+
752 {
+
753 buffer[tag_type] = 1;
+
754 TRACE("Media tag type %d is present", tag_type);
+
755 }
+
756 }
+
757
+
758 *length = required_length;
+
759
+
760 TRACE("Exiting aaruf_get_readable_media_tags(%p, %p, %zu) = AARUF_STATUS_OK", context, buffer, *length);
+
761 return AARUF_STATUS_OK;
+
762}
+
aaruformat.h
process_metadata_block
void process_metadata_block(aaruformat_context *ctx, const IndexEntry *entry)
Processes a metadata block from the image stream.
Definition metadata.c:35
process_cicm_block
void process_cicm_block(aaruformat_context *ctx, const IndexEntry *entry)
Processes a CICM XML metadata block from the image stream.
Definition metadata.c:306
process_geometry_block
void process_geometry_block(aaruformat_context *ctx, const IndexEntry *entry)
Processes a logical geometry block from the image stream.
Definition metadata.c:246
process_aaru_metadata_json_block
void process_aaru_metadata_json_block(aaruformat_context *ctx, const IndexEntry *entry)
Processes an Aaru metadata JSON block from the image stream during image opening.
Definition metadata.c:470
+
aaruf_get_readable_media_tags
int32_t aaruf_get_readable_media_tags(const void *context, uint8_t *buffer, size_t *length)
Retrieves which media tags are present in the AaruFormat image.
Definition metadata.c:706
+
aaruf_get_readable_sector_tags
int32_t aaruf_get_readable_sector_tags(const void *context, uint8_t *buffer, size_t *length)
Retrieves which sector tags are readable in the AaruFormat image.
Definition metadata.c:618
+
AARU_MAGIC
#define AARU_MAGIC
Magic identifier for AaruFormat container (ASCII "AARUFRMT").
Definition consts.h:64
+
AARU_CALL
#define AARU_CALL
Definition decls.h:45
+
AARU_EXPORT
#define AARU_EXPORT
Definition decls.h:54
GeometryBlock
@ GeometryBlock
Block containing logical geometry.
Definition enums.h:148
AaruMetadataJsonBlock
@ AaruMetadataJsonBlock
Block containing JSON version of Aaru Metadata.
Definition enums.h:159
CicmBlock
@ CicmBlock
Block containing CICM XML metadata.
Definition enums.h:151
+
AARUF_STATUS_OK
#define AARUF_STATUS_OK
Sector present and read without uncorrectable errors.
Definition errors.h:75
+
AARUF_ERROR_METADATA_NOT_PRESENT
#define AARUF_ERROR_METADATA_NOT_PRESENT
Requested metadata not present in image.
Definition errors.h:69
+
AARUF_ERROR_NOT_AARUFORMAT
#define AARUF_ERROR_NOT_AARUFORMAT
Input file/stream failed magic or structural validation.
Definition errors.h:40
+
AARUF_ERROR_BUFFER_TOO_SMALL
#define AARUF_ERROR_BUFFER_TOO_SMALL
Caller-supplied buffer insufficient for data.
Definition errors.h:49
+
MaxMediaTag
@ MaxMediaTag
Definition aaru.h:1011
+
MaxSectorTag
@ MaxSectorTag
Definition aaru.h:918
log.h
FATAL
#define FATAL(fmt,...)
Definition log.h:40
TRACE
#define TRACE(fmt,...)
Definition log.h:25
@@ -593,6 +716,8 @@ $(function(){initNavTree('blocks_2metadata_8c_source.html','',''); });
aaruformat_context::drive_manufacturer
uint8_t * drive_manufacturer
Manufacturer of the drive used to read the media represented by the image.
Definition context.h:224
aaruformat_context::cicm_block_header
CicmMetadataBlock cicm_block_header
CICM metadata header (if present).
Definition context.h:231
aaruformat_context::drive_model
uint8_t * drive_model
Model of the drive used to read the media represented by the image.
Definition context.h:225
+
aaruformat_context::magic
uint64_t magic
File magic (AARU_MAGIC) post-open.
Definition context.h:174
+
aaruformat_context::mediaTags
mediaTagEntry * mediaTags
Hash table of extra media tags (uthash root).
Definition context.h:264
aaruformat_context::geometry_block
GeometryBlockHeader geometry_block
Logical geometry block (if present).
Definition context.h:229
aaruformat_context::json_block
uint8_t * json_block
JSON metadata block payload (UTF-8).
Definition context.h:215
aaruformat_context::media_part_number
uint8_t * media_part_number
Part number of the media represented by the image.
Definition context.h:223
@@ -602,10 +727,12 @@ $(function(){initNavTree('blocks_2metadata_8c_source.html','',''); });
aaruformat_context::heads
uint32_t heads
Heads of the media represented by the image.
Definition context.h:235
aaruformat_context::imageStream
FILE * imageStream
Underlying FILE* stream (binary mode).
Definition context.h:176
aaruformat_context::image_info
ImageInfo image_info
Exposed high-level image info summary.
Definition context.h:260
+
aaruformat_context::readableSectorTags
bool * readableSectorTags
Per-sector boolean array (optical tags read successfully?).
Definition context.h:263
aaruformat_context::metadata_block
uint8_t * metadata_block
Raw metadata UTF-16LE concatenated strings.
Definition context.h:213
aaruformat_context::media_title
uint8_t * media_title
Title of the media represented by the image.
Definition context.h:217
aaruformat_context::last_media_sequence
int32_t last_media_sequence
Last media of the sequence the media represented by the image corresponds to.
Definition context.h:239
aaruformat_context::media_manufacturer
uint8_t * media_manufacturer
Manufacturer of the media represented by the image.
Definition context.h:219
+
mediaTagEntry
Hash table entry for an arbitrary media tag (e.g., proprietary drive/medium descriptor).
Definition context.h:119
diff --git a/docs/html/consts_8h.html b/docs/html/consts_8h.html index ac14e02..68cf608 100644 --- a/docs/html/consts_8h.html +++ b/docs/html/consts_8h.html @@ -166,7 +166,7 @@ Macros

Definition at line 64 of file consts.h.

-

Referenced by aaruf_clear_comments(), aaruf_clear_creator(), aaruf_clear_drive_firmware_revision(), aaruf_clear_drive_manufacturer(), aaruf_clear_drive_model(), aaruf_clear_drive_serial_number(), aaruf_clear_media_barcode(), aaruf_clear_media_manufacturer(), aaruf_clear_media_model(), aaruf_clear_media_part_number(), aaruf_clear_media_sequence(), aaruf_clear_media_serial_number(), aaruf_clear_media_title(), aaruf_close(), aaruf_close_current_block(), aaruf_create(), aaruf_get_aaru_json_metadata(), aaruf_get_cicm_metadata(), aaruf_get_comments(), aaruf_get_creator(), aaruf_get_drive_firmware_revision(), aaruf_get_drive_manufacturer(), aaruf_get_drive_model(), aaruf_get_drive_serial_number(), aaruf_get_dumphw(), aaruf_get_geometry(), aaruf_get_image_info(), aaruf_get_media_barcode(), aaruf_get_media_manufacturer(), aaruf_get_media_model(), aaruf_get_media_part_number(), aaruf_get_media_sequence(), aaruf_get_media_serial_number(), aaruf_get_media_title(), aaruf_get_negative_sectors(), aaruf_get_overflow_sectors(), aaruf_get_tape_file(), aaruf_get_tape_partition(), aaruf_get_tracks(), aaruf_get_user_sectors(), aaruf_identify_stream(), aaruf_open(), aaruf_read_media_tag(), aaruf_read_sector(), aaruf_read_sector_long(), aaruf_read_sector_tag(), aaruf_read_track_sector(), aaruf_set_aaru_json_metadata(), aaruf_set_comments(), aaruf_set_creator(), aaruf_set_drive_firmware_revision(), aaruf_set_drive_manufacturer(), aaruf_set_drive_model(), aaruf_set_drive_serial_number(), aaruf_set_dumphw(), aaruf_set_geometry(), aaruf_set_media_barcode(), aaruf_set_media_manufacturer(), aaruf_set_media_model(), aaruf_set_media_part_number(), aaruf_set_media_sequence(), aaruf_set_media_serial_number(), aaruf_set_media_title(), aaruf_set_tape_file(), aaruf_set_tape_partition(), aaruf_set_tracks(), aaruf_verify_image(), aaruf_write_media_tag(), aaruf_write_sector(), aaruf_write_sector_long(), and aaruf_write_sector_tag().

+

Referenced by aaruf_clear_comments(), aaruf_clear_creator(), aaruf_clear_drive_firmware_revision(), aaruf_clear_drive_manufacturer(), aaruf_clear_drive_model(), aaruf_clear_drive_serial_number(), aaruf_clear_media_barcode(), aaruf_clear_media_manufacturer(), aaruf_clear_media_model(), aaruf_clear_media_part_number(), aaruf_clear_media_sequence(), aaruf_clear_media_serial_number(), aaruf_clear_media_title(), aaruf_close(), aaruf_close_current_block(), aaruf_create(), aaruf_get_aaru_json_metadata(), aaruf_get_all_tape_files(), aaruf_get_all_tape_partitions(), aaruf_get_cicm_metadata(), aaruf_get_comments(), aaruf_get_creator(), aaruf_get_drive_firmware_revision(), aaruf_get_drive_manufacturer(), aaruf_get_drive_model(), aaruf_get_drive_serial_number(), aaruf_get_dumphw(), aaruf_get_geometry(), aaruf_get_image_info(), aaruf_get_media_barcode(), aaruf_get_media_manufacturer(), aaruf_get_media_model(), aaruf_get_media_part_number(), aaruf_get_media_sequence(), aaruf_get_media_serial_number(), aaruf_get_media_title(), aaruf_get_negative_sectors(), aaruf_get_overflow_sectors(), aaruf_get_readable_media_tags(), aaruf_get_readable_sector_tags(), aaruf_get_tape_file(), aaruf_get_tape_partition(), aaruf_get_tracks(), aaruf_get_user_sectors(), aaruf_identify_stream(), aaruf_open(), aaruf_read_media_tag(), aaruf_read_sector(), aaruf_read_sector_long(), aaruf_read_sector_tag(), aaruf_read_track_sector(), aaruf_set_aaru_json_metadata(), aaruf_set_comments(), aaruf_set_creator(), aaruf_set_drive_firmware_revision(), aaruf_set_drive_manufacturer(), aaruf_set_drive_model(), aaruf_set_drive_serial_number(), aaruf_set_dumphw(), aaruf_set_geometry(), aaruf_set_media_barcode(), aaruf_set_media_manufacturer(), aaruf_set_media_model(), aaruf_set_media_part_number(), aaruf_set_media_sequence(), aaruf_set_media_serial_number(), aaruf_set_media_title(), aaruf_set_tape_file(), aaruf_set_tape_partition(), aaruf_set_tracks(), aaruf_verify_image(), aaruf_write_media_tag(), aaruf_write_sector(), aaruf_write_sector_long(), and aaruf_write_sector_tag().

diff --git a/docs/html/create_8c.html b/docs/html/create_8c.html index 4535022..9f7d5f2 100644 --- a/docs/html/create_8c.html +++ b/docs/html/create_8c.html @@ -378,7 +378,7 @@ The negative_sectors and overflow_sectors parameters are used only for block med

Definition at line 279 of file create.c.

-

References AARU_CALL, AARU_EXPORT, AARU_HEADER_APP_NAME_LEN, AARU_MAGIC, aaruf_ecc_cd_init(), AARUF_ERROR_CANNOT_CREATE_FILE, AARUF_ERROR_INVALID_APP_NAME_LENGTH, AARUF_ERROR_NOT_ENOUGH_MEMORY, aaruf_get_xml_mediatype(), aaruf_md5_init(), aaruf_sha1_init(), aaruf_sha256_init(), aaruf_spamsum_init(), AARUF_VERSION_V2, ImageInfo::Application, AaruHeaderV2::application, AaruHeaderV2::applicationMajorVersion, AaruHeaderV2::applicationMinorVersion, ImageInfo::ApplicationVersion, aaru_options::blake3, aaruformat_context::blake3_context, aaru_options::block_alignment, aaruformat_context::block_cache, aaruformat_context::block_header_cache, DdtHeader2::blockAlignmentShift, DdtHeader2::blocks, CacheHeader::cache, aaruformat_context::calculating_blake3, aaruformat_context::calculating_md5, aaruformat_context::calculating_sha1, aaruformat_context::calculating_sha256, aaruformat_context::calculating_spamsum, cleanup_failed_create(), aaru_options::compress, DdtHeader2::compression, aaruformat_context::compression_enabled, create_map(), ImageInfo::CreationTime, AaruHeaderV2::creationTime, aaru_options::data_shift, DdtHeader2::dataShift, aaru_options::deduplicate, aaruformat_context::deduplicate, DeDuplicationTable2, aaru_options::dictionary, aaruformat_context::ecc_cd_context, DdtHeader2::entries, FATAL, generate_random_bytes(), get_filetime_uint64(), AaruHeaderV2::guid, GUID_SIZE, aaruformat_context::header, AaruHeaderV2::identifier, DdtHeader2::identifier, aaruformat_context::image_info, AaruHeaderV2::imageMajorVersion, AaruHeaderV2::imageMinorVersion, ImageInfo::ImageSize, aaruformat_context::imageStream, aaruformat_context::in_memory_ddt, aaruformat_context::index_entries, AaruHeaderV2::indexOffset, aaruformat_context::is_tape, aaruformat_context::is_writing, aaruformat_context::last_written_block, ImageInfo::LastModificationTime, AaruHeaderV2::lastWrittenTime, DdtHeader2::levels, LIBAARUFORMAT_MAJOR_VERSION, LIBAARUFORMAT_MINOR_VERSION, aaruformat_context::library_major_version, aaruformat_context::library_minor_version, aaruformat_context::lzma_dict_size, aaruformat_context::magic, MAX_CACHE_SIZE, CacheHeader::max_items, MaxSectorTag, aaru_options::md5, aaruformat_context::md5_context, ImageInfo::MediaType, AaruHeaderV2::mediaType, ImageInfo::MetadataMediaType, DdtHeader2::negative, aaruformat_context::next_block_position, None, DdtHeader2::overflow, parse_options(), DdtHeader2::previousLevelOffset, aaruformat_context::primary_ddt_offset, aaruformat_context::readableSectorTags, aaruformat_context::rewinded, aaruformat_context::sector_hash_map, ImageInfo::Sectors, ImageInfo::SectorSize, aaru_options::sha1, aaruformat_context::sha1_context, aaru_options::sha256, aaruformat_context::sha256_context, aaruformat_context::shift, aaru_options::spamsum, aaruformat_context::spamsum_context, DdtHeader2::start, aaru_options::table_shift, DdtHeader2::tableLevel, DdtHeader2::tableShift, aaruformat_context::tape_ddt, TRACE, DdtHeader2::type, aaruformat_context::user_data_ddt2, aaruformat_context::user_data_ddt_header, UserData, and ImageInfo::Version.

+

References AARU_CALL, AARU_EXPORT, AARU_HEADER_APP_NAME_LEN, AARU_MAGIC, aaruf_ecc_cd_init(), AARUF_ERROR_CANNOT_CREATE_FILE, AARUF_ERROR_INVALID_APP_NAME_LENGTH, AARUF_ERROR_NOT_ENOUGH_MEMORY, aaruf_get_xml_mediatype(), aaruf_md5_init(), aaruf_sha1_init(), aaruf_sha256_init(), aaruf_spamsum_init(), AARUF_VERSION_V2, ImageInfo::Application, AaruHeaderV2::application, AaruHeaderV2::applicationMajorVersion, AaruHeaderV2::applicationMinorVersion, ImageInfo::ApplicationVersion, aaru_options::blake3, aaruformat_context::blake3_context, aaru_options::block_alignment, aaruformat_context::block_cache, aaruformat_context::block_header_cache, DdtHeader2::blockAlignmentShift, DdtHeader2::blocks, CacheHeader::cache, aaruformat_context::calculating_blake3, aaruformat_context::calculating_md5, aaruformat_context::calculating_sha1, aaruformat_context::calculating_sha256, aaruformat_context::calculating_spamsum, cleanup_failed_create(), aaru_options::compress, DdtHeader2::compression, aaruformat_context::compression_enabled, create_map(), ImageInfo::CreationTime, AaruHeaderV2::creationTime, aaru_options::data_shift, DdtHeader2::dataShift, aaru_options::deduplicate, aaruformat_context::deduplicate, DeDuplicationTable2, aaru_options::dictionary, aaruformat_context::ecc_cd_context, DdtHeader2::entries, FATAL, generate_random_bytes(), get_filetime_uint64(), AaruHeaderV2::guid, GUID_SIZE, aaruformat_context::header, AaruHeaderV2::identifier, DdtHeader2::identifier, aaruformat_context::image_info, AaruHeaderV2::imageMajorVersion, AaruHeaderV2::imageMinorVersion, ImageInfo::ImageSize, aaruformat_context::imageStream, aaruformat_context::in_memory_ddt, aaruformat_context::index_entries, AaruHeaderV2::indexOffset, aaruformat_context::is_tape, aaruformat_context::is_writing, aaruformat_context::last_written_block, ImageInfo::LastModificationTime, AaruHeaderV2::lastWrittenTime, DdtHeader2::levels, LIBAARUFORMAT_MAJOR_VERSION, LIBAARUFORMAT_MINOR_VERSION, aaruformat_context::library_major_version, aaruformat_context::library_minor_version, aaruformat_context::lzma_dict_size, aaruformat_context::magic, MAX_CACHE_SIZE, CacheHeader::max_items, MaxSectorTag, aaru_options::md5, aaruformat_context::md5_context, ImageInfo::MediaType, AaruHeaderV2::mediaType, ImageInfo::MetadataMediaType, DdtHeader2::negative, aaruformat_context::next_block_position, None, DdtHeader2::overflow, parse_options(), DdtHeader2::previousLevelOffset, aaruformat_context::primary_ddt_offset, aaruformat_context::readableSectorTags, aaruformat_context::rewinded, aaruformat_context::sector_hash_map, ImageInfo::Sectors, ImageInfo::SectorSize, aaru_options::sha1, aaruformat_context::sha1_context, aaru_options::sha256, aaruformat_context::sha256_context, aaruformat_context::shift, aaru_options::spamsum, aaruformat_context::spamsum_context, DdtHeader2::start, aaru_options::table_shift, DdtHeader2::tableLevel, DdtHeader2::tableShift, aaruformat_context::tape_ddt, TRACE, DdtHeader2::type, aaruformat_context::user_data_ddt2, aaruformat_context::user_data_ddt_header, UserData, and ImageInfo::Version.

diff --git a/docs/html/create_8c_source.html b/docs/html/create_8c_source.html index b269c9b..61368c7 100644 --- a/docs/html/create_8c_source.html +++ b/docs/html/create_8c_source.html @@ -496,7 +496,7 @@ $(function(){initNavTree('create_8c_source.html','',''); });
AARUF_ERROR_CANNOT_CREATE_FILE
#define AARUF_ERROR_CANNOT_CREATE_FILE
Output file could not be created / opened for write.
Definition errors.h:58
AARUF_ERROR_INVALID_APP_NAME_LENGTH
#define AARUF_ERROR_INVALID_APP_NAME_LENGTH
Application name field length invalid (sanity limit).
Definition errors.h:59
AARUF_ERROR_NOT_ENOUGH_MEMORY
#define AARUF_ERROR_NOT_ENOUGH_MEMORY
Memory allocation failure (critical).
Definition errors.h:48
-
MaxSectorTag
@ MaxSectorTag
Definition aaru.h:916
+
MaxSectorTag
@ MaxSectorTag
Definition aaru.h:918
create_map
hash_map_t * create_map(size_t size)
Creates a new hash map with the specified initial size.
Definition hash_map.c:49
free_map
void free_map(hash_map_t *map)
Frees all memory associated with a hash map.
Definition hash_map.c:73
GUID_SIZE
#define GUID_SIZE
Size in bytes of GUID / UUID-like binary identifier.
Definition header.h:60
diff --git a/docs/html/data_8c.html b/docs/html/data_8c.html index 8004edb..ea49980 100644 --- a/docs/html/data_8c.html +++ b/docs/html/data_8c.html @@ -172,7 +172,7 @@ The function performs the following validations: