VLC 4.0.0-dev
Loading...
Searching...
No Matches
access.c File Reference
Include dependency graph for access.c:

Data Structures

struct  vlc_access_private
struct  vlc_access_stream_private

Macros

#define MAX_REDIR   5

Functions

static void vlc_access_Destroy (stream_t *access)
static stream_taccessNewAttachment (vlc_object_t *parent, input_thread_t *input, const char *mrl)
static stream_taccess_New (vlc_object_t *parent, input_thread_t *input, es_out_t *out, bool preparsing, const char *mrl)
stream_tvlc_access_NewMRL (vlc_object_t *parent, const char *mrl)
 Opens a new read-only byte stream.
int access_vaDirectoryControlHelper (stream_t *p_access, int i_query, va_list args)
 Default pf_control callback for directory accesses.
static block_tAStreamReadBlock (stream_t *s, bool *restrict eof)
static ssize_t AStreamReadStream (stream_t *s, void *buf, size_t len)
static int AStreamSeek (stream_t *s, uint64_t offset)
static int AStreamControl (stream_t *s, int cmd, va_list args)
static void AStreamDestroy (stream_t *s)
stream_tstream_AccessNew (vlc_object_t *parent, input_thread_t *input, es_out_t *out, bool preparsing, const char *url)
 This function creates a raw stream_t from an URL.

Macro Definition Documentation

◆ MAX_REDIR

#define MAX_REDIR   5

Referenced by access_New().

Function Documentation

◆ access_New()

◆ accessNewAttachment()

◆ AStreamControl()

int AStreamControl ( stream_t * s,
int cmd,
va_list args )
static

◆ AStreamDestroy()

void AStreamDestroy ( stream_t * s)
static

References stream_t::p_sys, and vlc_stream_Delete().

Referenced by stream_AccessNew().

◆ AStreamReadBlock()

◆ AStreamReadStream()

◆ AStreamSeek()

int AStreamSeek ( stream_t * s,
uint64_t offset )
static

References stream_t::p_sys, and vlc_stream_Seek().

Referenced by stream_AccessNew().

◆ stream_AccessNew()

◆ vlc_access_Destroy()

void vlc_access_Destroy ( stream_t * access)
static