DSMCC
15.3.1
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * Copyright © 2004 Ocean Blue Software Ltd 00004 * Copyright © 2001 Koninklijke Philips Electronics N.V 00005 * 00006 * This file is part of a DTVKit Software Component 00007 * You are permitted to copy, modify or distribute this file subject to the terms 00008 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00009 * 00010 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00011 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00012 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00013 * 00014 * If you or your organisation is not a member of DTVKit then you have access 00015 * to this source code outside of the terms of the licence agreement 00016 * and you are expected to delete this and any associated files immediately. 00017 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00018 *******************************************************************************/ 00025 #ifndef _MODULEDATA_H_ 00026 #define _MODULEDATA_H_ 00027 00028 00029 /*-------------------------------- Includes --------------------------------*/ 00030 00031 #include "clDsmSystem.h" 00032 #include "object.h" 00033 #include "defMemUtilsMgd.h" /* -- Default mem type for module */ 00034 00035 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif 00039 00040 /*----------------------------- Exported Macros ----------------------------*/ 00041 00042 00043 /*------------------------------ Exported Types ----------------------------*/ 00044 00045 00046 /*------------------------------ Exported Data -----------------------------*/ 00047 00048 00049 /*--------------------------- Exported Prototypes --------------------------*/ 00050 00051 clDsmErr_t moduleDataCreate( pclDsmInstData_t idp, 00052 U32BIT dataSize, MemHandle *phModuleData ); 00053 00054 void moduleDataDestroy( pclDsmInstData_t idp, MemHandle *phModuleData ); 00055 00056 U32BIT moduleDataFindObject( 00057 /*I*/ MemPtr mpModuleData, U32BIT dataLength, pObjectKey_t pObjectKey, 00058 /*O*/ MemPtr *mpObject ); 00059 00060 00061 /*----------------------------------------------------------------------------*/ 00062 00063 #ifdef __cplusplus 00064 } 00065 #endif 00066 #endif /* _MODULEDATA_H_ */