22#define NODE_TYPE_UNDEFINED 0
23#define NODE_TYPE_BRANCH_DYNAMIC 1
24#define NODE_TYPE_BRANCH_FIXED 2
25#define NODE_TYPE_BRANCH_MIXED 3
26#define NODE_TYPE_DATA 4
struct s_t2fsSchemaNode t2fsSchemaNode
Definition schema.h:28
void t2fs_schema_node_free_childeren(t2fsSchemaNode *schemaNode)
int t2fs_schema_parse_from_json(const char *jsonPath, t2fsSchemaNode *root)
void t2fs_schema_node_init(t2fsSchemaNode *schemaNode)
void t2fs_schema_print(t2fsSchemaNode *schema)
uint32_t fixedCount
Definition schema.h:34
uint8_t childType
Definition schema.h:43
uint8_t isArray
Definition schema.h:46
t2fsSchemaNode * childNodes
Definition schema.h:41
uint32_t childCount
Definition schema.h:37
uint8_t interleaved
Definition schema.h:51
uint32_t dataSize
Definition schema.h:49
char * name
Definition schema.h:31