dockapps/wmweather+-2.12/download.h
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

14 lines
410 B
C

#ifndef DOWNLOAD_H
#define DOWNLOAD_H
/* flags for download_file */
#define DOWNLOAD_NO_404 1
#define DOWNLOAD_KILL_OTHER_REQUESTS 2
void download_init(char *email);
void download_process(unsigned long sleep_time);
int download_kill(char *filename);
int download_file(char *filename, char *from_addr, char *postdata, int flags, void (*callback)(char *filename, void *data), void *data);
#endif