summaryrefslogtreecommitdiffstats
path: root/wrap-json.h
diff options
context:
space:
mode:
Diffstat (limited to 'wrap-json.h')
-rw-r--r--wrap-json.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/wrap-json.h b/wrap-json.h
index f5e6996..fd5b7c3 100644
--- a/wrap-json.h
+++ b/wrap-json.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2016, 2017 "IoT.bzh"
+ Copyright (C) 2016, 2017, 2018 "IoT.bzh"
author: José Bollo <jose.bollo@iot.bzh>
@@ -48,6 +48,10 @@ extern void wrap_json_object_for_all(struct json_object *object, void (*callback
extern void wrap_json_optobject_for_all(struct json_object *object, void (*callback)(void*,struct json_object*,const char*), void *closure);
extern void wrap_json_for_all(struct json_object *object, void (*callback)(void*,struct json_object*,const char*), void *closure);
+extern struct json_object *wrap_json_clone(struct json_object *object);
+extern struct json_object *wrap_json_clone_deep(struct json_object *object);
+extern void wrap_json_object_add(struct json_object *dest, struct json_object *added);
+
#ifdef __cplusplus
}
#endif