GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
An epoll file descriptor. More...
#include <gp_poll.h>
Data Fields | |
gp_dlist_head | lhead |
Linked list pointers. | |
enum gp_poll_event_ret(* | event )(gp_fd *self) |
Epoll event handler. | |
uint32_t | events |
Epoll events to watch. | |
uint32_t | revents |
Events returned from epoll. | |
int | fd |
A file descriptor. | |
void * | priv |
An epoll file descriptor.
The user of this interface is supposed to set the event, events, fd and optionally priv pointer and pass the structure to the gp_poll_add() function.
enum gp_poll_event_ret(* gp_fd::event) (gp_fd *self) |
uint32_t gp_fd::events |
void* gp_fd::priv |
uint32_t gp_fd::revents |