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

True Persistent Storage functions. More...

#include "mh5base.h"
#include "techtype.h"
#include "dvblocator.h"

Go to the source code of this file.

Functions

void MHEG5TpsSetCurrentService (S_DvbLocator *pDvbLoc)
 Set current service for application none. More...
 
MHEG5Bool MHEG5TpsRead (MHEG5String fn, void **data, MHEG5Int *len)
 Read a file from the TPS store and pass it back to the application. More...
 
MHEG5Bool MHEG5TpsWrite (MHEG5String fn, void *data, MHEG5Int len)
 Write data passed from the application into the TPS stroe. More...
 
MHEG5Bool MHEG5GetTpsStatus ()
 Get the status of the TPS store for the PST resident program. none. More...
 
void MHEG5TpsClose ()
 Close the clear the store and delete the cache none. More...
 

Detailed Description

True Persistent Storage functions.

Date
12/06/2012
Author
Peter Stanton

Function Documentation

MHEG5Bool MHEG5GetTpsStatus ( void  )

Get the status of the TPS store for the PST resident program. none.

Returns
MHEG5True if the store is enabled MHEG5False if it has been disabled by the user
void MHEG5TpsClose ( void  )

Close the clear the store and delete the cache none.

Returns
Nothing
MHEG5Bool MHEG5TpsRead ( MHEG5String  fn,
void **  data,
MHEG5Int *  len 
)

Read a file from the TPS store and pass it back to the application.

Parameters
fnFilename to be read
dataData read from file
lenSize of data in bytes
Returns
MHEG5TRUE if file was read successfully, MHEG5FALSE otherwise
void MHEG5TpsSetCurrentService ( S_DvbLocator pDvbLoc)

Set current service for application none.

Returns
Nothing
MHEG5Bool MHEG5TpsWrite ( MHEG5String  fn,
void *  data,
MHEG5Int  len 
)

Write data passed from the application into the TPS stroe.

Parameters
fnFilename to be writen to
dataData to write to the file
lenSize of data in bytes
Returns
MHEG5TRUE if file was written successfully, MHEG5FALSE otherwise