|
VLC
2.1.0-git
|

Functions | |
| void | vlc_epg_Init (vlc_epg_t *p_epg, const char *psz_name) |
| It initializes a vlc_epg_t. | |
| void | vlc_epg_Clean (vlc_epg_t *p_epg) |
| It releases all resources associated to a vlc_epg_t. | |
| 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) |
| It creates and appends a new vlc_epg_event_t to a vlc_epg_t. | |
| vlc_epg_t * | vlc_epg_New (const char *psz_name) |
| It creates a new vlc_epg_t*. | |
| void | vlc_epg_Delete (vlc_epg_t *p_epg) |
| It releases a vlc_epg_t*. | |
| 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. | |
| 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. | |
| 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 | ||
| ) |
It creates and appends a new vlc_epg_event_t to a vlc_epg_t.
References vlc_epg_event_t::i_duration, vlc_epg_t::i_event, vlc_epg_event_t::i_start, vlc_epg_t::pp_event, vlc_epg_event_t::psz_description, vlc_epg_event_t::psz_name, vlc_epg_event_t::psz_short_description, strdup(), and TAB_APPEND.
Referenced by CmdInitControl().
| void vlc_epg_Clean | ( | vlc_epg_t * | p_epg | ) |
It releases all resources associated to a vlc_epg_t.
References vlc_epg_t::i_event, vlc_epg_t::pp_event, vlc_epg_event_t::psz_description, vlc_epg_event_t::psz_name, vlc_epg_t::psz_name, vlc_epg_event_t::psz_short_description, and TAB_CLEAN.
Referenced by vlc_epg_Delete().
| void vlc_epg_Delete | ( | vlc_epg_t * | p_epg | ) |
It releases a vlc_epg_t*.
References vlc_epg_Clean().
Referenced by CmdCleanControl(), input_item_Release(), OSDEpgDestroy(), and vout_OSDEpg().
| 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.
References vlc_epg_t::i_event, vlc_epg_t::p_current, vlc_epg_t::pp_event, vlc_epg_t::psz_name, strdup(), and TAB_INIT.
Referenced by vlc_epg_New().
It merges all the event of p_src and p_dst into p_dst.
p_src is not modified.
References vlc_epg_event_t::i_duration, vlc_epg_t::i_event, vlc_epg_event_t::i_start, vlc_epg_t::p_current, vlc_epg_t::pp_event, vlc_epg_event_t::psz_description, vlc_epg_event_t::psz_name, vlc_epg_event_t::psz_short_description, strdup(), TAB_INSERT, TAB_REMOVE, and vlc_epg_SetCurrent().
Referenced by input_item_SetEpg(), and vout_OSDEpg().
| 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.
References vlc_epg_Init().
Referenced by CmdInitControl(), input_item_SetEpg(), and vout_OSDEpg().
| 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.
References vlc_epg_t::i_event, vlc_epg_event_t::i_start, vlc_epg_t::p_current, and vlc_epg_t::pp_event.
Referenced by CmdInitControl(), input_item_SetEpgOffline(), and vlc_epg_Merge().
1.8.1.2