summaryrefslogtreecommitdiffstats
path: root/src/wrap-json.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-06-15 07:35:28 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-06-15 07:35:28 +0000
commit4709f00f2236f40c606cbd318eb4fecc8d4af924 (patch)
tree6904fd7a9e8e80e16780e22dbe390542efb4d0d4 /src/wrap-json.h
parent03966c169d4f93f7ee3258c0f49f6cfd6f2b7b10 (diff)
parentb13e73d8452f5e40a8465b37b22e8a299fb036ae (diff)
Merge changes from topic 'binding-v3'flounder_5.99.1flounder/5.99.15.99.1
* changes: afm-user-daemon: Update to future version of app-framework-binder wrap-json: sync with upstream afm-binding: use binding api v3 gitignore: Ignore NetBean project afm-user-daemon: Update to binder changes for bindings v3
Diffstat (limited to 'src/wrap-json.h')
-rw-r--r--src/wrap-json.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wrap-json.h b/src/wrap-json.h
index 56f9919..fd5b7c3 100644
--- a/src/wrap-json.h
+++ b/src/wrap-json.h
@@ -18,6 +18,10 @@
#pragma once
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
#include <stdarg.h>
#include <json-c/json.h>
@@ -44,3 +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