QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vlc_epg.h File Reference

Go to the source code of this file.

Classes

struct  vlc_epg_event_t
 
struct  vlc_epg_t
 

Functions

VLC_API void vlc_epg_Init (vlc_epg_t *p_epg, const char *psz_name)
 
VLC_API void vlc_epg_Clean (vlc_epg_t *p_epg)
 
VLC_API 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, uint8_t i_rating)
 
VLC_API vlc_epg_tvlc_epg_New (const char *psz_name) VLC_USED
 
VLC_API void vlc_epg_Delete (vlc_epg_t *p_epg)
 
VLC_API void vlc_epg_SetCurrent (vlc_epg_t *p_epg, int64_t i_start)
 
VLC_API void vlc_epg_Merge (vlc_epg_t *p_dst, const vlc_epg_t *p_src)
 

Detailed Description

This file defines functions and structures for storing dvb epg information

Function Documentation

VLC_API 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,
uint8_t  i_rating 
)

It creates and appends a new vlc_epg_event_t to a vlc_epg_t.

See also
vlc_epg_t for the definitions of the parameters.
VLC_API void vlc_epg_Clean ( vlc_epg_t p_epg)

It releases all resources associated to a vlc_epg_t

VLC_API void vlc_epg_Delete ( vlc_epg_t p_epg)

It releases a vlc_epg_t*.

VLC_API void vlc_epg_Init ( vlc_epg_t p_epg,
const char *  psz_name 
)

It initializes a vlc_epg_t.

You must call vlc_epg_Clean to release the associated resource.

VLC_API void vlc_epg_Merge ( vlc_epg_t p_dst,
const vlc_epg_t p_src 
)

It merges all the event of p_src and p_dst into p_dst.

p_src is not modified.

VLC_API vlc_epg_t* vlc_epg_New ( const char *  psz_name)

It creates a new vlc_epg_t*

You must call vlc_epg_Delete to release the associated resource.

VLC_API void vlc_epg_SetCurrent ( vlc_epg_t p_epg,
int64_t  i_start 
)

It set the current event of a vlc_epg_t given a start time