#include "libavutil/base64.h"#include "libavutil/avstring.h"#include "avformat.h"#include <unistd.h>#include "network.h"#include "os_support.h"Go to the source code of this file.
Data Structures | |
| struct | HTTPContext |
Defines | |
| #define | BUFFER_SIZE 1024 |
| #define | URL_SIZE 4096 |
| #define | MAX_REDIRECTS 8 |
Functions | |
| static int | http_connect (URLContext *h, const char *path, const char *hoststr, const char *auth, int *new_location) |
| static int | http_write (URLContext *h, uint8_t *buf, int size) |
| static int | http_open_cnx (URLContext *h) |
| static int | http_open (URLContext *h, const char *uri, int flags) |
| static int | http_getc (HTTPContext *s) |
| static int | process_line (URLContext *h, char *line, int line_count, int *new_location) |
| static int | http_read (URLContext *h, uint8_t *buf, int size) |
| static int | http_close (URLContext *h) |
| static int64_t | http_seek (URLContext *h, int64_t off, int whence) |
Variables | |
| URLProtocol | http_protocol |
| #define BUFFER_SIZE 1024 |
Definition at line 35 of file http.c.
Referenced by http_getc().
| #define MAX_REDIRECTS 8 |
Definition at line 37 of file http.c.
Referenced by http_open_cnx().
| #define URL_SIZE 4096 |
Definition at line 36 of file http.c.
Referenced by http_open().
| static int http_close | ( | URLContext * | h | ) | [static] |
| static int http_connect | ( | URLContext * | h, | |
| const char * | path, | |||
| const char * | hoststr, | |||
| const char * | auth, | |||
| int * | new_location | |||
| ) | [static] |
Definition at line 208 of file http.c.
Referenced by http_open_cnx().
| static int http_getc | ( | HTTPContext * | s | ) | [static] |
Definition at line 137 of file http.c.
Referenced by http_connect().
| static int http_open | ( | URLContext * | h, | |
| const char * | uri, | |||
| int | flags | |||
| ) | [static] |
| static int http_open_cnx | ( | URLContext * | h | ) | [static] |
Definition at line 54 of file http.c.
Referenced by http_open(), and http_seek().
| static int http_read | ( | URLContext * | h, | |
| uint8_t * | buf, | |||
| int | size | |||
| ) | [static] |
| static int64_t http_seek | ( | URLContext * | h, | |
| int64_t | off, | |||
| int | whence | |||
| ) | [static] |
| static int http_write | ( | URLContext * | h, | |
| uint8_t * | buf, | |||
| int | size | |||
| ) | [static] |
Definition at line 305 of file http.c.
Referenced by http_connect().
| static int process_line | ( | URLContext * | h, | |
| char * | line, | |||
| int | line_count, | |||
| int * | new_location | |||
| ) | [static] |
Definition at line 154 of file http.c.
Referenced by http_connect().
1.7.1