summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index af05560..35bbd74 100644
--- a/util.h
+++ b/util.h
@@ -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 **buf);
+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 post(char *host, char *path, char *data, char **buf);
int renameifjpg(char *path);