MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions
mh5filegroup.h File Reference

File acceleration for Australia and Souh Africa. More...

#include "fs_types.h"
#include "glue_queue.h"
#include "mh5gate.h"

Go to the source code of this file.

Functions

void FG_Initialise (U32BIT nvmSize)
 Initialise - retrieve data from NVM storage for any file groups and allocate the file group list. More...
 
void FG_Terminate (void)
 Terminate - free data associated with all file groups. More...
 
void FG_NotifyCarouselUnLoaded (H_ObjCarousel hOC)
 Tell File Group that the Object Carousel has been unloaded, so all file groups on this carousel should be removed. More...
 
void FG_NotifyListLoaded (S_DsmccEvent *param)
 Tell File Group that File Groups have loaded in Object Carousel's SRG User Info. More...
 
void FG_NotifyListChanged (S_DsmccEvent *param)
 Tell File Group that File Groups have changed in Object Carousel's SRG User Info. More...
 
void FG_NotifyVersionChanged (S_DsmccEvent *param)
 Tell File Group of version changed for File Group(s) in Object Carousel's SRG User Info. More...
 
E_FsStatus FG_LoadRequest (E_FS_ORIGIN origin, const char *fname, F_FS_CALLBACK cb_func, S_CONTENT *pContent, U8BIT cachePriority)
 Request file from file group stores. More...
 
E_FsStatus FG_FileExists (E_FS_ORIGIN origin, const char *fname)
 Request file from file group stores. More...
 
void FG_FactoryReset (void)
 In the "factory reset", we clear all file groups from cache store. Then re-aquire file groups for the current Object Carousel - if loaded. More...
 

Detailed Description

File acceleration for Australia and Souh Africa.

Date
15/07/2010
Author
Adam Sturtridge

Function Documentation

void FG_FactoryReset ( void  )

In the "factory reset", we clear all file groups from cache store. Then re-aquire file groups for the current Object Carousel - if loaded.

Returns
void
E_FsStatus FG_FileExists ( E_FS_ORIGIN  origin,
const char *  fname 
)

Request file from file group stores.

Parameters
fnamefile name
Returns
n/a
void FG_Initialise ( U32BIT  nvmSize)

Initialise - retrieve data from NVM storage for any file groups and allocate the file group list.

Parameters
nvmSizeSize of NVM available for DSM-CC caching.
Returns
void
E_FsStatus FG_LoadRequest ( E_FS_ORIGIN  origin,
const char *  fname,
F_FS_CALLBACK  cb_func,
S_CONTENT pContent,
U8BIT  cachePriority 
)

Request file from file group stores.

Parameters
fnamefile name
Returns
n/a
void FG_NotifyCarouselUnLoaded ( H_ObjCarousel  hOC)

Tell File Group that the Object Carousel has been unloaded, so all file groups on this carousel should be removed.

Parameters
hOChandle to Object Carousel
Returns
n/a
void FG_NotifyListChanged ( S_DsmccEvent param)

Tell File Group that File Groups have changed in Object Carousel's SRG User Info.

Parameters
paramDsmcc Event data
Returns
n/a
void FG_NotifyListLoaded ( S_DsmccEvent param)

Tell File Group that File Groups have loaded in Object Carousel's SRG User Info.

Parameters
paramDsmcc Event data
Returns
n/a
void FG_NotifyVersionChanged ( S_DsmccEvent param)

Tell File Group of version changed for File Group(s) in Object Carousel's SRG User Info.

Parameters
paramDsmcc Event data
Returns
n/a
void FG_Terminate ( void  )

Terminate - free data associated with all file groups.

Returns
void