summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-05 22:37:09 -0600
committersanine <sanine.not@pm.me>2023-02-05 22:37:09 -0600
commit287dcb62f19d0cf55c8f179bf4b36a7a66c7737a (patch)
tree7457b5536093f3dccb5fedf6ed35163ffa5a8cdc /include
parent24d7f717b76a3c6fba44e32c2816f2ce612a2f2c (diff)
implement kai_read_input_*()
Diffstat (limited to 'include')
-rw-r--r--include/kalmia.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/kalmia.h b/include/kalmia.h
index a9ae7a8..05da78f 100644
--- a/include/kalmia.h
+++ b/include/kalmia.h
@@ -45,6 +45,7 @@
#ifndef KALMIA_H
#define KALMIA_H
+#include <stdbool.h>
#include <stdlib.h>
/* kalmia uses semantic versioning (semver.org) */
@@ -99,5 +100,14 @@ struct ka_source_t {
struct ka_accessor_t accessor;
};
+struct ka_input_t {
+ bool shared;
+ unsigned int offset; /* required if shared */
+ char *semantic; /* required */
+ char *source; /* required */
+ bool use_set;
+ unsigned int set;
+};
+
#endif