VLC  3.0.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Files | Macros | Functions
Access

Raw input byte streams. More...

Collaboration diagram for Access:

Modules

 Access Helpers
 

Files

file  vlc_access.h
 Input byte stream modules interface.
 

Macros

#define VLC_ACCESS_REDIRECT   VLC_ETIMEOUT
 Special redirection error code. More...
 

Functions

access_tvlc_access_NewMRL (vlc_object_t *obj, const char *mrl)
 Opens a new read-only byte stream. More...
 

Detailed Description

Raw input byte streams.

Macro Definition Documentation

#define VLC_ACCESS_REDIRECT   VLC_ETIMEOUT

Special redirection error code.

In case of redirection, the access open function should clean up (as in normal failure case), store the heap-allocated redirection URL in access_t.psz_url, and return this value.

Referenced by Open().

Function Documentation

access_t* vlc_access_NewMRL ( vlc_object_t obj,
const char *  mrl 
)

Opens a new read-only byte stream.

This function might block. The initial offset is of course always zero.

Parameters
objparent VLC object
mrlmedia resource location to read
Returns
a new access object on success, NULL on failure

References access_New().