diff options
Diffstat (limited to 'src/geometry/geometry.c')
-rw-r--r-- | src/geometry/geometry.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/geometry/geometry.c b/src/geometry/geometry.c index c3eb40c..42e7970 100644 --- a/src/geometry/geometry.c +++ b/src/geometry/geometry.c @@ -98,3 +98,14 @@ int kai_read_accessor(struct ka_accessor_t *dest, struct kai_tag_t *src) return 0; } + + +int kai_read_source(struct ka_source_t *dest, struct kai_tag_t *src) +{ + CHECK_TAG_TYPE("source"); + + char *id = kai_tag_attr_to_dup(src, "id"); + if (id == NULL) { return -1; } + + return 0; +} |