DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
dsm_main.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  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 #ifndef _DSM_MAIN_H
25 #define _DSM_MAIN_H
26 
27 #include "cldsmcc.h"
28 #include "stdfuncs.h"
29 
30 typedef struct s_DsmApi
31 {
32  H_DsmCoreInst cldsm;
33  F_MemAlloc memAlloc;
34  F_MemFree memFree;
35  void *mutex;
36 } S_DsmApi;
37 
39  H_DsmObject objectHandle, E_ObjLoadStatus status,
40  H_ObjUserData pUserData );
41 
42 void DsmccStreamEventFunc( H_DsmEvent eventHandle,
43  E_SENotifyStatus status, void *userData1, void *userData2,
44  U8BIT *namePtr, U8BIT *dataPtr, U8BIT nameLen, U8BIT dataLen );
45 
46 #endif /*_DSM_MAIN_H*/
Main API to DSM-CC core layer (provided functions and required callbacks).
void DsmccObjectLoadEventFunc(H_DsmObject objectHandle, E_ObjLoadStatus status, H_ObjUserData pUserData)
Callback function provided to DSM-CC library. Object load events are passed to this callback by the D...
Definition: dsm_client.c:506
Define standard function types.