Lines Matching refs:sd
62 int sd; /* descriptor of TCP socket to read from */
145 eloop_unregister_sock(h->sd, EVENT_TYPE_READ);
149 h->sd = -1; /* aid debugging */
374 static void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx)
389 nread = read(h->sd, readbuf, sizeof(readbuf));
684 eloop_unregister_sock(h->sd, EVENT_TYPE_READ);
707 int sd, /* descriptor of TCP socket to read from */
720 h->sd = sd;
732 if (eloop_register_sock(sd, EVENT_TYPE_READ, httpread_read_handler,