1 /******************************************************************************* 2 **+--------------------------------------------------------------------------+** 3 **| |** 4 **| Copyright 1998-2008 Texas Instruments, Inc. - http://www.ti.com/ |** 5 **| |** 6 **| Licensed under the Apache License, Version 2.0 (the "License"); |** 7 **| you may not use this file except in compliance with the License. |** 8 **| You may obtain a copy of the License at |** 9 **| |** 10 **| http://www.apache.org/licenses/LICENSE-2.0 |** 11 **| |** 12 **| Unless required by applicable law or agreed to in writing, software |** 13 **| distributed under the License is distributed on an "AS IS" BASIS, |** 14 **| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |** 15 **| See the License for the specific language governing permissions and |** 16 **| limitations under the License. |** 17 **| |** 18 **+--------------------------------------------------------------------------+** 19 *******************************************************************************/ 20 21 22 #ifndef _IPC_EVENT 23 #define _IPC_EVENT 24 25 26 #include "ipc_event.h" 27 #include "osTIType.h" 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif /* __cplusplus */ 32 33 tiINT32 ipc_CreateInterface (tiVOID); 34 35 36 typedef struct IPC_CONFIG_PARAMS 37 { 38 tiUINT32 len; 39 tiINT32 (*F_ConfigNotification)(tiVOID* pCuData, tiUINT32 nDataSize); 40 tiUINT32 enable; 41 }IPC_CONFIG_PARAMS; 42 43 typedef struct config_registry 44 { 45 tiUINT32 len; 46 TI_HANDLE hReceiver; 47 PVOID cfg_cb; 48 tiUINT32 enable; 49 }config_registry_t; 50 51 typedef struct unbound_registry 52 { 53 TI_HANDLE hReceiver; 54 PVOID cfg_cb; 55 tiUINT32 enable; 56 }unbound_registry_t; 57 58 typedef struct _reg_clients 59 { 60 UINT32 EventCode; 61 UINT32 ProcessId; 62 }reg_clients_t; 63 tiINT32 IPC_RegisterConfig(tiVOID* pEvParams, tiUINT32 EvParamsSize); 64 65 tiINT32 ipc_interfaces_init(tiVOID); 66 67 tiINT32 cnfg_open(tiVOID); 68 69 #ifdef __cplusplus 70 } 71 #endif 72 73 #endif 74 75