(no commit message)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 23 Apr 2013 17:21:22 +0000 (17:21 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 23 Apr 2013 17:21:22 +0000 (17:21 +0000)
src/http.c
src/http.h
src/main.c

index a1d0211..ba4d51a 100644 (file)
@@ -53,7 +53,7 @@ static size_t cbk_curl(void *buffer, size_t size, size_t nmemb, void *userp)
        return realsize;
 }
 
        return realsize;
 }
 
-void phttp_init()
+void http_init()
 {
        curl = curl_easy_init();
 }
 {
        curl = curl_easy_init();
 }
index 3c717c9..91ffcc2 100644 (file)
  * 02110-1301 USA
  */
 
  * 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 *);
 
 json_object *get_json_object(const char *url);
 json_object *post_json_object(const char *url, struct json_object *);
 
index bc1805c..c9f15a9 100644 (file)
@@ -342,7 +342,7 @@ int main(int argc, char **argv)
                exit(EXIT_FAILURE);
        }
 
                exit(EXIT_FAILURE);
        }
 
-       phttp_init();
+       http_init();
 
        gtk_init(NULL, NULL);
        settings = g_settings_new("prss");
 
        gtk_init(NULL, NULL);
        settings = g_settings_new("prss");