summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json.h')
-rw-r--r--lib/json.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/json.h b/lib/json.h
index b217df0a7b..7e98614280 100644
--- a/lib/json.h
+++ b/lib/json.h
@@ -32,9 +32,15 @@
* so let's just turn it back to the original usage.
*/
#define json_object_to_json_string_ext(A, B) json_object_to_json_string (A)
+
+extern int json_object_object_get_ex(struct json_object *obj,
+ const char *key,
+ struct json_object **value);
#endif
-extern int use_json(const int argc, const char *argv[]);
+#include "command.h"
+
+extern int use_json(const int argc, struct cmd_token *argv[]);
extern void json_object_string_add(struct json_object* obj, const char *key,
const char *s);
extern void json_object_int_add(struct json_object* obj, const char *key,