libgpac
Documentation of the core library of GPAC
|
#include <mpd.h>
Data Fields | |
GF_Err(* | new_session )(GF_FileDownload *getter, char *url) |
void(* | del_session )(GF_FileDownload *getter) |
const char *(* | get_cache_name )(GF_FileDownload *getter) |
GF_Err(* | get_status )(GF_FileDownload *getter) |
void * | udta |
void * | session |
file download abstraction object
GF_Err(* GF_FileDownload::new_session) (GF_FileDownload *getter, char *url) |
callback function for session creation, fetches the given URL
void(* GF_FileDownload::del_session) (GF_FileDownload *getter) |
callback function to destroy the session
const char*(* GF_FileDownload::get_cache_name) (GF_FileDownload *getter) |
callback function to get the local file name
GF_Err(* GF_FileDownload::get_status) (GF_FileDownload *getter) |
callback function to get download status - returns:
void* GF_FileDownload::udta |
user private
void* GF_FileDownload::session |
created by user after new_session