7 ifx_tapi_event_enable, 8 ifx_tapi_event_disable, Ifx_tapi_event_enable – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 14: Ifx_tapi_event_disable

73M1866B/73M1966B TAPI High-Level Driver User Guide
UG_1x66B_021
14
Rev. 2.2
3.7 IFX_TAPI_EVENT_ENABLE
Description
Enable detection of FXO events.
#define IFX_TAPI_EVENT_ENABLE _IO(IFX_TAPI_IOC_MAGIC, 0xC1)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_EVENT_ENABLE,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_EVENT_ENABLE
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
IFX_ERROR – Failed to enable event detection.
IFX_SUCCESS – Successful.
3.8 IFX_TAPI_EVENT_DISABLE
Description
Disable detection of FXO events.
#define IFX_TAPI_EVENT_DISABLE _IO(IFX_TAPI_IOC_MAGIC, 0xC2)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_EVENT_DISABLE,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_EVENT_DISABLE
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
IFX_ERROR – Failed to disable event detection.
IFX_SUCCESS – Successful.