summaryrefslogtreecommitdiff
path: root/util.h
blob: 1a82a805bf1991194b0549a85d5d6c290f13b249 (plain)
1
2
3
4
5
6
/* See COPYING file for copyright and license details. */
#define COOKIEMAX 1024
#define HDRMAX 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);