Access


Data Structures

struct  access_t

VLC_COMMON_MEMBERS these members are common for all vlc objects

int access_t::i_object_id
int access_t::i_object_type
const char * access_t::psz_object_type
char * access_t::psz_object_name
char * access_t::psz_header
int access_t::i_flags
volatile bool access_t::b_error
 set by the object
volatile bool access_t::b_die
 set by the outside
volatile bool access_t::b_dead
 set by the object
bool access_t::b_force
 set by the outside (eg.
libvlc_int_taccess_t::p_libvlc
 (root of all evil) - 1
vlc_object_taccess_t::p_parent
 our parent
void * access_t::p_private
int access_t::be_sure_to_add_VLC_COMMON_MEMBERS_to_struct
 Just a reminder so that people don't cast garbage.

Defines

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

Enumerations

enum  access_query_e {
  ACCESS_CAN_SEEK, ACCESS_CAN_FASTSEEK, ACCESS_CAN_PAUSE, ACCESS_CAN_CONTROL_PACE,
  ACCESS_GET_MTU, ACCESS_GET_PTS_DELAY, ACCESS_GET_TITLE_INFO, ACCESS_GET_META,
  ACCESS_SET_PAUSE_STATE, ACCESS_SET_TITLE, ACCESS_SET_SEEKPOINT, ACCESS_SET_PRIVATE_ID_STATE,
  ACCESS_SET_PRIVATE_ID_CA, ACCESS_GET_PRIVATE_ID_STATE, ACCESS_GET_CONTENT_TYPE
}

Functions

static int access_vaControl (access_t *p_access, int i_query, va_list args)
static int access_Control (access_t *p_access, int i_query,...)
static char * access_GetContentType (access_t *p_access)
static void access_InitFields (access_t *p_a)

Variables

module_taccess_t::p_module
char * access_t::psz_access
char * access_t::psz_path
access_taccess_t::p_source
char * access_t::psz_demux
ssize_t(* access_t::pf_read )(access_t *, uint8_t *, size_t)
block_t *(* access_t::pf_block )(access_t *)
int(* access_t::pf_seek )(access_t *, int64_t)
int(* access_t::pf_control )(access_t *, int i_query, va_list args)
int64_t   access_t::i_size
int64_t   access_t::i_pos
bool   access_t::b_eof
int   access_t::i_title
int   access_t::i_seekpoint
bool   access_t::b_prebuffered
struct {
   unsigned int   i_update
   int64_t   access_t::i_size
   int64_t   access_t::i_pos
   bool   access_t::b_eof
   int   access_t::i_title
   int   access_t::i_seekpoint
   bool   access_t::b_prebuffered
access_t::info
access_sys_taccess_t::p_sys

Define Documentation

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

Value:

p_access->pf_read = read;  \
    p_access->pf_block = block; \
    p_access->pf_control = control; \
    p_access->pf_seek = seek; \

#define STANDARD_BLOCK_ACCESS_INIT

Value:

access_InitFields( p_access ); \
    ACCESS_SET_CALLBACKS( NULL, Block, Control, Seek ); \
    MALLOC_ERR( p_access->p_sys, access_sys_t ); \
    p_sys = p_access->p_sys; memset( p_sys, 0, sizeof( access_sys_t ) );

#define STANDARD_READ_ACCESS_INIT

Value:

access_InitFields( p_access ); \
    ACCESS_SET_CALLBACKS( Read, NULL, Control, Seek ); \
    MALLOC_ERR( p_access->p_sys, access_sys_t ); \
    p_sys = p_access->p_sys; memset( p_sys, 0, sizeof( access_sys_t ) );


Enumeration Type Documentation

enum access_query_e

Enumerator:
ACCESS_CAN_SEEK 
ACCESS_CAN_FASTSEEK 
ACCESS_CAN_PAUSE 
ACCESS_CAN_CONTROL_PACE 
ACCESS_GET_MTU 
ACCESS_GET_PTS_DELAY 
ACCESS_GET_TITLE_INFO 
ACCESS_GET_META 
ACCESS_SET_PAUSE_STATE 
ACCESS_SET_TITLE 
ACCESS_SET_SEEKPOINT 
ACCESS_SET_PRIVATE_ID_STATE 
ACCESS_SET_PRIVATE_ID_CA 
ACCESS_GET_PRIVATE_ID_STATE 
ACCESS_GET_CONTENT_TYPE 


Function Documentation

static int access_Control ( access_t p_access,
int  i_query,
  ... 
) [inline, static]

static char* access_GetContentType ( access_t p_access  )  [inline, static]

static void access_InitFields ( access_t p_a  )  [inline, static]

static int access_vaControl ( access_t p_access,
int  i_query,
va_list  args 
) [inline, static]


Variable Documentation

volatile bool access_t::b_dead [inherited]

set by the object

volatile bool access_t::b_die [inherited]

set by the outside

bool { ... } ::b_eof [inherited]

bool access_t::b_eof [inherited]

volatile bool access_t::b_error [inherited]

set by the object

bool access_t::b_force [inherited]

set by the outside (eg.

module_Need())

bool { ... } ::b_prebuffered [inherited]

bool access_t::b_prebuffered [inherited]

int access_t::be_sure_to_add_VLC_COMMON_MEMBERS_to_struct [inherited]

Just a reminder so that people don't cast garbage.

int access_t::i_flags [inherited]

int access_t::i_object_id [inherited]

int access_t::i_object_type [inherited]

int64_t { ... } ::i_pos [inherited]

int64_t access_t::i_pos [inherited]

int { ... } ::i_seekpoint [inherited]

int access_t::i_seekpoint [inherited]

int64_t { ... } ::i_size [inherited]

int64_t access_t::i_size [inherited]

int { ... } ::i_title [inherited]

int access_t::i_title [inherited]

unsigned { ... } ::i_update [inherited]

struct { ... } access_t::info [inherited]

libvlc_int_t* access_t::p_libvlc [inherited]

(root of all evil) - 1

module_t* access_t::p_module [inherited]

vlc_object_t* access_t::p_parent [inherited]

our parent

void* access_t::p_private [inherited]

access_t* access_t::p_source [inherited]

access_sys_t* access_t::p_sys [inherited]

block_t*(* access_t::pf_block)(access_t *) [inherited]

int(* access_t::pf_control)(access_t *, int i_query, va_list args) [inherited]

ssize_t(* access_t::pf_read)(access_t *, uint8_t *, size_t) [inherited]

int(* access_t::pf_seek)(access_t *, int64_t) [inherited]

char* access_t::psz_access [inherited]

char* access_t::psz_demux [inherited]

char* access_t::psz_header [inherited]

char* access_t::psz_object_name [inherited]

const char* access_t::psz_object_type [inherited]

char* access_t::psz_path [inherited]


Generated on Wed Aug 13 08:05:54 2008 for VLC by  doxygen 1.5.1