|
MHEG5 1.0
DTVKit MHEG5 1.0 API Documentation
|
Persistent storage module. The engine provides a persistent storage for 1024 bytes of data. Data is lost when receiver is is in stand-by or off. The file name used to access this storage is of the form "ram://<name>". It is the responsibility of the DVB to arrange a practice for the use of <name>, such that there are no accidental collisions of file names. When writing a file to persistent storage the receiver executes the following steps: More...
#include "mh5base.h"Go to the source code of this file.
Functions | |
| MHEG5Bool | MHEG5nvmWrite (MHEG5String fn, void *buf, MHEG5Int len) |
| Write a file to the persistent store. More... | |
| MHEG5Bool | MHEG5nvmRead (MHEG5String fn, void **buf, MHEG5Int *len) |
| Read a file from the persistent store. More... | |
| void | MHEG5nvmInitialise (U32BIT nvmSize) |
| Initialise NVM Storage. More... | |
| void | MHEG5nvmReset (void) |
| Clear all NVM data from the persistent store. More... | |
| void | MHEG5ExitStore (void) |
| destroy Persistent Storage - only really useful on platform like WINDOWS More... | |
Persistent storage module. The engine provides a persistent storage for 1024 bytes of data. Data is lost when receiver is is in stand-by or off. The file name used to access this storage is of the form "ram://<name>". It is the responsibility of the DVB to arrange a practice for the use of <name>, such that there are no accidental collisions of file names. When writing a file to persistent storage the receiver executes the following steps:
| void MHEG5ExitStore | ( | void | ) |
destroy Persistent Storage - only really useful on platform like WINDOWS
| void MHEG5nvmInitialise | ( | U32BIT | nvmSize | ) |
Initialise NVM Storage.
| nvmSize | Size of nvm available |
| MHEG5Bool MHEG5nvmRead | ( | MHEG5String | fn, |
| void ** | buf, | ||
| MHEG5Int * | len | ||
| ) |
Read a file from the persistent store.
| fn | File name specifier. |
| buf | Data variable. |
| len | Data length. |
Read a file from the persistent store.
| fn | File name specifier. |
| buf | Data variable. |
| len | Data length. |
| void MHEG5nvmReset | ( | void | ) |
Clear all NVM data from the persistent store.
| MHEG5Bool MHEG5nvmWrite | ( | MHEG5String | fn, |
| void * | buf, | ||
| MHEG5Int | len | ||
| ) |
Write a file to the persistent store.
| fn | File name specifier. |
| buf | Data variable. |
| len | Data length. |
Write a file to the persistent store.
| fn | File name specifier. |
| buf | Data variable. |
| len | Data length. |