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
16 extern "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
33 Id3v2Tag *id3v2ParseTagFromBuffer(uint8_t *in, size_t inl, HashTable *userPairs);
34
35#ifdef __cplusplus
36} //extern c end
37#endif
38
39#endif
id3v2ParseTagHeader
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).
Definition id3v2Parser.c:250
id3v2ParseExtendedTagHeader
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
id3v2ParseFrame
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.
Definition id3v2Parser.c:565
id3v2ParseFrameHeader
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.
Definition id3v2Parser.c:351
id3v2ParseTagFromBuffer
Id3v2Tag * id3v2ParseTagFromBuffer(uint8_t *in, size_t inl, HashTable *userPairs)
Parses a complete ID3v2 tag from a byte buffer, including header, optional extended header,...
Definition id3v2Parser.c:1001
id3v2Types.h
Definitions for ID3v2.x tag structure, constants, and genre enumeration.
Id3v2Tag
struct _Id3v2Tag Id3v2Tag
Complete ID3v2 tag structure containing header and metadata frames.
Id3v2ExtendedTagHeader
struct _Id3v2ExtendedTagHeader Id3v2ExtendedTagHeader
Optional ID3v2 extended header containing supplementary tag metadata.
Id3v2Frame
struct _Id3v2Frame Id3v2Frame
Complete ID3v2 frame structure with header, parsing contexts, and data.
Id3v2FrameHeader
struct _Id3v2FrameHeader Id3v2FrameHeader
ID3v2 frame header containing identification and processing flags.
Id3v2TagHeader
struct _Id3v2TagHeader Id3v2TagHeader
ID3v2 tag header containing version and parsing information.