(no commit message)
[prss.git] / src / http.h
index 3c717c9..dd78640 100644 (file)
  * 02110-1301 USA
  */
 
-#ifndef _PHTTP_H_
-#define _PHTTP_H_
+#ifndef _PRSS_HTTP_H_
+#define _PRSS_HTTP_H_
 
-void phttp_init();
-json_object *get_json_object(const char *url);
-json_object *post_json_object(const char *url, struct json_object *);
+#include <json/json.h>
+
+void http_init();
+void http_cleanup();
+json_object *http_json_get(const char *url, struct json_object *);
 
 #endif