#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | GopherContext |
Functions | |
static int | gopher_write (URLContext *h, const uint8_t *buf, int size) |
static int | gopher_connect (URLContext *h, const char *path) |
static int | gopher_close (URLContext *h) |
static int | gopher_open (URLContext *h, const char *uri, int flags) |
static int | gopher_read (URLContext *h, uint8_t *buf, int size) |
Variables | |
URLProtocol | ff_gopher_protocol |
static int gopher_close | ( | URLContext * | h | ) | [static] |
static int gopher_connect | ( | URLContext * | h, | |
const char * | path | |||
) | [static] |
static int gopher_open | ( | URLContext * | h, | |
const char * | uri, | |||
int | flags | |||
) | [static] |
static int gopher_read | ( | URLContext * | h, | |
uint8_t * | buf, | |||
int | size | |||
) | [static] |
static int gopher_write | ( | URLContext * | h, | |
const uint8_t * | buf, | |||
int | size | |||
) | [static] |
Initial value:
{ .name = "gopher", .url_open = gopher_open, .url_read = gopher_read, .url_write = gopher_write, .url_close = gopher_close, .priv_data_size = sizeof(GopherContext), .flags = URL_PROTOCOL_FLAG_NETWORK, }