Home
last modified time | relevance | path

Searched refs:sc_iev (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/ypldap/
H A Dypldap_dns.c108 if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL) in ypldap_dns()
111 env.sc_iev->events = EV_READ; in ypldap_dns()
112 env.sc_iev->data = &env; in ypldap_dns()
113 imsg_init(&env.sc_iev->ibuf, pipe_ntp[1]); in ypldap_dns()
114 env.sc_iev->handler = dns_dispatch_imsg; in ypldap_dns()
115 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events, in ypldap_dns()
116 env.sc_iev->handler, &env); in ypldap_dns()
117 event_add(&env.sc_iev->ev, NULL); in ypldap_dns()
135 struct imsgev *iev = env->sc_iev; in dns_dispatch_imsg()
H A Dldapclient.c239 imsg_compose_event(env->sc_iev, IMSG_END_UPDATE, 0, 0, -1, in client_dispatch_dns()
259 struct imsgev *iev = env->sc_iev; in client_dispatch_parent()
404 if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL) in ldapclient()
409 env.sc_iev->events = EV_READ; in ldapclient()
410 env.sc_iev->data = &env; in ldapclient()
411 imsg_init(&env.sc_iev->ibuf, pipe_main2client[1]); in ldapclient()
412 env.sc_iev->handler = client_dispatch_parent; in ldapclient()
413 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events, in ldapclient()
414 env.sc_iev->handler, &env); in ldapclient()
415 event_add(&env.sc_iev->ev, NULL); in ldapclient()
[all …]
H A Dypldap.c355 struct imsgev *iev = env->sc_iev; in main_dispatch_client()
468 struct imsgev *iev = env->sc_iev; in main_configure_client()
588 if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL) in main()
590 imsg_init(&env.sc_iev->ibuf, pipe_main2client[0]); in main()
591 env.sc_iev->handler = main_dispatch_client; in main()
593 env.sc_iev->events = EV_READ; in main()
594 env.sc_iev->data = &env; in main()
595 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events, in main()
596 env.sc_iev->handler, &env); in main()
597 event_add(&env.sc_iev->ev, NULL); in main()
H A Dypldap.h164 struct imsgev *sc_iev; member