Lines Matching defs:client
1 /* $NetBSD: client.c,v 1.6 2024/09/07 13:57:25 mlelstv Exp $ */
33 __RCSID("$NetBSD: client.c,v 1.6 2024/09/07 13:57:25 mlelstv Exp $");
52 * A client is anybody who connects to our control socket to
55 struct client {
57 int fd; /* client descriptor */
58 LIST_ENTRY(client) next;
62 * PIN cache items are made when we have sent a client pin
76 static LIST_HEAD(,client) client_list;
143 struct client *cl;
148 syslog(LOG_ERR, "Could not accept PIN client connection");
154 syslog(LOG_ERR, "Could not set non blocking IO for client");
159 cl = malloc(sizeof(struct client));
161 syslog(LOG_ERR, "Could not malloc client");
166 memset(cl, 0, sizeof(struct client));
171 syslog(LOG_ERR, "Could not add client event");
181 /* Process client response packet */
188 struct client *cl = arg;
255 /* Send PIN request to client */
260 struct client *cl;
280 syslog(LOG_DEBUG, "Sent PIN requests to %d client%s.",