summaryrefslogtreecommitdiff
path: root/src/http.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-03-07 01:27:55 +0530
committerDandelion <nirav@teisuu.com>2019-03-07 01:27:55 +0530
commit6dd58a30761eca36544c4e815b36907eab084949 (patch)
treec1bc857a14fffe6f35f7405f133c0ed114aec1a4 /src/http.h
downloadap_client-6dd58a30761eca36544c4e815b36907eab084949.tar.gz
ap_client-6dd58a30761eca36544c4e815b36907eab084949.zip
Initial commit
Diffstat (limited to 'src/http.h')
-rw-r--r--src/http.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/http.h b/src/http.h
new file mode 100644
index 0000000..d7ba313
--- /dev/null
+++ b/src/http.h
@@ -0,0 +1,9 @@
+#ifndef __HTTP_H
+#define __HTTP_H
+
+int http_init();
+void http_cleanup();
+char *get_request(const char *url);
+char *post_request(const char *url, char *data);
+
+#endif