#include <libsangoma.h>
Public Attributes | |
sng_fd_t | fd |
uint32_t | flags_in |
uint32_t | timeout |
uint32_t | object_type |
uint32_t | flags_out |
uint32_t | span |
uint32_t | chan |
This structure is used by sangoma_socket_waitfor_many() function. This structure is initialized by sangoma_init_wait_obj() function.
Definition at line 211 of file libsangoma.h.
file descriptor of a device
Definition at line 219 of file libsangoma.h.
Referenced by handle_tdm_event(), open_sangoma_devices(), read_data(), sangoma_init_wait_obj(), sangoma_release_wait_obj(), and write_data().
uint32_t sangoma_wait_obj::flags_in |
poll flags use to configure system for polling on read/write/event
Definition at line 221 of file libsangoma.h.
Referenced by sangoma_init_wait_obj(), and write_data().
uint32_t sangoma_wait_obj::timeout |
timeout in miliseconds in case of no event
Definition at line 223 of file libsangoma.h.
Referenced by sangoma_init_wait_obj().
uint32_t sangoma_wait_obj::object_type |
type of the object to wait on. can be one of two: UNKNOWN_WAIT_OBJ and SANGOMA_WAIT_OBJ
Definition at line 233 of file libsangoma.h.
Referenced by sangoma_init_wait_obj(), sangoma_release_wait_obj(), and sangoma_socket_waitfor_many().
uint32_t sangoma_wait_obj::flags_out |
poll flags returned to user indicating what event occoured read/write/event
Definition at line 240 of file libsangoma.h.
Referenced by handle_data().
uint32_t sangoma_wait_obj::span |
span number used for debugging, when printing span associated with event
Definition at line 242 of file libsangoma.h.
Referenced by sangoma_init_wait_obj().
uint32_t sangoma_wait_obj::chan |
chan number used for debugging, when printing chan associated with event
Definition at line 244 of file libsangoma.h.
Referenced by sangoma_init_wait_obj().