diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* See COPYING file for copyright and license details. */ #define COOKIEMAX 1024 int dial(char *host, char *port); -int get(char *host, char *path, char *sendcookie, char *savecookie, char **body); -int post(char *host, char *path, char *sendcookie, char *savecookie, char *data, char **body); -int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath); +int get(char *host, char *path, char *sendcookie, char *savecookie, char **body, int istext); +int post(char *host, char *path, char *sendcookie, char *savecookie, char *data, char **body, int istext); +int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath, int istext); int renameifjpg(char *path); |