Newer
Older
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include <pthread.h>
#include <libubox/blobmsg.h>
#include <libubox/blobmsg_json.h>
#include <json-c/json.h>
char *get_file(const char *path);
struct json_object *path_to_obj(const char *path);
int set_by_string( struct json_object **src, char *fmt, char *val, enum json_type type);
int set(struct json_object *src, char *fmt, struct json_object *val);
struct json_object *get(struct json_object *src, char *fmt);