Changeset View
Changeset View
Standalone View
Standalone View
lib/libfetch/common.h
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
FILE *http_request(struct url *, const char *, | FILE *http_request(struct url *, const char *, | ||||
struct url_stat *, struct url *, const char *); | struct url_stat *, struct url *, const char *); | ||||
FILE *http_request_body(struct url *, const char *, | FILE *http_request_body(struct url *, const char *, | ||||
struct url_stat *, struct url *, const char *, | struct url_stat *, struct url *, const char *, | ||||
const char *, const char *); | const char *, const char *); | ||||
FILE *ftp_request(struct url *, const char *, | FILE *ftp_request(struct url *, const char *, | ||||
struct url_stat *, struct url *, const char *); | struct url_stat *, struct url *, const char *); | ||||
struct url *ftp_get_proxy(struct url *, const char *); | |||||
/* | /* | ||||
* Check whether a particular flag is set | * Check whether a particular flag is set | ||||
*/ | */ | ||||
#define CHECK_FLAG(x) (flags && strchr(flags, (x))) | #define CHECK_FLAG(x) (flags && strchr(flags, (x))) | ||||
#endif | #endif |