#include "avformat.h"#include "libavutil/parseutils.h"#include "internal.h"#include "network.h"#include "os_support.h"#include "url.h"Go to the source code of this file.
Data Structures | |
| struct | TCPContext |
Functions | |
| static int | tcp_open (URLContext *h, const char *uri, int flags) |
| static int | tcp_read (URLContext *h, uint8_t *buf, int size) |
| static int | tcp_write (URLContext *h, const uint8_t *buf, int size) |
| static int | tcp_shutdown (URLContext *h, int flags) |
| static int | tcp_close (URLContext *h) |
| static int | tcp_get_file_handle (URLContext *h) |
Variables | |
| URLProtocol | ff_tcp_protocol |
| static int tcp_close | ( | URLContext * | h | ) | [static] |
| static int tcp_get_file_handle | ( | URLContext * | h | ) | [static] |
| static int tcp_open | ( | URLContext * | h, | |
| const char * | uri, | |||
| int | flags | |||
| ) | [static] |
| static int tcp_read | ( | URLContext * | h, | |
| uint8_t * | buf, | |||
| int | size | |||
| ) | [static] |
| static int tcp_shutdown | ( | URLContext * | h, | |
| int | flags | |||
| ) | [static] |
| static int tcp_write | ( | URLContext * | h, | |
| const uint8_t * | buf, | |||
| int | size | |||
| ) | [static] |
Initial value:
{
.name = "tcp",
.url_open = tcp_open,
.url_read = tcp_read,
.url_write = tcp_write,
.url_close = tcp_close,
.url_get_file_handle = tcp_get_file_handle,
.url_shutdown = tcp_shutdown,
.priv_data_size = sizeof(TCPContext),
.flags = URL_PROTOCOL_FLAG_NETWORK,
}
1.5.8