libropkg: implement package manifest parsing
This commit is contained in:
24
libropkg/manifest.h
Normal file
24
libropkg/manifest.h
Normal 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
|
||||
Reference in New Issue
Block a user