Lines Matching full:clients
54 struct client **clients; member
83 if (sh->clients[idx] == client) { in client_close()
99 memmove(&sh->clients[idx], &sh->clients[idx + 1], in client_close()
100 sizeof(*sh->clients) * (sh->n_clients - idx)); in client_close()
102 free(sh->clients); in client_close()
103 sh->clients = NULL; in client_close()
105 sh->clients = reallocarray(sh->clients, sh->n_clients, in client_close()
106 sizeof(*sh->clients)); in client_close()
344 sh->clients = in socket_poll()
345 reallocarray(sh->clients, sh->n_clients, sizeof(*sh->clients)); in socket_poll()
347 sh->clients[n] = client; in socket_poll()
411 sh->clients = in dbus_create_socket_consumer()
412 reallocarray(sh->clients, sh->n_clients, sizeof(*sh->clients)); in dbus_create_socket_consumer()
414 sh->clients[n] = client; in dbus_create_socket_consumer()
445 sh->clients = NULL; in socket_init()
507 struct client *c = sh->clients[0]; in socket_deselect()
518 client_close(sh->clients[0]); in socket_fini()