21#ifndef VLC_HTTP_RESOURCE_H
22#define VLC_HTTP_RESOURCE_H 1
64 const char *uri,
const char *ua,
const char *ref);
100 const char *username,
const char *password);
int vlc_http_res_init(struct vlc_http_resource *, const struct vlc_http_resource_cbs *cbs, struct vlc_http_mgr *mgr, const char *uri, const char *ua, const char *ref)
char * vlc_http_res_get_type(struct vlc_http_resource *)
Gets MIME type.
Definition: resource.c:300
char * vlc_http_res_get_redirect(struct vlc_http_resource *)
Gets redirection URL.
int vlc_http_res_get_status(struct vlc_http_resource *res)
Definition: resource.c:131
int vlc_http_res_set_login(struct vlc_http_resource *res, const char *username, const char *password)
Definition: resource.c:319
struct vlc_http_msg * vlc_http_res_open(struct vlc_http_resource *res, void *)
Definition: resource.c:84
char * vlc_http_res_get_basic_realm(struct vlc_http_resource *res)
Definition: resource.c:353
void vlc_http_res_destroy(struct vlc_http_resource *)
Destroys an HTTP resource.
Definition: resource.c:162
block_t * vlc_http_res_read(struct vlc_http_resource *)
Reads data.
Definition: resource.c:310
Definition: vlc_frame.h:123
Definition: connmgr.c:100
Definition: resource.h:36
int(* request_format)(const struct vlc_http_resource *, struct vlc_http_msg *, void *)
Definition: resource.h:37
int(* response_validate)(const struct vlc_http_resource *, const struct vlc_http_msg *, void *)
Definition: resource.h:39
Definition: resource.h:44
char * password
Definition: resource.h:56
unsigned port
Definition: resource.h:52
bool negotiate
Definition: resource.h:49
char * path
Definition: resource.h:54
char * host
Definition: resource.h:51
char * referrer
Definition: resource.h:58
char * agent
Definition: resource.h:57
const struct vlc_http_resource_cbs * cbs
Definition: resource.h:45
struct vlc_http_mgr * manager
Definition: resource.h:47
bool failure
Definition: resource.h:50
char * username
Definition: resource.h:55
char * authority
Definition: resource.h:53
struct vlc_http_msg * response
Definition: resource.h:46
bool secure
Definition: resource.h:48