summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/util.h b/util.h
index 541fab3..82c0a29 100644
--- a/util.h
+++ b/util.h
@@ -1,4 +1,5 @@
/* See COPYING file for copyright, license and warranty details. */
+#define COOKIEMAX 1024
int dial(char *host, char *port);
-int get(char *host, char *path, char **buf);
-int gettofile(char *host, char *url, char *savepath);
+int get(char *host, char *path, char *sendcookie, char *savecookie, char **buf);
+int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath);