VLC  3.0.0-git
Data Structures | Macros | Functions
Access Helpers
Collaboration diagram for Access Helpers:

Data Structures

struct  access_fsdir
 Access pf_readdir helper struct. More...
 

Macros

#define ACCESS_SET_CALLBACKS(read, block, control, seek)
 

Functions

int access_vaDirectoryControlHelper (stream_t *p_access, int i_query, va_list args)
 Default pf_control callback for directory accesses. More...
 
void access_fsdir_init (struct access_fsdir *p_fsdir, stream_t *p_access, input_item_node_t *p_node)
 Init a access_fsdir struct. More...
 
void access_fsdir_finish (struct access_fsdir *p_fsdir, bool b_success)
 Finish adding items to the node. More...
 
int access_fsdir_additem (struct access_fsdir *p_fsdir, const char *psz_uri, const char *psz_filename, int i_type, int i_net)
 Add a new input_item_t entry to the node of the access_fsdir struct. More...
 

Detailed Description

Macro Definition Documentation

◆ ACCESS_SET_CALLBACKS

#define ACCESS_SET_CALLBACKS (   read,
  block,
  control,
  seek 
)
Value:
do { \
p_access->pf_read = (read); \
p_access->pf_block = (block); \
p_access->pf_control = (control); \
p_access->pf_seek = (seek); \
} while(0)

Function Documentation

◆ access_fsdir_additem()

int access_fsdir_additem ( struct access_fsdir p_fsdir,
const char *  psz_uri,
const char *  psz_filename,
int  i_type,
int  i_net 
)

◆ access_fsdir_finish()

void access_fsdir_finish ( struct access_fsdir p_fsdir,
bool  b_success 
)

◆ access_fsdir_init()

void access_fsdir_init ( struct access_fsdir p_fsdir,
stream_t p_access,
input_item_node_t p_node 
)

◆ access_vaDirectoryControlHelper()

int access_vaDirectoryControlHelper ( stream_t p_access,
int  i_query,
va_list  args 
)

Default pf_control callback for directory accesses.

< Unspecified error

< No error

References STREAM_CAN_CONTROL_PACE, STREAM_CAN_FASTSEEK, STREAM_CAN_PAUSE, STREAM_CAN_SEEK, STREAM_GET_PTS_DELAY, STREAM_IS_DIRECTORY, VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.