From: Jean-Philippe Orsini Date: Tue, 23 Apr 2013 17:21:22 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=commitdiff_plain;h=47231117238180500e22522eb470530bad381dd1;hp=1087cf87f08c0311004e47b05cae0f6649d835f7 --- diff --git a/src/http.c b/src/http.c index a1d0211..ba4d51a 100644 --- a/src/http.c +++ b/src/http.c @@ -53,7 +53,7 @@ static size_t cbk_curl(void *buffer, size_t size, size_t nmemb, void *userp) return realsize; } -void phttp_init() +void http_init() { curl = curl_easy_init(); } diff --git a/src/http.h b/src/http.h index 3c717c9..91ffcc2 100644 --- a/src/http.h +++ b/src/http.h @@ -17,10 +17,10 @@ * 02110-1301 USA */ -#ifndef _PHTTP_H_ -#define _PHTTP_H_ +#ifndef _PRSS_HTTP_H_ +#define _PRSS_HTTP_H_ -void phttp_init(); +void http_init(); json_object *get_json_object(const char *url); json_object *post_json_object(const char *url, struct json_object *); diff --git a/src/main.c b/src/main.c index bc1805c..c9f15a9 100644 --- a/src/main.c +++ b/src/main.c @@ -342,7 +342,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } - phttp_init(); + http_init(); gtk_init(NULL, NULL); settings = g_settings_new("prss");