http_lib.h - cleanups

This commit is contained in:
twinaphex 2015-01-19 04:11:51 +01:00
parent 384e27a0b1
commit d40f7467eb

View File

@ -23,6 +23,7 @@ extern int http_proxy_port;
typedef enum
{
/* Client side errors */
ERRHOST = -1, /* No such host */
ERRSOCK = -2, /* Can't create socket */
ERRCONN = -3, /* Can't connect to host */
@ -59,6 +60,7 @@ typedef enum
#ifndef OSK
http_retcode http_put(const char *filename, const char *data, int length,
int overwrite, const char *type) ;
http_retcode http_get(const char *filename, char **pdata,int *plength, char *typebuf);
http_retcode http_parse_url(char *url, char **pfilename);