hptdm_api: chan_idx Struct Reference

- Main Page
- Classes
- Files

- Class List
- Class Members

# chan_idx Struct Reference

`#include <aft_tdm_hp.h>`

List of all members.

## Public Attributes
int | init
int | chan_no
int | span_no
pthread_t | thread
sangoma_hptdm_chan_t * | chan

## Detailed Description

Channel index structure. Defines the program channel structure along with supporting variables needed to operate a chan.

Definition at line 90 of file aft_tdm_hp.h.

## Member Data Documentation

sangoma_hptdm_chan_t* chan_idx::chan

channel object obtaind by span->open_chan() method

Definition at line 102 of file aft_tdm_hp.h.

int chan_idx::chan_no

channel number - integer starting from 0

Definition at line 95 of file aft_tdm_hp.h.

int chan_idx::init

init flag used to determine if span is being used

Definition at line 93 of file aft_tdm_hp.h.

int chan_idx::span_no

span number - owner of the current channel - integer starting from 0

Definition at line 97 of file aft_tdm_hp.h.

pthread_t chan_idx::thread

pthread id for this channel, because every channel will have its own thread

Definition at line 99 of file aft_tdm_hp.h.

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

- aft_tdm_hp.h