VLC  4.0.0-dev
Functions
resource.c File Reference
Include dependency graph for resource.c:

Functions

static struct vlc_http_msgvlc_http_res_req (const struct vlc_http_resource *res, void *opaque)
 
struct vlc_http_msgvlc_http_res_open (struct vlc_http_resource *res, void *opaque)
 
int vlc_http_res_get_status (struct vlc_http_resource *res)
 
static void vlc_http_res_deinit (struct vlc_http_resource *res)
 
void vlc_http_res_destroy (struct vlc_http_resource *res)
 Destroys an HTTP resource. More...
 
int vlc_http_res_init (struct vlc_http_resource *restrict res, 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_redirect (struct vlc_http_resource *restrict res)
 
char * vlc_http_res_get_type (struct vlc_http_resource *res)
 Gets MIME type. More...
 
struct block_tvlc_http_res_read (struct vlc_http_resource *res)
 Reads data. More...
 
int vlc_http_res_set_login (struct vlc_http_resource *res, const char *username, const char *password)
 
char * vlc_http_res_get_basic_realm (struct vlc_http_resource *res)
 

Function Documentation

◆ vlc_http_res_deinit()

static void vlc_http_res_deinit ( struct vlc_http_resource res)
static

◆ vlc_http_res_get_redirect()

char* vlc_http_res_get_redirect ( struct vlc_http_resource *restrict  res)

◆ vlc_http_res_init()

int vlc_http_res_init ( struct vlc_http_resource *restrict  res,
const struct vlc_http_resource_cbs cbs,
struct vlc_http_mgr mgr,
const char *  uri,
const char *  ua,
const char *  ref 
)

◆ vlc_http_res_req()

static struct vlc_http_msg* vlc_http_res_req ( const struct vlc_http_resource res,
void *  opaque 
)
static