DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
Macros | Functions
ap_init.c File Reference

Initialises STB and creates a task to handle events, then enters idle loop. More...

#include <stdio.h>
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "stbhwos.h"
#include "stbhwav.h"
#include "stberc.h"
#include "stbinit.h"
#include "stbuni.h"
#include "stbdpc.h"
#include "stbheap.h"
#include "stbllist.h"
#include "stbsiflt.h"
#include "stbsitab.h"
#include "ap_dbacc.h"
#include "ap_cntrl.h"
#include "ap_cfg.h"
#include "app_nvm.h"
#include "ap_si.h"
#include "ap_events.h"
#include "app.h"
#include "ap_tmr.h"
#include "stbpvr.h"
#include "ap_pvr.h"
#include "ap_ipadd.h"

Macros

#define DEFAULT_ASCII_TABLE   0
 

Functions

BOOLEAN APP_InitialiseDVB (DVB_EVENT_HANDLER event_handler, E_DVB_INIT_SUBS_TTXT subs_ttxt)
 Main function to initialise the DVB. More...
 
void APP_RegisterUIInfoCallback (ACB_INFO_CALLBACK ui_info_callback)
 
BOOLEAN ACB_GetUIInformation (S_ACB_UI_INFO *info)
 

Detailed Description

Initialises STB and creates a task to handle events, then enters idle loop.

Date
April 2011
Author
Ocean Blue

Function Documentation

BOOLEAN APP_InitialiseDVB ( DVB_EVENT_HANDLER  event_handler,
E_DVB_INIT_SUBS_TTXT  subs_ttxt 
)

Main function to initialise the DVB.

Parameters
event_handlerCallback function used to pass events to the UI. If non-NULL value is passed-in the APP_RegisterDVBEventHandler() is called in order to register the 1st event handler.
subs_ttxtdefines whether DVB subtitles and/or EBU teletext are to be supported
Returns
TRUE if initialisation succeeds, FALSE otherwise.
See Also
APP_RegisterDVBEventHandler