DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
moduleData.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 © 2001 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  *******************************************************************************/
25 #ifndef _MODULEDATA_H_
26 #define _MODULEDATA_H_
27 
28 
29 /*-------------------------------- Includes --------------------------------*/
30 
31 #include "clDsmSystem.h"
32 #include "object.h"
33 #include "defMemUtilsMgd.h" /* -- Default mem type for module */
34 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 /*----------------------------- Exported Macros ----------------------------*/
41 
42 
43 /*------------------------------ Exported Types ----------------------------*/
44 
45 /*------------------------------ Exported Data -----------------------------*/
46 
47 
48 /*--------------------------- Exported Prototypes --------------------------*/
49 
50 E_DscError moduleDataCreate( P_DsmCoreInst idp,
51  U32BIT dataSize, P_ModuleData *phModuleData );
52 
53 void moduleDataDestroy( P_DsmCoreInst idp, P_ModuleData *phModuleData );
54 
55 U32BIT moduleDataFindObject(
56  /*I*/ P_ModuleData pModuleData, U32BIT dataLength, P_ObjectKey pObjectKey,
57  /*O*/ MemPtr *mpObject );
58 
59 MemPtr moduleDataPtr(P_ModuleData pModuleData);
60 MemPtr moduleDataOpen(P_ModuleData pModuleData);
61 void moduleDataClose(P_DsmCoreInst idp, P_ModuleData pModuleData);
62 
63 /*----------------------------------------------------------------------------*/
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 #endif /* _MODULEDATA_H_ */
General include file for clDsm library internal definitions.
Header to the object module - functions/methods accessing data of object messages inside modules...
Defines memory access utils to work with managed (MemMgr) memory.