Lines Matching defs:clients
482 static struct client **clients = NULL;
672 clients = erealloc(clients, sizeof(clients[0]) * (num_clients + 1));
673 clients[num_clients] = c;
992 fds[n].fd = clients[n]->fd;
994 if (clients[n]->flags & WAITING_READ)
996 if (clients[n]->flags & WAITING_WRITE)
1005 if (clients[n] == NULL)
1008 clients[n]->flags |= WAITING_CLOSE;
1013 handle_read(clients[n]);
1015 handle_write(clients[n]);
1020 struct client *c = clients[n];
1023 clients[n] = clients[num_clients - 1];