X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ext%2Fsolv_jsonparser.h;h=f728fb68a73373eb1f391b91066f05c052ecfc3a;hb=18ebbaf4f619e79231f5ad18a2ab8c135d22ef56;hp=d58d9e3abf744868596e8c6b36fbba9822a77236;hpb=f078975d65d0cace665590f3cf60025e6f2c7a0a;p=platform%2Fupstream%2Flibsolv.git diff --git a/ext/solv_jsonparser.h b/ext/solv_jsonparser.h index d58d9e3..f728fb6 100644 --- a/ext/solv_jsonparser.h +++ b/ext/solv_jsonparser.h @@ -20,7 +20,7 @@ struct solv_jsonparser { char *value; size_t valuelen; - int state; + int state; /* START, END, OBJECT, ARRAY */ Queue stateq; int nextc; int nextline; @@ -41,8 +41,8 @@ struct solv_jsonparser { #define JP_ARRAY 8 #define JP_ARRAY_END 9 -struct solv_jsonparser *jsonparser_init(struct solv_jsonparser *jp, FILE *fp); -struct solv_jsonparser *jsonparser_free(struct solv_jsonparser *jp); +void jsonparser_init(struct solv_jsonparser *jp, FILE *fp); +void jsonparser_free(struct solv_jsonparser *jp); int jsonparser_parse(struct solv_jsonparser *jp); int jsonparser_skip(struct solv_jsonparser *jp, int type);