Lines Matching defs:iev_ospfe
69 static struct imsgev *iev_ospfe;
260 if ((iev_ospfe = malloc(sizeof(struct imsgev))) == NULL ||
263 if (imsgbuf_init(&iev_ospfe->ibuf, pipe_parent2ospfe[0]) == -1)
265 imsgbuf_allow_fdpass(&iev_ospfe->ibuf);
266 iev_ospfe->handler = main_dispatch_ospfe;
272 iev_ospfe->events = EV_READ;
273 event_set(&iev_ospfe->ev, iev_ospfe->ibuf.fd, iev_ospfe->events,
274 iev_ospfe->handler, iev_ospfe);
275 event_add(&iev_ospfe->ev, NULL);
317 imsgbuf_clear(&iev_ospfe->ibuf);
318 close(iev_ospfe->ibuf.fd);
342 free(iev_ospfe);
505 if (iev_ospfe)
506 imsg_compose_event(iev_ospfe, type, 0, pid, -1, data, datalen);
512 if (iev_ospfe)
513 imsg_compose_event(iev_ospfe, type, 0, pid, fd, NULL, 0);
679 iev_ospfe) == -1)
696 if (imsg_compose_event(iev_ospfe, type, 0, 0, -1, buf, len) == -1)