MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5storage.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
46 #ifndef _MH5STORAGE_H_
47 #define _MH5STORAGE_H_
48 
49 /*---includes for this file--------------------------------------------------*/
50 #include "mh5base.h"
51 
52 /*---Constant and macro definitions for public use---------------------------*/
53 
54 /*---Enumerations for public use---------------------------------------------*/
55 
56 /*---Global type defs for public use-----------------------------------------*/
57 
58 /*---Global variable declarations for public use-----------------------------*/
59 
60 /*---Global Function prototypes for public use-------------------------------*/
61 
70 MHEG5Bool MHEG5storageWrite(MHEG5String fn, void *buf, MHEG5Int len);
71 
80 MHEG5Bool MHEG5storageRead(MHEG5String fn, void **buf, MHEG5Int *len);
81 
87 void MHEG5InitStore(void);
88 
94 void MHEG5ResetStore(void);
95 
96 #endif /*_MH5STORAGE_H*/
void MHEG5ResetStore(void)
destroy Persistent Storage - only really useful on platform like WINDOWS
Definition: mh5storage.c:135
Basis MHEG5 data types.
MHEG5Bool MHEG5storageRead(MHEG5String fn, void **buf, MHEG5Int *len)
Read a file from the persistent store.
Definition: mh5storage.c:297
void MHEG5InitStore(void)
Initialise Persistent Storage.
Definition: mh5storage.c:115
Definition: mh5base.h:82
MHEG5Bool MHEG5storageWrite(MHEG5String fn, void *buf, MHEG5Int len)
Write a file to the persistent store.
Definition: mh5storage.c:164