id3dev 26.01
An ID3 metadata library
Loading...
Searching...
No Matches
id3v2Parser.h
Go to the documentation of this file.
1
11
12#ifndef ID3V2_PARSER
13#define ID3V2_PARSER
14
15#ifdef __cplusplus
16extern "C"{
17#endif
18
19
20#include "id3v2Types.h"
21
22
23uint32_t id3v2ParseExtendedTagHeader(uint8_t *in, size_t inl, uint8_t version,
24 Id3v2ExtendedTagHeader **extendedTagHeader);
25
26uint32_t id3v2ParseTagHeader(uint8_t *in, size_t inl, Id3v2TagHeader **tagHeader, uint32_t *tagSize);
27
28uint32_t id3v2ParseFrameHeader(uint8_t *in, size_t inl, uint8_t version, Id3v2FrameHeader **frameHeader,
29 uint32_t *frameSize);
30
31uint32_t id3v2ParseFrame(uint8_t *in, size_t inl, List *context, uint8_t version, Id3v2Frame **frame);
32
33Id3v2Tag *id3v2ParseTagFromBuffer(uint8_t *in, size_t inl, HashTable *userPairs);
34
35#ifdef __cplusplus
36} //extern c end
37#endif
38
39#endif
uint32_t id3v2ParseTagHeader(uint8_t *in, size_t inl, Id3v2TagHeader **tagHeader, uint32_t *tagSize)
Parses an ID3v2 tag header from a byte buffer (excluding extended header).
uint32_t id3v2ParseExtendedTagHeader(uint8_t *in, size_t inl, uint8_t version, Id3v2ExtendedTagHeader **extendedTagHeader)
Parses an ID3v2 extended tag header from a byte buffer.
Definition id3v2Parser.c:72
uint32_t id3v2ParseFrame(uint8_t *in, size_t inl, List *context, uint8_t version, Id3v2Frame **frame)
Parses an ID3v2 frame (header + content) from a byte buffer using context-driven interpretation.
uint32_t id3v2ParseFrameHeader(uint8_t *in, size_t inl, uint8_t version, Id3v2FrameHeader **frameHeader, uint32_t *frameSize)
Parses an ID3v2 frame header from a byte buffer.
Id3v2Tag * id3v2ParseTagFromBuffer(uint8_t *in, size_t inl, HashTable *userPairs)
Parses a complete ID3v2 tag from a byte buffer, including header, optional extended header,...
Definitions for ID3v2.x tag structure, constants, and genre enumeration.
struct _Id3v2Tag Id3v2Tag
Complete ID3v2 tag structure containing header and metadata frames.
struct _Id3v2ExtendedTagHeader Id3v2ExtendedTagHeader
Optional ID3v2 extended header containing supplementary tag metadata.
struct _Id3v2Frame Id3v2Frame
Complete ID3v2 frame structure with header, parsing contexts, and data.
struct _Id3v2FrameHeader Id3v2FrameHeader
ID3v2 frame header containing identification and processing flags.
struct _Id3v2TagHeader Id3v2TagHeader
ID3v2 tag header containing version and parsing information.