diff options
Diffstat (limited to 'scanner/attribute_kv.h')
| -rw-r--r-- | scanner/attribute_kv.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scanner/attribute_kv.h b/scanner/attribute_kv.h index 8afed18..d1e69d2 100644 --- a/scanner/attribute_kv.h +++ b/scanner/attribute_kv.h @@ -3,13 +3,21 @@ #include <uuid/uuid.h> #include <stellar/scanner.h> +#ifdef __cplusplus +extern "C" +{ +#endif + struct attribute_kv; struct attribute_kv *attribute_kv_new(void); void attribute_kv_free(struct attribute_kv *attr); -void attribute_kv_set_uuid(struct attribute_kv *attr, enum ATTRIBUTE_KV_INDEX index, const char *key, size_t key_sz, uuid_t uuid); void attribute_kv_set_integer(struct attribute_kv *attr, enum ATTRIBUTE_KV_INDEX index, const char *key, size_t key_sz, long long value); void attribute_kv_set_string(struct attribute_kv *attr, enum ATTRIBUTE_KV_INDEX index, const char *key, size_t key_sz, const char *value, size_t value_sz); -const struct kv *attribute_kv_get(struct attribute_kv *attr, enum ATTRIBUTE_KV_INDEX index);
\ No newline at end of file +const struct utable_kv *attribute_kv_get(struct attribute_kv *attr, enum ATTRIBUTE_KV_INDEX index); + +#ifdef __cplusplus +} +#endif
\ No newline at end of file |
