libropkg: implement package manifest parsing

This commit is contained in:
2025-08-06 22:07:47 +01:00
parent f35ade11d6
commit 6275836e40
5 changed files with 588 additions and 2 deletions

24
libropkg/manifest.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef _MANIFEST_H_
#define _MANIFEST_H_
#include <blue/core/queue.h>
#include <ropkg/manifest.h>
#include <stddef.h>
struct ropkg_manifest_value {
enum ropkg_manifest_value_type v_type;
enum ropkg_manifest_value_id v_id;
char *v_name;
b_queue_entry v_entry;
union {
size_t i;
char *s;
} v_value;
};
struct ropkg_manifest {
b_queue m_values;
};
#endif