|
GF_DownloadSession * | gf_dm_sess_new_server (GF_DownloadManager *dm, GF_Socket *server, void *ssl_ctx, gf_dm_user_io user_io, void *usr_cbk, Bool async, GF_Err *e) |
|
GF_DownloadSession * | gf_dm_sess_new_subsession (GF_DownloadSession *sess, u32 stream_id, void *usr_cbk, GF_Err *e) |
|
u32 | gf_dm_sess_subsession_count (GF_DownloadSession *) |
|
void | gf_dm_sess_set_timeout (GF_DownloadSession *sess, u32 timeout) |
|
GF_Socket * | gf_dm_sess_get_socket (GF_DownloadSession *) |
|
GF_Err | gf_dm_sess_send (GF_DownloadSession *sess, u8 *data, u32 size) |
|
void | gf_dm_sess_clear_headers (GF_DownloadSession *sess) |
|
void | gf_dm_sess_set_header (GF_DownloadSession *sess, const char *name, const char *value) |
|
void | gf_dm_sess_set_header_ex (GF_DownloadSession *sess, const char *name, const char *value, Bool allow_overwrite) |
|
GF_Err | gf_dm_sess_flush_async (GF_DownloadSession *sess, Bool no_select) |
|
u32 | gf_dm_sess_async_pending (GF_DownloadSession *sess) |
|
GF_Err | gf_dm_sess_send_reply (GF_DownloadSession *sess, u32 reply_code, const char *response_body, u32 body_len, Bool no_body) |
|
void | gf_dm_sess_server_reset (GF_DownloadSession *sess) |
|
Bool | gf_dm_sess_is_h2 (GF_DownloadSession *sess) |
|
void | gf_dm_sess_flush_h2 (GF_DownloadSession *sess) |
|
void | gf_dm_sess_set_sock_group (GF_DownloadSession *sess, GF_SockGroup *sg) |
|
static void | httpio_del (GF_HTTPFileIO *hio) |
|
static GF_Err | httpio_seek (GF_FileIO *fileio, u64 offset, s32 whence) |
|
static u32 | httpio_read (GF_FileIO *fileio, u8 *buffer, u32 bytes) |
|
static u32 | httpio_write (GF_FileIO *fileio, u8 *buffer, u32 bytes) |
|
static s64 | httpio_tell (GF_FileIO *fileio) |
|
static Bool | httpio_eof (GF_FileIO *fileio) |
|
static GF_FileIO * | httpio_open (GF_FileIO *fileio_ref, const char *url, const char *mode, GF_Err *out_err) |
|
static void | httpout_close_session (GF_HTTPOutSession *sess, GF_Err code) |
|
static void | log_request_done (GF_HTTPOutSession *sess) |
|
static void | httpout_mark_session_done (GF_HTTPOutSession *sess) |
|
static Bool | httpout_sess_flush_close (GF_HTTPOutSession *sess, Bool close_session) |
|
static void | httpout_format_date (u64 time, char szDate[200], Bool for_listing) |
|
static Bool | httpout_dir_file_enum (void *cbck, char *item_name, char *item_path, GF_FileEnumInfo *file_info, Bool is_dir) |
|
static Bool | httpout_dir_enum (void *cbck, char *item_name, char *item_path, GF_FileEnumInfo *file_info) |
|
static Bool | httpout_file_enum (void *cbck, char *item_name, char *item_path, GF_FileEnumInfo *file_info) |
|
static char * | httpout_create_listing (GF_HTTPOutCtx *ctx, char *full_path, HTTP_DIRInfo *di) |
|
static void | httpout_set_local_path (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in) |
|
static Bool | httpout_sess_parse_range (GF_HTTPOutSession *sess, char *range, char **response_body) |
|
static u32 | httpout_do_log (GF_HTTPOutSession *sess, u32 method) |
|
static const char * | get_method_name (u32 method) |
|
GF_Err | httpout_new_subsession (GF_HTTPOutSession *sess, u32 stream_id) |
|
static u32 | httpout_auth_check (HTTP_DIRInfo *di, const char *auth_header, Bool for_write) |
|
static void | httpout_push_headers (GF_HTTPOutSession *sess) |
|
static void | httpout_sess_io (void *usr_cbk, GF_NETIO_Parameter *parameter) |
|
static void | httpout_in_io_ex (void *usr_cbk, GF_NETIO_Parameter *parameter, Bool is_llhas) |
|
static void | httpout_in_io (void *usr_cbk, GF_NETIO_Parameter *parameter) |
|
static void | httpout_in_io_llhas (void *usr_cbk, GF_NETIO_Parameter *parameter) |
|
static GF_Err | httpout_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
|
static void | httpout_check_connection (GF_HTTPOutSession *sess) |
|
static void | httpout_check_new_session (GF_HTTPOutCtx *ctx, GF_Socket *serversock) |
|
static GF_Err | httpout_initialize (GF_Filter *filter) |
|
static void | httpout_del_session (GF_HTTPOutSession *s) |
|
static void | httpout_check_mem_path (GF_HTTPOutSession *sess, GF_HTTPOutInput *in) |
|
static void | httpout_close_llhas_part (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in, Bool final_flush) |
|
static void | httpout_finalize (GF_Filter *filter) |
|
static GF_Err | httpout_sess_data_upload (GF_HTTPOutSession *sess, const u8 *data, u32 size) |
|
static void | httpout_process_session (GF_Filter *filter, GF_HTTPOutCtx *ctx, GF_HTTPOutSession *sess) |
|
static Bool | httpout_close_upload (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in, Bool for_llhas) |
|
static Bool | httpout_open_input (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in, const char *name, Bool is_delete, Bool is_static, Bool is_fake, Bool check_no_open) |
|
static void | httpout_input_in_error (GF_HTTPOutInput *in, GF_Err e) |
|
static void | httpout_close_input_llhas (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in) |
|
static void | httpout_close_input (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in) |
|
static Bool | httpout_open_input_llhas (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in, char *dst) |
|
u32 | httpout_write_input (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in, const u8 *pck_data, u32 pck_size, Bool file_start, Bool no_llhas) |
|
static Bool | httpout_input_write_ready (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in) |
|
static void | httpin_send_seg_info (GF_HTTPOutInput *in) |
|
static void | httpout_prune_files (GF_HTTPOutCtx *ctx, GF_HTTPOutInput *in) |
|
static void | httpout_input_drop (GF_HTTPOutInput *in, GF_FilterPacket *pck) |
|
static void | httpout_process_inputs (GF_HTTPOutCtx *ctx) |
|
static GF_Err | httpout_process (GF_Filter *filter) |
|
static Bool | httpout_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
|
static GF_FilterProbeScore | httpout_probe_url (const char *url, const char *mime) |
|
static Bool | httpout_use_alias (GF_Filter *filter, const char *url, const char *mime) |
|
const GF_FilterRegister * | httpout_register (GF_FilterSession *session) |
|
GF_EXPORT GF_Err | gf_filter_bind_httpout_callbacks (GF_Filter *filter, void *udta, s32(*on_request)(void *udta, GF_HTTPOutSession *session, const char *method, const char *url, u32 auth_code, u32 nb_hdrs, const char **hdrs)) |
|
GF_EXPORT GF_Err | gf_httpout_send_request (GF_HTTPOutSession *sess, void *udta, u32 reply, char *body_or_file, u32 nb_headers, const char **headers, u32(*throttle)(void *udta, u64 done, u64 total), s32(*read)(void *udta, u8 *buffer, u32 buffer_size), u32(*write)(void *udta, const u8 *buffer, u32 buffer_size), void(*close)(void *udta, GF_Err reason)) |
|