2 * This file contains definition of json structure
15 #include "ccan/talloc/talloc.h"
16 #include "ccan/string/string.h"
27 /* Function for storing json structure to file given struct json*/
28 static int storejsontofile(const struct json *jsonobj, const char *jsonfile);
30 /*Function to store in database*/
31 static int storejsontodb(const struct json *jsonobj, const char *db);
33 /*create json structure*/
34 static struct json *createjson(char **infofile, char *author);
36 /*Extract info from file*/
37 static char **extractinfo(char **file);