46 const char *url,
const char *ua,
82 #define vlc_http_file_get_status vlc_http_res_get_status 83 #define vlc_http_file_get_redirect vlc_http_res_get_redirect 84 #define vlc_http_file_get_type vlc_http_res_get_type 85 #define vlc_http_file_destroy vlc_http_res_destroy
bool vlc_http_file_can_seek(struct vlc_http_resource *)
Checks seeking support.
Definition: file.c:196
uintmax_t vlc_http_file_get_size(struct vlc_http_resource *)
Gets file size.
Definition: file.c:178
Definition: resource.h:43
struct vlc_http_resource * vlc_http_file_create(struct vlc_http_mgr *mgr, const char *url, const char *ua, const char *ref)
Creates an HTTP file.
Definition: file.c:113
int vlc_http_file_seek(struct vlc_http_resource *, uintmax_t offset)
Sets the read offset.
Definition: file.c:204
struct block_t * vlc_http_file_read(struct vlc_http_resource *)
Reads data.
Definition: file.c:232
Definition: vlc_block.h:117