![]() |
MHEG5
18.9.0
MHEG5 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...
Go to the source code of this file.
Classes | |
struct | sRamFile |
Macros | |
#define | MAXFILES 32 |
Typedefs | |
typedef struct sRamFile | MHEG5RamFile |
Functions | |
void | MHEG5InitStore (void) |
Initialise Persistent Storage. More... | |
void | MHEG5ResetStore (void) |
destroy Persistent Storage - only really useful on platform like WINDOWS More... | |
MHEG5Bool | MHEG5storageWrite (MHEG5String fn, void *buf, MHEG5Int len) |
Write a file to the persistent store. More... | |
MHEG5Bool | MHEG5storageRead (MHEG5String fn, void **buf, MHEG5Int *len) |
Read a file from the persistent store. 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:
Definition in file mh5storage.c.
#define MAXFILES 32 |
Definition at line 53 of file mh5storage.c.
typedef struct sRamFile MHEG5RamFile |
void MHEG5InitStore | ( | void | ) |
Initialise Persistent Storage.
Definition at line 115 of file mh5storage.c.
void MHEG5ResetStore | ( | void | ) |
destroy Persistent Storage - only really useful on platform like WINDOWS
Definition at line 135 of file mh5storage.c.
MHEG5Bool MHEG5storageRead | ( | MHEG5String | fn, |
void ** | buf, | ||
MHEG5Int * | len | ||
) |
Read a file from the persistent store.
fn | File name specifier. |
buf | Data variable. |
len | Data length. |
Definition at line 297 of file mh5storage.c.
MHEG5Bool MHEG5storageWrite | ( | MHEG5String | fn, |
void * | buf, | ||
MHEG5Int | len | ||
) |
Write a file to the persistent store.
fn | File name specifier. |
buf | Data variable. |
len | Data length. |
Definition at line 164 of file mh5storage.c.