mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Set length on output from read media tag.
This commit is contained in:
@@ -74,7 +74,8 @@ typedef struct dataLinkedList
|
||||
struct dataLinkedList *previous;
|
||||
struct dataLinkedList *next;
|
||||
uint8_t *data;
|
||||
int type;
|
||||
int32_t type;
|
||||
uint32_t length;
|
||||
} dataLinkedList;
|
||||
|
||||
typedef struct DumpHardwareEntriesWithData
|
||||
|
||||
@@ -44,7 +44,7 @@ void *open(const char *filepath);
|
||||
|
||||
int close(void *context);
|
||||
|
||||
uint8_t *read_media_tag(void *context, int tag);
|
||||
uint8_t *read_media_tag(void *context, int32_t tag, uint32_t *length);
|
||||
|
||||
void *crc64_init(uint64_t polynomial, uint64_t seed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user