summaryrefslogtreecommitdiff
path: root/util.h
blob: 1711765d97b23a0984466644a55e16c1eb0bde9e (plain)
1
2
3
4
5
6
7
8
/* 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);
int post(char *host, char *path, char *data, char **buf);
int renameifjpg(char *path);