FFmpeg
Data Structures | Functions
gopher.c File Reference
#include "config.h"
#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)
 

Function Documentation

◆ gopher_write()

static int gopher_write ( URLContext h,
const uint8_t buf,
int  size 
)
static

Definition at line 38 of file gopher.c.

Referenced by gopher_connect().

◆ gopher_connect()

static int gopher_connect ( URLContext h,
const char *  path 
)
static

Definition at line 44 of file gopher.c.

Referenced by gopher_open().

◆ gopher_close()

static int gopher_close ( URLContext h)
static

Definition at line 71 of file gopher.c.

Referenced by gopher_open().

◆ gopher_open()

static int gopher_open ( URLContext h,
const char *  uri,
int  flags 
)
static

Definition at line 78 of file gopher.c.

◆ gopher_read()

static int gopher_read ( URLContext h,
uint8_t buf,
int  size 
)
static

Definition at line 113 of file gopher.c.