summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-24 12:14:40 +0100
committerNick White <hg@njw.me.uk>2011-07-24 12:14:40 +0100
commitbd2fd4f1007508298660d1b617b9368280ed9f51 (patch)
tree3de7bdda0e63101185da106f651e2076aec977cd /util.h
parent491a4f48095a028201a9183b390f9f82c5235046 (diff)
Add cookie usage
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);