X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fhttp.h;h=dd78640a11dde556a457b44b70457c785e38b5a6;hp=91ffcc2dc8b2304abdd01260a41882cace4818dd;hb=4c8273864b951d26b002c8f2ec6e92a9a13799b6;hpb=47231117238180500e22522eb470530bad381dd1 diff --git a/src/http.h b/src/http.h index 91ffcc2..dd78640 100644 --- a/src/http.h +++ b/src/http.h @@ -20,8 +20,10 @@ #ifndef _PRSS_HTTP_H_ #define _PRSS_HTTP_H_ +#include + void http_init(); -json_object *get_json_object(const char *url); -json_object *post_json_object(const char *url, struct json_object *); +void http_cleanup(); +json_object *http_json_get(const char *url, struct json_object *); #endif