Data Structures | |
struct | nft_fd |
Functions | |
void | nft_fd_setup (struct nft_fd *ofd, int fd, void(*cb)(struct nft_fd *fd, uint32_t mask), void *data) |
void | nft_fd_register (struct nft_fd *fd, uint32_t events) |
void | nft_fd_unregister (struct nft_fd *fd) |
struct nft_fd * | nft_fd_alloc (void) |
void | nft_fd_free (struct nft_fd *nfd) |
References nft_fd::event, nft_fd::fd, and NULL.
Referenced by tcp_client_start(), and tcp_server_start().
void nft_fd_setup | ( | struct nft_fd * | ofd, |
int | fd, | ||
void(*)(struct nft_fd *fd, uint32_t mask) | cb, | ||
void * | data | ||
) |
References nft_fd::cb, nft_fd::data, data, and nft_fd::fd.
Referenced by tcp_client_start(), and tcp_server_start().
References nft_fd::event, and nft_fd::fd.