summaryrefslogtreecommitdiff
path: root/util.h
blob: 2e852abeb69a74a3698f6605578c48bfbbb5df73 (plain)
1
2
3
4
5
6
/* See COPYING file for copyright and license details. */
#define COOKIEMAX 1024
#define HEADERMAX 1024
int dial(char *host, char *port);
int get(char *host, char *path, char *sendcookie, char *savecookie, char **buf);
int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath);