VLC  3.0.15
Macros | Functions
access.c File Reference
Include dependency graph for access.c:

Macros

#define MAX_REDIR   5
 

Functions

char * get_path (const char *location)
 
static void vlc_access_Destroy (stream_t *access)
 
static stream_taccess_New (vlc_object_t *parent, input_thread_t *input, bool preparsing, const char *mrl)
 
stream_tvlc_access_NewMRL (vlc_object_t *parent, const char *mrl)
 Opens a new read-only byte stream. More...
 
int access_vaDirectoryControlHelper (stream_t *p_access, int i_query, va_list args)
 Default pf_control callback for directory accesses. More...
 
static int AStreamNoReadDir (stream_t *s, input_item_node_t *p_node)
 
static block_tAStreamReadBlock (stream_t *s, bool *restrict eof)
 
static ssize_t AStreamReadStream (stream_t *s, void *buf, size_t len)
 
static int AStreamReadDir (stream_t *s, input_item_node_t *p_node)
 
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, bool preparsing, const char *url)
 This function creates a raw stream_t from an URL. More...
 

Macro Definition Documentation

◆ MAX_REDIR

#define MAX_REDIR   5

Function Documentation

◆ access_New()

static stream_t* access_New ( vlc_object_t parent,
input_thread_t input,
bool  preparsing,
const char *  mrl 
)
static

◆ AStreamControl()

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

◆ AStreamDestroy()

static void AStreamDestroy ( stream_t s)
static

◆ AStreamNoReadDir()

static int AStreamNoReadDir ( stream_t s,
input_item_node_t p_node 
)
static

< Unspecified error

◆ AStreamReadBlock()

static block_t* AStreamReadBlock ( stream_t s,
bool *restrict  eof 
)
static

◆ AStreamReadDir()

static int AStreamReadDir ( stream_t s,
input_item_node_t p_node 
)
static

◆ AStreamReadStream()

static ssize_t AStreamReadStream ( stream_t s,
void *  buf,
size_t  len 
)
static

◆ AStreamSeek()

static int AStreamSeek ( stream_t s,
uint64_t  offset 
)
static

◆ get_path()

char* get_path ( const char *  location)

References asprintf(), and vlc_uri2path().

Referenced by access_New(), and demux_NewAdvanced().

◆ stream_AccessNew()

stream_t* stream_AccessNew ( vlc_object_t parent,
input_thread_t input,
bool  preparsing,
const char *  url 
)

This function creates a raw stream_t from an URL.

Referenced by vlc_stream_NewURL().

◆ vlc_access_Destroy()

static void vlc_access_Destroy ( stream_t access)
static