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