31#ifndef ASYNC_READ_NUMOF
32#define ASYNC_READ_NUMOF 2
void native_async_read_add_handler(int fd, void *arg, native_async_read_callback_t handler)
start monitoring of file descriptor
void native_async_read_cleanup(void)
shutdown asynchronous read system
void native_async_read_add_int_handler(int fd, void *arg, native_async_read_callback_t handler)
start monitoring of file descriptor as interrupt
void native_async_read_remove_handler(int fd)
stop monitoring of file descriptor
void(* native_async_read_callback_t)(int fd, void *arg)
asynchronous read callback type
void native_async_read_setup(void)
initialize asynchronous read system
void native_async_read_continue(int fd)
resume monitoring of file descriptors
Interrupt callback information structure.
void * arg
Argument ptr for the callback.
pid_t child_pid
PID of the interrupt listener.
native_async_read_callback_t cb
Interrupt callback function.
struct pollfd * fd
sysfs gpio fd