diff options
author | Nick White <hg@njw.me.uk> | 2011-07-24 12:14:40 +0100 |
---|---|---|
committer | Nick White <hg@njw.me.uk> | 2011-07-24 12:14:40 +0100 |
commit | bd2fd4f1007508298660d1b617b9368280ed9f51 (patch) | |
tree | 3de7bdda0e63101185da106f651e2076aec977cd /util.h | |
parent | 491a4f48095a028201a9183b390f9f82c5235046 (diff) |
Add cookie usage
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |