summaryrefslogtreecommitdiff
path: root/util.h
blob: 6959ddc009e7e4c960eca390c827f1698fadad4c (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 **body, int istext);
int post(char *host, char *path, char *sendcookie, char *savecookie, char *data, char **body, int istext);
int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath, int istext);
int renameifjpg(char *path);