Commit ebd80034 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Add a bunch of \file doxygen comments

parent d3c3e6a8
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_ACCESS_H #ifndef VLC_ACCESS_H
#define VLC_ACCESS_H 1 #define VLC_ACCESS_H 1
/**
* \file
* This file defines functions and definitions for access object
*/
#include <vlc_block.h> #include <vlc_block.h>
/** /**
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_AOUT_H #ifndef VLC_AOUT_H
#define VLC_AOUT_H 1 #define VLC_AOUT_H 1
/**
* \file
* This file defines functions, structures and macros for audio output object
*/
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
# endif # endif
...@@ -86,7 +91,6 @@ typedef int32_t vlc_fixed_t; ...@@ -86,7 +91,6 @@ typedef int32_t vlc_fixed_t;
#define FIXED32_MAX ((vlc_fixed_t) +0x7fffffffL) #define FIXED32_MAX ((vlc_fixed_t) +0x7fffffffL)
#define FIXED32_ONE ((vlc_fixed_t) 0x10000000) #define FIXED32_ONE ((vlc_fixed_t) 0x10000000)
/* /*
* Channels descriptions * Channels descriptions
*/ */
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_ARRAYS_H_ #ifndef VLC_ARRAYS_H_
#define VLC_ARRAYS_H_ #define VLC_ARRAYS_H_
/**
* \file
* This file defines functions, structures and macros for handling arrays in vlc
*/
/** /**
* Simple dynamic array handling. Array is realloced at each insert/removal * Simple dynamic array handling. Array is realloced at each insert/removal
*/ */
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_BITS_H #ifndef VLC_BITS_H
#define VLC_BITS_H 1 #define VLC_BITS_H 1
/**
* \file
* This file defines functions, structures for handling streams of bits in vlc
*/
typedef struct bs_s typedef struct bs_s
{ {
uint8_t *p_start; uint8_t *p_start;
...@@ -40,14 +45,17 @@ static inline void bs_init( bs_t *s, void *p_data, int i_data ) ...@@ -40,14 +45,17 @@ static inline void bs_init( bs_t *s, void *p_data, int i_data )
s->p_end = s->p + i_data; s->p_end = s->p + i_data;
s->i_left = 8; s->i_left = 8;
} }
static inline int bs_pos( bs_t *s ) static inline int bs_pos( bs_t *s )
{ {
return( 8 * ( s->p - s->p_start ) + 8 - s->i_left ); return( 8 * ( s->p - s->p_start ) + 8 - s->i_left );
} }
static inline int bs_eof( bs_t *s ) static inline int bs_eof( bs_t *s )
{ {
return( s->p >= s->p_end ? 1: 0 ); return( s->p >= s->p_end ? 1: 0 );
} }
static inline uint32_t bs_read( bs_t *s, int i_count ) static inline uint32_t bs_read( bs_t *s, int i_count )
{ {
static const uint32_t i_mask[33] = static const uint32_t i_mask[33] =
...@@ -167,6 +175,7 @@ static inline void bs_align( bs_t *s ) ...@@ -167,6 +175,7 @@ static inline void bs_align( bs_t *s )
s->p++; s->p++;
} }
} }
static inline void bs_align_0( bs_t *s ) static inline void bs_align_0( bs_t *s )
{ {
if( s->i_left != 8 ) if( s->i_left != 8 )
...@@ -174,6 +183,7 @@ static inline void bs_align_0( bs_t *s ) ...@@ -174,6 +183,7 @@ static inline void bs_align_0( bs_t *s )
bs_write( s, s->i_left, 0 ); bs_write( s, s->i_left, 0 );
} }
} }
static inline void bs_align_1( bs_t *s ) static inline void bs_align_1( bs_t *s )
{ {
while( s->i_left != 8 ) while( s->i_left != 8 )
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#ifndef VLC_BLOCK_H #ifndef VLC_BLOCK_H
#define VLC_BLOCK_H 1 #define VLC_BLOCK_H 1
/**
* \file
* This file implements functions and structures to handle blocks of data in vlc
*
*/
/**************************************************************************** /****************************************************************************
* block: * block:
**************************************************************************** ****************************************************************************
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef VLC_CHARSET_H #ifndef VLC_CHARSET_H
#define VLC_CHARSET_H 1 #define VLC_CHARSET_H 1
/**
* \file
* This files handles locale conversions in vlc
*/
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_CODECS_H #ifndef VLC_CODECS_H
#define VLC_CODECS_H 1 #define VLC_CODECS_H 1
/**
* \file
* This file defines codec related structures needed by the demuxers and decoders
*/
#ifdef HAVE_ATTRIBUTE_PACKED #ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__)) # define ATTR_PACKED __attribute__((__packed__))
#else #else
......
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
/**
* \file
* This file defines of values used in interface, vout, aout and vlc core functions.
*/
/* Conventions regarding names of symbols and variables /* Conventions regarding names of symbols and variables
* ---------------------------------------------------- * ----------------------------------------------------
* *
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#ifndef VLC_CONFIGURATION_H #ifndef VLC_CONFIGURATION_H
#define VLC_CONFIGURATION_H 1 #define VLC_CONFIGURATION_H 1
/**
* \file
* This file describes the programming interface for the configuration module.
* It includes functions allowing to declare, get or set configuration options.
*/
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_DEMUX_H #ifndef VLC_DEMUX_H
#define VLC_DEMUX_H 1 #define VLC_DEMUX_H 1
/**
* \file
* This files defines functions and structures used by demux objects in vlc
*/
#include <vlc_es.h> #include <vlc_es.h>
#include <vlc_stream.h> #include <vlc_stream.h>
#include <vlc_es_out.h> #include <vlc_es_out.h>
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_DEVICES_H #ifndef VLC_DEVICES_H
#define VLC_DEVICES_H 1 #define VLC_DEVICES_H 1
/**
* \file
* This file implements functions, structures for probing devices (DVD, CD, VCD)
*/
enum enum
{ {
DEVICE_CAN_DVD, DEVICE_CAN_DVD,
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_EPG_H #ifndef VLC_EPG_H
#define VLC_EPG_H 1 #define VLC_EPG_H 1
/**
* \file
* This file defines functions and structures for storing dvb epg information
*/
typedef struct typedef struct
{ {
int64_t i_start; /* Interpreted as a value return by time() */ int64_t i_start; /* Interpreted as a value return by time() */
...@@ -50,6 +55,7 @@ static inline void vlc_epg_Init( vlc_epg_t *p_epg, const char *psz_name ) ...@@ -50,6 +55,7 @@ static inline void vlc_epg_Init( vlc_epg_t *p_epg, const char *psz_name )
p_epg->p_current = NULL; p_epg->p_current = NULL;
TAB_INIT( p_epg->i_event, p_epg->pp_event ); TAB_INIT( p_epg->i_event, p_epg->pp_event );
} }
static inline void vlc_epg_Clean( vlc_epg_t *p_epg ) static inline void vlc_epg_Clean( vlc_epg_t *p_epg )
{ {
int i; int i;
...@@ -64,6 +70,7 @@ static inline void vlc_epg_Clean( vlc_epg_t *p_epg ) ...@@ -64,6 +70,7 @@ static inline void vlc_epg_Clean( vlc_epg_t *p_epg )
TAB_CLEAN( p_epg->i_event, p_epg->pp_event ); TAB_CLEAN( p_epg->i_event, p_epg->pp_event );
free( p_epg->psz_name ); free( p_epg->psz_name );
} }
static inline void vlc_epg_AddEvent( vlc_epg_t *p_epg, int64_t i_start, int i_duration, static inline void vlc_epg_AddEvent( vlc_epg_t *p_epg, int64_t i_start, int i_duration,
const char *psz_name, const char *psz_short_description, const char *psz_description ) const char *psz_name, const char *psz_short_description, const char *psz_description )
{ {
...@@ -85,11 +92,13 @@ static inline vlc_epg_t *vlc_epg_New( const char *psz_name ) ...@@ -85,11 +92,13 @@ static inline vlc_epg_t *vlc_epg_New( const char *psz_name )
vlc_epg_Init( p_epg, psz_name ); vlc_epg_Init( p_epg, psz_name );
return p_epg; return p_epg;
} }
static inline void vlc_epg_Delete( vlc_epg_t *p_epg ) static inline void vlc_epg_Delete( vlc_epg_t *p_epg )
{ {
vlc_epg_Clean( p_epg ); vlc_epg_Clean( p_epg );
free( p_epg ); free( p_epg );
} }
static inline void vlc_epg_SetCurrent( vlc_epg_t *p_epg, int64_t i_start ) static inline void vlc_epg_SetCurrent( vlc_epg_t *p_epg, int64_t i_start )
{ {
int i; int i;
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_ES_OUT_H #ifndef VLC_ES_OUT_H
#define VLC_ES_OUT_H 1 #define VLC_ES_OUT_H 1
/**
* \file
* This file defines functions and structures for handling es_out in stream output
*/
/** /**
* \defgroup es out Es Out * \defgroup es out Es Out
* @{ * @{
...@@ -105,10 +110,12 @@ static inline es_out_id_t * es_out_Add( es_out_t *out, es_format_t *fmt ) ...@@ -105,10 +110,12 @@ static inline es_out_id_t * es_out_Add( es_out_t *out, es_format_t *fmt )
{ {
return out->pf_add( out, fmt ); return out->pf_add( out, fmt );
} }
static inline void es_out_Del( es_out_t *out, es_out_id_t *id ) static inline void es_out_Del( es_out_t *out, es_out_id_t *id )
{ {
out->pf_del( out, id ); out->pf_del( out, id );
} }
static inline int es_out_Send( es_out_t *out, es_out_id_t *id, static inline int es_out_Send( es_out_t *out, es_out_id_t *id,
block_t *p_block ) block_t *p_block )
{ {
...@@ -119,6 +126,7 @@ static inline int es_out_vaControl( es_out_t *out, int i_query, va_list args ) ...@@ -119,6 +126,7 @@ static inline int es_out_vaControl( es_out_t *out, int i_query, va_list args )
{ {
return out->pf_control( out, i_query, args ); return out->pf_control( out, i_query, args );
} }
static inline int es_out_Control( es_out_t *out, int i_query, ... ) static inline int es_out_Control( es_out_t *out, int i_query, ... )
{ {
va_list args; va_list args;
......
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
/**
* \file
* This file implements gcrypt support functions in vlc
*/
#ifdef LIBVLC_USE_PTHREAD #ifdef LIBVLC_USE_PTHREAD
/** /**
* If possible, use gcrypt-provided thread implementation. This is so that * If possible, use gcrypt-provided thread implementation. This is so that
...@@ -26,6 +31,7 @@ ...@@ -26,6 +31,7 @@
GCRY_THREAD_OPTION_PTHREAD_IMPL; GCRY_THREAD_OPTION_PTHREAD_IMPL;
# define gcry_threads_vlc gcry_threads_pthread # define gcry_threads_vlc gcry_threads_pthread
#else #else
/** /**
* gcrypt thread option VLC implementation * gcrypt thread option VLC implementation
*/ */
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_HTTPD_H #ifndef VLC_HTTPD_H
#define VLC_HTTPD_H 1 #define VLC_HTTPD_H 1
/**
* \file
* This file defines functions, structures, enums and macros for httpd functionality in vlc.
*/
enum enum
{ {
HTTPD_MSG_NONE, HTTPD_MSG_NONE,
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_IMAGE_H #ifndef VLC_IMAGE_H
#define VLC_IMAGE_H 1 #define VLC_IMAGE_H 1
/**
* \file
* This file defines functions and structures for image conversions in vlc
*/
#include <vlc_vout.h> #include <vlc_vout.h>
# ifdef __cplusplus # ifdef __cplusplus
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#ifndef VLC__INPUT_H #ifndef VLC__INPUT_H
#define VLC__INPUT_H 1 #define VLC__INPUT_H 1
/**
* \file
* This file defines functions, structures and enums for input objects in vlc
*/
#include <vlc_es.h> #include <vlc_es.h>
#include <vlc_meta.h> #include <vlc_meta.h>
#include <vlc_epg.h> #include <vlc_epg.h>
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_INTF_STRINGS_H #ifndef VLC_INTF_STRINGS_H
#define VLC_INTF_STRINGS_H 1 #define VLC_INTF_STRINGS_H 1
/**
* \file
* This file defines a number of strings used in user interfaces
*/
/*************** Open dialogs **************/ /*************** Open dialogs **************/
#define I_OP_OPF N_("Quick &Open File...") #define I_OP_OPF N_("Quick &Open File...")
......
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
/**
* \file
* This file defines functions and structures for iso639 language codes
*/
struct iso639_lang_t struct iso639_lang_t
{ {
const char * psz_eng_name; /* Description in English */ const char * psz_eng_name; /* Description in English */
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#ifndef VLC_KEYS_H #ifndef VLC_KEYS_H
#define VLC_KEYS_H 1 #define VLC_KEYS_H 1
/**
* \file
* This file defines keys, functions and structures for hotkey handling in vlc
*
*/
#define KEY_MODIFIER 0xFF000000 #define KEY_MODIFIER 0xFF000000
#define KEY_MODIFIER_ALT 0x01000000 #define KEY_MODIFIER_ALT 0x01000000
#define KEY_MODIFIER_SHIFT 0x02000000 #define KEY_MODIFIER_SHIFT 0x02000000
......
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
/**
* \file
* This file defines libvlc_int_t internal libvlc instance
*/
TYPEDEF_ARRAY(input_item_t*, input_item_array_t); TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
/***************************************************************************** /*****************************************************************************
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef VLC_MD5_H #ifndef VLC_MD5_H
# define VLC_MD5_H # define VLC_MD5_H
/**
* \file
* This file defines functions and structures for handling md5 checksums
*/
/***************************************************************************** /*****************************************************************************
* md5_s: MD5 message structure * md5_s: MD5 message structure
***************************************************************************** *****************************************************************************
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
#ifndef VLC_MESSAGES_H_ #ifndef VLC_MESSAGES_H_
#define VLC_MESSAGES_H_ #define VLC_MESSAGES_H_
/**
* \file
* This file defines structures and functions to handle messages and statistics gathering
*/
#include <stdarg.h> #include <stdarg.h>
/** /**
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#ifndef VLC_META_H #ifndef VLC_META_H
#define VLC_META_H 1 #define VLC_META_H 1
/**
* \file
* This file defines functions and structures for stream meta-data in vlc
*
*/
#include <vlc_arrays.h> #include <vlc_arrays.h>
typedef enum vlc_meta_type_t typedef enum vlc_meta_type_t
......
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
/**
* \file
* This file defines functions for modules in vlc
*/
/***************************************************************************** /*****************************************************************************
* Exported functions. * Exported functions.
*****************************************************************************/ *****************************************************************************/
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
#ifndef VLC_NETWORK_H #ifndef VLC_NETWORK_H
# define VLC_NETWORK_H # define VLC_NETWORK_H
/**
* \file
* This file defines interface to communicate with network plug-ins
*/
#if defined( WIN32 ) #if defined( WIN32 )
# if !defined(UNDER_CE) # if !defined(UNDER_CE)
# define _NO_OLDNAMES 1 # define _NO_OLDNAMES 1
......
...@@ -36,6 +36,11 @@ ...@@ -36,6 +36,11 @@
extern "C" { extern "C" {
# endif # endif
/**
* \file
* This file defines SPU subpicture and OSD functions and object types.
*/
/********************************************************************** /**********************************************************************
* Base SPU structures * Base SPU structures
**********************************************************************/ **********************************************************************/
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef LIBVLC_MODULES_MACROS_H #ifndef LIBVLC_MODULES_MACROS_H
# define LIBVLC_MODULES_MACROS_H 1 # define LIBVLC_MODULES_MACROS_H 1
/**
* \file
* This file implements plugin (module) macros used to define a vlc module.
*/
/***************************************************************************** /*****************************************************************************
* If we are not within a module, assume we're in the vlc core. * If we are not within a module, assume we're in the vlc core.
*****************************************************************************/ *****************************************************************************/
......
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
#ifndef VLC_RAND_H #ifndef VLC_RAND_H
# define VLC_RAND_H # define VLC_RAND_H
/**
* \file
* This file defined random number generator function in vlc
*/
VLC_EXPORT( void, vlc_rand_bytes, (void *buf, size_t len) ); VLC_EXPORT( void, vlc_rand_bytes, (void *buf, size_t len) );
#endif #endif
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_SERVICES_DISCOVERY_H_ #ifndef VLC_SERVICES_DISCOVERY_H_
#define VLC_SERVICES_DISCOVERY_H_ #define VLC_SERVICES_DISCOVERY_H_
/**
* \file
* This file functions and structures for service discovery in vlc
*/
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
# endif # endif
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
#ifndef VLC_SOUT_H_ #ifndef VLC_SOUT_H_
#define VLC_SOUT_H_ #define VLC_SOUT_H_
/**
* \file
* This file defines structures and functions for stream ouput in vlc
*/
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#include <vlc_block.h> #include <vlc_block.h>
/**
* \file
* This file defines structures and functions for stream (between access and demux) descriptor in vlc
*/
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
# endif # endif
...@@ -122,7 +127,6 @@ VLC_EXPORT( stream_t *,__stream_DemuxNew, ( vlc_object_t *p_obj, const char *psz ...@@ -122,7 +127,6 @@ VLC_EXPORT( stream_t *,__stream_DemuxNew, ( vlc_object_t *p_obj, const char *psz
VLC_EXPORT( void, stream_DemuxSend, ( stream_t *s, block_t *p_block ) ); VLC_EXPORT( void, stream_DemuxSend, ( stream_t *s, block_t *p_block ) );
VLC_EXPORT( void, stream_DemuxDelete,( stream_t *s ) ); VLC_EXPORT( void, stream_DemuxDelete,( stream_t *s ) );
#define stream_MemoryNew( a, b, c, d ) __stream_MemoryNew( VLC_OBJECT(a), b, c, d ) #define stream_MemoryNew( a, b, c, d ) __stream_MemoryNew( VLC_OBJECT(a), b, c, d )
VLC_EXPORT( stream_t *,__stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buffer, int64_t i_size, bool i_preserve_memory ) ); VLC_EXPORT( stream_t *,__stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buffer, int64_t i_size, bool i_preserve_memory ) );
#define stream_UrlNew( a, b ) __stream_UrlNew( VLC_OBJECT(a), b ) #define stream_UrlNew( a, b ) __stream_UrlNew( VLC_OBJECT(a), b )
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_STRINGS_H #ifndef VLC_STRINGS_H
#define VLC_STRINGS_H 1 #define VLC_STRINGS_H 1
/**
* \file
* This file defines functions and structures handling misc strings
*/
/** /**
* \defgroup strings Strings * \defgroup strings Strings
* @{ * @{
......
...@@ -28,6 +28,12 @@ ...@@ -28,6 +28,12 @@
#ifndef VLC_THREADS_H_ #ifndef VLC_THREADS_H_
#define VLC_THREADS_H_ #define VLC_THREADS_H_
/**
* \file
* This file defines structures and functions for handling threads in vlc
*
*/
#if defined( UNDER_CE ) #if defined( UNDER_CE )
/* WinCE API */ /* WinCE API */
#elif defined( WIN32 ) #elif defined( WIN32 )
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
#ifndef VLC_TLS_H #ifndef VLC_TLS_H
# define VLC_TLS_H # define VLC_TLS_H
/**
* \file
* This file defines Transport Layer Security API (TLS) in vlc
*/
# include <vlc_network.h> # include <vlc_network.h>
typedef struct tls_server_sys_t tls_server_sys_t; typedef struct tls_server_sys_t tls_server_sys_t;
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef VLC_UPDATE_H #ifndef VLC_UPDATE_H
#define VLC_UPDATE_H #define VLC_UPDATE_H
/**
* \file
* This file defines update API in vlc
*/
/** /**
* \defgroup update Update * \defgroup update Update
* *
...@@ -46,7 +51,6 @@ struct update_release_t ...@@ -46,7 +51,6 @@ struct update_release_t
char* psz_desc; ///< Release description char* psz_desc; ///< Release description
}; };
#endif /* UPDATE_CHECK */ #endif /* UPDATE_CHECK */
typedef struct update_release_t update_release_t; typedef struct update_release_t update_release_t;
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef VLC_URL_H #ifndef VLC_URL_H
# define VLC_URL_H # define VLC_URL_H
/**
* \file
* This file defines functions for manipulating URL in vlc
*/
struct vlc_url_t struct vlc_url_t
{ {
char *psz_protocol; char *psz_protocol;
...@@ -192,7 +197,6 @@ static inline void vlc_UrlClean( vlc_url_t *url ) ...@@ -192,7 +197,6 @@ static inline void vlc_UrlClean( vlc_url_t *url )
url->psz_buffer = NULL; url->psz_buffer = NULL;
} }
static inline char *vlc_UrlEncode( const char *psz_url ) static inline char *vlc_UrlEncode( const char *psz_url )
{ {
/* FIXME: do not encode / : ? and & _when_ not needed */ /* FIXME: do not encode / : ? and & _when_ not needed */
...@@ -227,5 +231,4 @@ static inline int vlc_UrlIsNotEncoded( const char *psz_url ) ...@@ -227,5 +231,4 @@ static inline int vlc_UrlIsNotEncoded( const char *psz_url )
return 0; /* looks fine - but maybe it is not encoded */ return 0; /* looks fine - but maybe it is not encoded */
} }
#endif #endif
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
#ifndef VLC_VARIABLES_H #ifndef VLC_VARIABLES_H
#define VLC_VARIABLES_H 1 #define VLC_VARIABLES_H 1
/**
* \file
* This file defines functions and structures for dynamic variables in vlc
*/
/** /**
* \defgroup variables Variables * \defgroup variables Variables
* *
......
...@@ -25,8 +25,21 @@ ...@@ -25,8 +25,21 @@
#ifndef VLC_VLM_H #ifndef VLC_VLM_H
#define VLC_VLM_H 1 #define VLC_VLM_H 1
/**
* \file
* This file defines VLM core functions and structures in vlc
*/
#include <vlc_input.h> #include <vlc_input.h>
/**
* \defgroup server VLM
* VLM is the server core in vlc that allows streaming of multiple media streams
* at the same time. It provides broadcast, schedule and video on demand features
* for streaming using several streaming and network protocols.
* @{
*/
/* VLM media */ /* VLM media */
typedef struct typedef struct
{ {
...@@ -270,4 +283,6 @@ static inline void vlm_media_instance_Delete( vlm_media_instance_t *p_instance ) ...@@ -270,4 +283,6 @@ static inline void vlm_media_instance_Delete( vlm_media_instance_t *p_instance )
} }
#endif #endif
/**@}*/
#endif #endif
...@@ -24,6 +24,17 @@ ...@@ -24,6 +24,17 @@
#ifndef VLC_VOD_H #ifndef VLC_VOD_H
#define VLC_VOD_H 1 #define VLC_VOD_H 1
/**
* \file
* This file defines an interface for VOD server modules in vlc
*/
/**
* \defgroup server Video On Demand (VOD)
* Video On Demand (VOD) functionality is provided from VLM.
* @{
*/
struct vod_t struct vod_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
...@@ -67,4 +78,6 @@ enum vod_query_e ...@@ -67,4 +78,6 @@ enum vod_query_e
VOD_MEDIA_FORWARD, /* arg1= double res= */ VOD_MEDIA_FORWARD, /* arg1= double res= */
}; };
/**}*/
#endif #endif
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#ifndef VLC_VOUT_H_ #ifndef VLC_VOUT_H_
#define VLC_VOUT_H_ 1 #define VLC_VOUT_H_ 1
/**
* \file
* This file defines common video output structures and functions in vlc
*/
#include <vlc_es.h> #include <vlc_es.h>
#include <vlc_filter.h> #include <vlc_filter.h>
......
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
#ifndef LIBVLCCORE_WINDOW_H #ifndef LIBVLCCORE_WINDOW_H
# define LIBVLCCORE_WINDOW_H 1 # define LIBVLCCORE_WINDOW_H 1
/**
* \file
* This file defines functions and structures for output windows
*/
# include <stdarg.h> # include <stdarg.h>
typedef struct vout_window_t vout_window_t; typedef struct vout_window_t vout_window_t;
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#ifndef VLC_XML_H #ifndef VLC_XML_H
#define VLC_XML_H #define VLC_XML_H
/**
* \file
* This file defines functions and structures to handle xml tags in vlc
*
*/
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment