From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/replicant/nsid3v2/frames.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Src/replicant/nsid3v2/frames.h (limited to 'Src/replicant/nsid3v2/frames.h') diff --git a/Src/replicant/nsid3v2/frames.h b/Src/replicant/nsid3v2/frames.h new file mode 100644 index 00000000..d30ae26c --- /dev/null +++ b/Src/replicant/nsid3v2/frames.h @@ -0,0 +1,21 @@ +#pragma once +#include "foundation/types.h" +#ifdef __cplusplus +extern "C" { +#endif + +#define FRAMEID(__frame_id) ((const int8_t*)__frame_id) + +typedef struct frameid_struct_t +{ + const int8_t *v2; + const int8_t *v3; + const int8_t *v4; +} FrameID; + +extern const FrameID frame_ids[]; + +int ValidFrameID(int frame_id); +#ifdef __cplusplus +} +#endif -- cgit