57 if (0 != ((this->fds)[0].revents & POLLIN)) {
69 if (0 != ((this->fds)[1].revents & POLLIN)) {
78 for (i=2; i < this->nfds; i++) {
82 if (0 != ((this->fds)[i].revents & POLLIN)) {
98 (this->fds)[i].events |= POLLOUT;
109 if (0 != ((this->fds)[i].revents & POLLOUT)) {
112 if (0 >= remaining) {
123 (this->fds)[i].events &= ~POLLOUT;
ssize_t serverRead(Server, unsigned int)
void loggerLog(void *, logger_level, const char *const,...)
void serverCloseConn(Server, unsigned int)
int serverHandleAccept(Server, unsigned int)
ssize_t serverWrite(Server, unsigned int)
void serverRun(Server this)