FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
HTTPContext Struct Reference

Data Fields

const AVClassclass
 
URLContexthd
 
unsigned char buffer [BUFFER_SIZE]
 
unsigned char * buf_ptr
 
unsigned char * buf_end
 
int line_count
 
int http_code
 
uint64_t chunksize
 
int chunkend
 
uint64_t off
 
uint64_t end_off
 
uint64_t filesize
 
char * location
 
HTTPAuthState auth_state
 
HTTPAuthState proxy_auth_state
 
char * http_proxy
 
char * headers
 
char * mime_type
 
char * http_version
 
char * user_agent
 
char * referer
 
char * content_type
 
int willclose
 
int seekable
 Control seekability, 0 = disable, 1 = enable, -1 = probe. More...
 
int chunked_post
 
int end_chunked_post
 
int end_header
 
int multiple_requests
 
uint8_tpost_data
 
int post_datalen
 
int is_akamai
 
int is_mediagateway
 
char * cookies
 holds newline (
) delimited Set-Cookie header field values (without the "Set-Cookie: " field name) More...
 
AVDictionarycookie_dict
 
int icy
 
uint64_t icy_data_read
 
uint64_t icy_metaint
 
char * icy_metadata_headers
 
char * icy_metadata_packet
 
AVDictionarymetadata
 
AVDictionarychained_options
 
int send_expect_100
 
char * method
 
int reconnect
 
int reconnect_at_eof
 
int reconnect_streamed
 
int reconnect_delay_max
 
int listen
 
char * resource
 
int reply_code
 
int is_multi_client
 
HandshakeState handshake_step
 
int is_connected_server
 

Detailed Description

Definition at line 61 of file http.c.

Field Documentation

const AVClass* HTTPContext::class

Definition at line 62 of file http.c.

URLContext* HTTPContext::hd
unsigned char HTTPContext::buffer[BUFFER_SIZE]

Definition at line 64 of file http.c.

Referenced by http_connect(), http_getc(), and http_seek_internal().

unsigned char * HTTPContext::buf_ptr

Definition at line 64 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek_internal().

unsigned char * HTTPContext::buf_end

Definition at line 64 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek_internal().

int HTTPContext::line_count

Definition at line 65 of file http.c.

Referenced by http_connect(), and http_read_header().

int HTTPContext::http_code

Definition at line 66 of file http.c.

Referenced by http_connect(), http_open_cnx(), and process_line().

uint64_t HTTPContext::chunksize

Definition at line 68 of file http.c.

Referenced by http_buf_read(), http_read_header(), and process_line().

int HTTPContext::chunkend

Definition at line 69 of file http.c.

Referenced by ff_http_do_new_request(), and http_buf_read().

uint64_t HTTPContext::off
uint64_t HTTPContext::end_off

Definition at line 70 of file http.c.

Referenced by http_buf_read(), and http_connect().

uint64_t HTTPContext::filesize
char* HTTPContext::location

Definition at line 71 of file http.c.

Referenced by ff_http_do_new_request(), http_open(), http_open_cnx_internal(), and parse_location().

HTTPAuthState HTTPContext::auth_state

Definition at line 72 of file http.c.

Referenced by check_http_code(), http_connect(), http_open_cnx(), and process_line().

HTTPAuthState HTTPContext::proxy_auth_state

Definition at line 73 of file http.c.

Referenced by check_http_code(), http_connect(), http_open_cnx(), and process_line().

char* HTTPContext::http_proxy

Definition at line 74 of file http.c.

Referenced by http_open_cnx_internal().

char* HTTPContext::headers

Definition at line 75 of file http.c.

Referenced by http_connect(), http_open(), and http_write_reply().

char* HTTPContext::mime_type

Definition at line 76 of file http.c.

Referenced by process_line().

char* HTTPContext::http_version

Definition at line 77 of file http.c.

Referenced by process_line().

char* HTTPContext::user_agent

Definition at line 78 of file http.c.

Referenced by http_connect().

char* HTTPContext::referer

Definition at line 79 of file http.c.

Referenced by http_connect().

char* HTTPContext::content_type

Definition at line 83 of file http.c.

Referenced by http_connect(), and http_write_reply().

int HTTPContext::willclose

Definition at line 86 of file http.c.

Referenced by ff_http_do_new_request(), http_buf_read(), http_connect(), and process_line().

int HTTPContext::seekable

Control seekability, 0 = disable, 1 = enable, -1 = probe.

Definition at line 87 of file http.c.

Referenced by http_connect(), http_open(), http_read_header(), parse_content_range(), and process_line().

int HTTPContext::chunked_post

Definition at line 88 of file http.c.

Referenced by http_connect(), http_shutdown(), http_write(), and http_write_reply().

int HTTPContext::end_chunked_post
int HTTPContext::end_header

Definition at line 92 of file http.c.

Referenced by http_connect(), http_read_stream(), and process_line().

int HTTPContext::multiple_requests

Definition at line 94 of file http.c.

Referenced by http_buf_read(), and http_connect().

uint8_t* HTTPContext::post_data

Definition at line 95 of file http.c.

Referenced by http_connect().

int HTTPContext::post_datalen

Definition at line 96 of file http.c.

Referenced by http_connect().

int HTTPContext::is_akamai

Definition at line 97 of file http.c.

Referenced by parse_content_range(), and process_line().

int HTTPContext::is_mediagateway

Definition at line 98 of file http.c.

Referenced by http_read_header(), and process_line().

char* HTTPContext::cookies

holds newline (
) delimited Set-Cookie header field values (without the "Set-Cookie: " field name)

Definition at line 99 of file http.c.

Referenced by get_cookies(), http_connect(), and http_read_header().

AVDictionary* HTTPContext::cookie_dict

Definition at line 101 of file http.c.

Referenced by get_cookies(), http_read_header(), and process_line().

int HTTPContext::icy

Definition at line 102 of file http.c.

Referenced by http_connect().

uint64_t HTTPContext::icy_data_read

Definition at line 104 of file http.c.

Referenced by ff_http_do_new_request(), http_connect(), http_read(), and store_icy().

uint64_t HTTPContext::icy_metaint

Definition at line 106 of file http.c.

Referenced by http_read(), process_line(), and store_icy().

char* HTTPContext::icy_metadata_headers

Definition at line 107 of file http.c.

Referenced by parse_icy().

char* HTTPContext::icy_metadata_packet

Definition at line 108 of file http.c.

AVDictionary* HTTPContext::metadata

Definition at line 109 of file http.c.

Referenced by parse_icy(), and update_metadata().

AVDictionary* HTTPContext::chained_options

Definition at line 115 of file http.c.

Referenced by http_close(), http_listen(), http_open(), and http_open_cnx().

int HTTPContext::send_expect_100

Definition at line 116 of file http.c.

Referenced by http_connect().

char* HTTPContext::method

Definition at line 117 of file http.c.

Referenced by http_connect(), and process_line().

int HTTPContext::reconnect

Definition at line 118 of file http.c.

Referenced by http_read_stream().

int HTTPContext::reconnect_at_eof

Definition at line 119 of file http.c.

Referenced by http_read_stream().

int HTTPContext::reconnect_streamed

Definition at line 120 of file http.c.

Referenced by http_read_stream().

int HTTPContext::reconnect_delay_max

Definition at line 121 of file http.c.

Referenced by http_read_stream().

int HTTPContext::listen

Definition at line 122 of file http.c.

Referenced by http_accept(), http_listen(), http_open(), and http_shutdown().

char* HTTPContext::resource

Definition at line 123 of file http.c.

Referenced by process_line().

int HTTPContext::reply_code

Definition at line 124 of file http.c.

Referenced by http_handshake(), and http_listen().

int HTTPContext::is_multi_client

Definition at line 125 of file http.c.

Referenced by http_accept().

HandshakeState HTTPContext::handshake_step

Definition at line 126 of file http.c.

Referenced by http_handshake(), and http_listen().

int HTTPContext::is_connected_server

Definition at line 127 of file http.c.

Referenced by http_handshake(), and process_line().


The documentation for this struct was generated from the following file: