Data Structures | |
struct | EPGServiceRef_s |
Structure used to identify a service in the EPG database. More... | |
struct | EPGEvent_s |
Structure used to describe an EPG event. More... | |
struct | EPGEventRating_s |
Structure describing a rating for an event. More... | |
struct | EPGEventDetail_s |
Structure describing a detail of an event. More... | |
Defines | |
#define | EPG_EVENT_DETAIL_TITLE "title" |
Constant for an events title. | |
#define | EPG_EVENT_DETAIL_DESCRIPTION "description" |
Constant for an events descripton. | |
Typedefs | |
typedef struct EPGServiceRef_s | EPGServiceRef_t |
typedef struct EPGEvent_s | EPGEvent_t |
typedef struct EPGEventRating_s | EPGEventRating_t |
typedef struct EPGEventDetail_s | EPGEventDetail_t |
typedef void * | EPGDBaseEnumerator_t |
Handle to enumerate events. | |
Functions | |
int | EPGDBaseInit (int adapter) |
int | EPGDBaseDeInit (void) |
int | EPGDBaseTransactionStart (void) |
int | EPGDBaseTransactionCommit (void) |
int | EPGDBaseEventAdd (EPGEvent_t *event) |
int | EPGDBaseEventRemove (EPGServiceRef_t *serviceRef, unsigned int eventId) |
int | EPGDBaseEventCountAll () |
int | EPGDBaseEventCountService (EPGServiceRef_t *serviceRef) |
EPGDBaseEnumerator_t | EPGDBaseEventEnumeratorGetAll () |
EPGDBaseEnumerator_t | EPGDBaseEventEnumeratorGetService (EPGServiceRef_t *serviceRef) |
EPGEvent_t * | EPGDBaseEventGetNext (EPGDBaseEnumerator_t enumerator) |
int | EPGDBaseRatingAdd (EPGServiceRef_t *serviceRef, unsigned int eventId, char *system, char *rating) |
int | EPGDBaseRatingRemoveAll (EPGServiceRef_t *serviceRef, unsigned int eventId) |
int | EPGDBaseRatingCount (EPGServiceRef_t *serviceRef, unsigned int eventId) |
EPGDBaseEnumerator_t | EPGDBaseRatingEnumeratorGet (EPGServiceRef_t *serviceRef, unsigned int eventId) |
EPGEventRating_t * | EPGDBaseRatingGetNext (EPGDBaseEnumerator_t enumerator) |
int | EPGDBaseDetailAdd (EPGServiceRef_t *serviceRef, unsigned int eventId, char *lang, char *name, char *value) |
int | EPGDBaseDetailRemoveAll (EPGServiceRef_t *serviceRef, unsigned int eventId) |
int | EPGDBaseDetailCount (EPGServiceRef_t *serviceRef, unsigned int eventId) |
EPGDBaseEnumerator_t | EPGDBaseDetailGet (EPGServiceRef_t *serviceRef, unsigned int eventId, char *name) |
EPGDBaseEnumerator_t | EPGDBaseDetailEnumeratorGet (EPGServiceRef_t *serviceRef, unsigned int eventId) |
EPGEventDetail_t * | EPGDBaseDetailGetNext (EPGDBaseEnumerator_t enumerator) |
void | EPGDBaseEnumeratorDestroy (EPGDBaseEnumerator_t enumerator) |
Event information older than 24 hours is removed by a thread that runs every hour.
int EPGDBaseDeInit | ( | void | ) |
For internal use only.
Deinitialises the EPG database.
int EPGDBaseInit | ( | int | adapter | ) |
For internal use only.
Initialises the EPG database for a specific adapter.
adapter | The adapter number to initialise the database for. |