summaryrefslogtreecommitdiff
path: root/util.h
blob: af055608623c4d95427d7d926dd0283a3206e9c1 (plain)
1
2
3
4
5
6
7
/* See COPYING file for copyright and license details. */
#define COOKIEMAX 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);
int post(char *host, char *path, char *data, char **buf);
int renameifjpg(char *path);