2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

view is created and passed to client managers. Client state is begun -- needs work.

This commit is contained in:
Michael Graff 2000-01-20 01:22:34 +00:00
parent d9a28c4a0d
commit d24a3d2f93
2 changed files with 2 additions and 2 deletions

View File

@ -47,14 +47,13 @@ struct client_s {
isc_boolean_t isidle;
dns_view_t *view;
ISC_LINK(client_t) link;
};
struct clientmgr_s {
isc_task_t *task; /* owning task */
isc_socket_t *sock; /* socket to use */
dns_view_t *view;
unsigned int flags;
isc_event_t sdev; /* shutdown event */
ISC_LIST(client_t) idle; /* idle client slots */

View File

@ -264,6 +264,7 @@ main(int argc, char **argv)
for (i = 0 ; i < NTASKS ; i++) {
cmgr[i].task = NULL;
cmgr[i].sock = sock;
cmgr[i].view = view;
cmgr[i].flags = 0;
ISC_EVENT_INIT(&cmgr[i].sdev, sizeof(isc_event_t),
ISC_EVENTATTR_NOPURGE,