blob: 5403b19bf09c0b529c91c1332cb7b57f5e0d290f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef H_URL
#define H_URL
#include "ftp.h"
/* right now, only ftp type URL's are supported */
struct urlContext {
int ftpControl;
};
int urlIsURL(char * url);
int urlGetFile(char * url, char * dest);
int urlGetFd(char * url, struct urlContext * context);
int urlFinishedFd(struct urlContext * context);
#endif
|