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 int storejsontofile(struct json *jsonobj, char *jsonfile);
30 /*Function to store in database*/
31 int storejsontodb(struct json *jsonobj, char *db);
33 /*create json structure*/
34 struct json * createjson(char **infofile, char *author);
36 /*Extract info from file*/
37 char ** extractinfo(char **file);