xtag.c File Reference

Include dependency graph for xtag.c:


Data Structures

struct  _XList
struct  _XTag
struct  _XAttribute
struct  _XTagParser
struct  xml_reader_sys_t

Defines

#define X_NONE   0
#define X_WHITESPACE   1<<0
#define X_OPENTAG   1<<1
#define X_CLOSETAG   1<<2
#define X_DQUOTE   1<<3
#define X_SQUOTE   1<<4
#define X_EQUAL   1<<5
#define X_SLASH   1<<6
#define X_QMARK   1<<7
#define X_DASH   1<<8
#define X_EMARK   1<<9

Typedefs

typedef struct _XList XList
typedef struct _XTag XTag
typedef struct _XAttribute XAttribute
typedef struct _XTagParser XTagParser

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static xml_reader_tReaderCreate (xml_t *, stream_t *)
static void ReaderDelete (xml_reader_t *)
static int ReaderRead (xml_reader_t *)
static int ReaderNodeType (xml_reader_t *)
static char * ReaderName (xml_reader_t *)
static char * ReaderValue (xml_reader_t *)
static int ReaderNextAttr (xml_reader_t *)
static int ReaderUseDTD (xml_reader_t *, bool)
static void CatalogLoad (xml_t *, const char *)
static void CatalogAdd (xml_t *, const char *, const char *, const char *)
static XTagxtag_new_parse (const char *, int)
static char * xtag_get_name (XTag *)
static XTagxtag_first_child (XTag *, char *)
static XTagxtag_next_child (XTag *, char *)
static void xtag_free (XTag *)
static XListxlist_append (XList *list, void *data)
static void xlist_free (XList *list)
static int xtag_cin (char c, int char_class)
static int xtag_index (XTagParser *parser, int char_class)
static void xtag_skip_over (XTagParser *parser, int char_class)
static void xtag_skip_whitespace (XTagParser *parser)
static char * xtag_slurp_to (XTagParser *parser, int good_end, int bad_end)
static int xtag_assert_and_pass (XTagParser *parser, int char_class)
static char * xtag_slurp_quoted (XTagParser *parser)
static XAttributextag_parse_attribute (XTagParser *parser)
static XTagxtag_parse_tag (XTagParser *parser)

Define Documentation

#define X_CLOSETAG   1<<2

#define X_DASH   1<<8

Referenced by xtag_cin(), and xtag_parse_tag().

#define X_DQUOTE   1<<3

Referenced by xtag_cin(), and xtag_slurp_quoted().

#define X_EMARK   1<<9

Referenced by xtag_cin(), and xtag_parse_tag().

#define X_EQUAL   1<<5

Referenced by xtag_cin(), and xtag_parse_attribute().

#define X_NONE   0

Referenced by xtag_parse_tag().

#define X_OPENTAG   1<<1

Referenced by xtag_cin(), and xtag_parse_tag().

#define X_QMARK   1<<7

Referenced by xtag_cin(), and xtag_parse_tag().

#define X_SLASH   1<<6

#define X_SQUOTE   1<<4

Referenced by xtag_cin(), and xtag_slurp_quoted().

#define X_WHITESPACE   1<<0


Typedef Documentation

typedef struct _XAttribute XAttribute

typedef struct _XList XList

typedef struct _XTag XTag

typedef struct _XTagParser XTagParser


Function Documentation

static void CatalogAdd ( xml_t p_xml,
const char *  psz_arg1,
const char *  psz_arg2,
const char *  psz_filename 
) [static]

References VLC_UNUSED.

static void CatalogLoad ( xml_t p_xml,
const char *  psz_filename 
) [static]

References msg_Dbg, and VLC_UNUSED.

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Status of this demuxer: Real Media format -----------------.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static xml_reader_t * ReaderCreate ( xml_t p_xml,
stream_t s 
) [static]

static void ReaderDelete ( xml_reader_t p_reader  )  [static]

static char * ReaderName ( xml_reader_t p_reader  )  [static]

static int ReaderNextAttr ( xml_reader_t p_reader  )  [static]

static int ReaderNodeType ( xml_reader_t p_reader  )  [static]

static int ReaderRead ( xml_reader_t p_reader  )  [static]

static int ReaderUseDTD ( xml_reader_t p_reader,
bool  b_use 
) [static]

References VLC_EGENERIC, and VLC_UNUSED.

static char * ReaderValue ( xml_reader_t p_reader  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static XList* xlist_append ( XList list,
void *  data 
) [static]

static void xlist_free ( XList list  )  [static]

References _XList::next.

Referenced by xtag_free().

static int xtag_assert_and_pass ( XTagParser parser,
int  char_class 
) [static]

static int xtag_cin ( char  c,
int  char_class 
) [static]

static XTag * xtag_first_child ( XTag xtag,
char *  name 
) [static]

static void xtag_free ( XTag xtag  )  [static]

static char * xtag_get_name ( XTag xtag  )  [static]

References _XTag::name.

Referenced by ReaderName().

static int xtag_index ( XTagParser parser,
int  char_class 
) [static]

static XTag * xtag_new_parse ( const char *  s,
int  n 
) [static]

static XTag * xtag_next_child ( XTag xtag,
char *  name 
) [static]

static XAttribute* xtag_parse_attribute ( XTagParser parser  )  [static]

static XTag* xtag_parse_tag ( XTagParser parser  )  [static]

static void xtag_skip_over ( XTagParser parser,
int  char_class 
) [static]

static void xtag_skip_whitespace ( XTagParser parser  )  [static]

static char* xtag_slurp_quoted ( XTagParser parser  )  [static]

static char* xtag_slurp_to ( XTagParser parser,
int  good_end,
int  bad_end 
) [static]


Generated on Tue May 25 08:05:26 2010 for VLC by  doxygen 1.5.6