![]()  | 
  
    MHEG5
    22.3.0
    
   | 
 
True Persistent Storage functions. More...
#include "stdio.h"#include <assert.h>#include <string.h>#include "mh5base.h"#include "mh5tps.h"#include "mh5misc.h"#include "mherrors.h"#include "techtype.h"#include "mheg5_nvm.h"Macros | |
| #define | FILESIZE_MAX 100 | 
| #define | MAX_PATH_LEN 64 | 
Typedefs | |
| typedef S_DvbLocator * | pS_DvbLocator | 
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 (void) | 
| Get the status of the TPS store for the PST resident program. none.  More... | |
| void | MHEG5TpsClose (void) | 
| Close the clear the store and delete the cache none.  More... | |
True Persistent Storage functions.
| MHEG5Bool MHEG5GetTpsStatus | ( | void | ) | 
Get the status of the TPS store for the PST resident program. none.
| void MHEG5TpsClose | ( | void | ) | 
Close the clear the store and delete the cache none.
| MHEG5Bool MHEG5TpsRead | ( | MHEG5String | fn, | 
| void ** | data, | ||
| MHEG5Int * | len | ||
| ) | 
Read a file from the TPS store and pass it back to the application.
| fn | Filename to be read | 
| data | Data read from file | 
| len | Size of data in bytes | 
| void MHEG5TpsSetCurrentService | ( | S_DvbLocator * | pDvbLoc | ) | 
Set current service for application none.
| MHEG5Bool MHEG5TpsWrite | ( | MHEG5String | fn, | 
| void * | data, | ||
| MHEG5Int | len | ||
| ) | 
Write data passed from the application into the TPS stroe.
| fn | Filename to be writen to | 
| data | Data to write to the file | 
| len | Size of data in bytes | 
 1.8.11