projects
/
prss.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[prss.git]
/
src
/
http.h
diff --git
a/src/http.h
b/src/http.h
index
3c717c9
..
dd78640
100644
(file)
--- a/
src/http.h
+++ b/
src/http.h
@@
-17,11
+17,13
@@
* 02110-1301 USA
*/
* 02110-1301 USA
*/
-#ifndef _PHTTP_H_
-#define _PHTTP_H_
+#ifndef _P
RSS_
HTTP_H_
+#define _P
RSS_
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
#endif