ble_gatt_client
|
data structure to manage io More...
Data Fields | |
int | ref_count |
int | fd |
uint32_t | events |
bool | close_on_destroy |
io_callback_func_t | read_callback |
io_destroy_func_t | read_destroy |
void * | read_data |
io_callback_func_t | write_callback |
io_destroy_func_t | write_destroy |
void * | write_data |
io_callback_func_t | disconnect_callback |
io_destroy_func_t | disconnect_destroy |
void * | disconnect_data |
data structure to manage io
Definition at line 49 of file io-mainloop.c.
bool io::close_on_destroy |
do you need to close the underlying socket on destroy?
Definition at line 53 of file io-mainloop.c.
Referenced by io_cleanup(), io_new(), and io_set_close_on_destroy().
io_callback_func_t io::disconnect_callback |
call back on disconnect
Definition at line 60 of file io-mainloop.c.
Referenced by io_callback(), io_destroy(), and io_set_disconnect_handler().
void* io::disconnect_data |
user pointer for disconnect
Definition at line 62 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_disconnect_handler().
io_destroy_func_t io::disconnect_destroy |
data management at disconnect
Definition at line 61 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_disconnect_handler().
uint32_t io::events |
epoll events (might be ored)
Definition at line 52 of file io-mainloop.c.
Referenced by io_callback(), io_new(), io_set_disconnect_handler(), io_set_read_handler(), and io_set_write_handler().
int io::fd |
file descriptor
Definition at line 51 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), io_destroy(), io_get_fd(), io_new(), io_send(), io_set_disconnect_handler(), io_set_read_handler(), io_set_write_handler(), and io_shutdown().
io_callback_func_t io::read_callback |
read call back
Definition at line 54 of file io-mainloop.c.
Referenced by io_callback(), io_destroy(), and io_set_read_handler().
void* io::read_data |
user pointer for read data
Definition at line 56 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_read_handler().
io_destroy_func_t io::read_destroy |
data management for read
Definition at line 55 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_read_handler().
int io::ref_count |
number of references to the data structure
Definition at line 50 of file io-mainloop.c.
Referenced by io_ref(), and io_unref().
io_callback_func_t io::write_callback |
write call back
Definition at line 57 of file io-mainloop.c.
Referenced by io_callback(), io_destroy(), and io_set_write_handler().
void* io::write_data |
user pointer for write data
Definition at line 59 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_write_handler().
io_destroy_func_t io::write_destroy |
data management for write
Definition at line 58 of file io-mainloop.c.
Referenced by io_callback(), io_cleanup(), and io_set_write_handler().