summaryrefslogtreecommitdiff
path: root/includes/http.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-11-17 19:43:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-11-17 19:43:59 (GMT)
commite3594aba9e05c6865d396418c028049cda92c2f3 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /includes/http.h
parentfb43f7d23e99765ae093fc45608901cb5907d1d8 (diff)
downloadpowder-e3594aba9e05c6865d396418c028049cda92c2f3.zip
powder-e3594aba9e05c6865d396418c028049cda92c2f3.tar.gz
Remove old code
Diffstat (limited to 'includes/http.h')
-rwxr-xr-xincludes/http.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/includes/http.h b/includes/http.h
deleted file mode 100755
index d62754b..0000000
--- a/includes/http.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Powder Toy - HTTP Library (Header)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef HTTP_H
-#define HTTP_H
-
-void http_init(char *proxy);
-void http_done(void);
-
-char *http_simple_get(char *uri, int *ret, int *len);
-char *http_auth_get(char *uri, char *user, char *pass, char * session_id, int *ret, int *len);
-char *http_simple_post(char *uri, char *data, int dlen, int *ret, int *len);
-
-void http_auth_headers(void *ctx, char *user, char *pass, char * session_id);
-
-void *http_async_req_start(void *ctx, char *uri, char *data, int dlen, int keep);
-void http_async_add_header(void *ctx, char *name, char *data);
-int http_async_req_status(void *ctx);
-void http_async_get_length(void *ctx, int *total, int *done);
-char *http_async_req_stop(void *ctx, int *ret, int *len);
-void http_async_req_close(void *ctx);
-
-char *http_multipart_post(char *uri, char **names, char **parts, int *plens, char *user, char *pass, char * session_id, int *ret, int *len);
-
-char *http_ret_text(int ret);
-
-#endif