libhpsangoma: sangoma_hptdm_chan_reg Struct Reference

- Main Page
- Classes
- Files

- Class List
- Class Members

# sangoma_hptdm_chan_reg Struct Reference

Chan registration structure. More...

`#include <libhpsangoma.h>`

List of all members.

## Public Attributes
void * | p
int(* | rx_data )(void *p, char *data, int len)
int(* | rx_event )(void *p, hp_tdmapi_rx_event_t *data)

## Detailed Description

Chan registration structure.

Definition at line 101 of file libhpsangoma.h.

## Member Data Documentation

void* sangoma_hptdm_chan_reg::p

pointer to user object used with callback functions

Definition at line 104 of file libhpsangoma.h.

int(* sangoma_hptdm_chan_reg::rx_data)(void *p, char *data, int len)

callback function used to pass rx chunk to user application

int(* sangoma_hptdm_chan_reg::rx_event)(void *p, hp_tdmapi_rx_event_t *data)

callback function used to pass channel specific event to user application

The documentation for this struct was generated from the following file:

- libhpsangoma.h