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 * 00005 * This file is part of a DTVKit Software Component 00006 * You are permitted to copy, modify or distribute this file subject to the terms 00007 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00008 * 00009 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00010 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00011 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00012 * 00013 * If you or your organisation is not a member of DTVKit then you have access 00014 * to this source code outside of the terms of the licence agreement 00015 * and you are expected to delete this and any associated files immediately. 00016 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00017 *******************************************************************************/ 00024 #ifndef _DSM_MAIN_H 00025 #define _DSM_MAIN_H 00026 00027 #include "cldsmcc.h" 00028 #include "stdfuncs.h" 00029 00030 typedef struct s_DsmApi 00031 { 00032 clDsmInstHandle_t cldsm; 00033 F_MemAlloc memAlloc; 00034 F_MemFree memFree; 00035 void* mutex; 00036 } S_DsmApi; 00037 00038 void DsmccObjectLoadEventFunc( 00039 clDsmObjHandle_t objectHandle, clDsmObjLoadStatus_t status, 00040 H_ObjUserData pUserData ); 00041 00042 void DsmccStreamEventFunc( H_DsmEvent eventHandle, 00043 clDsmSENotifyStatus_t status, void* userData1, void* userData2, 00044 U8BIT *namePtr, U8BIT* dataPtr, U8BIT nameLen, U8BIT dataLen ); 00045 00046 #endif /*_DSM_MAIN_H*/