summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-07 17:52:17 -0600
committersanine <sanine.not@pm.me>2023-02-07 17:52:17 -0600
commit79f4b0d33cbb490f957d081bd7c8bc97bd4c689c (patch)
treebe04a0dd98ca341a46bd65cf400a20e1c66f3563 /include
parentf547164540f4ac7f8436fef8e981b1fef503f08c (diff)
fix parser using REJECT so that example works
Diffstat (limited to 'include')
-rw-r--r--include/kalmia.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/kalmia.h b/include/kalmia.h
index a09ab9d..79fb004 100644
--- a/include/kalmia.h
+++ b/include/kalmia.h
@@ -151,4 +151,24 @@ struct ka_geometry_t {
};
+struct ka_library_geometries_t {
+ char *id;
+ char *name;
+
+ unsigned int geometry_count;
+ struct ka_geometry_t *geometry;
+};
+
+
+/******** kalmia_t ********/
+
+struct kalmia_t {
+ struct ka_library_geometries_t *library_geometries;
+};
+
+
+struct kalmia_t * kalmia_parse_file(const char *filename);
+void kalmia_destroy(struct kalmia_t *k);
+
+
#endif