Lines Matching defs:iev_ospfe
69 static struct imsgev *iev_ospfe;
254 if ((iev_ospfe = malloc(sizeof(struct imsgev))) == NULL ||
257 if (imsgbuf_init(&iev_ospfe->ibuf, pipe_parent2ospfe[0]) == -1)
259 imsgbuf_allow_fdpass(&iev_ospfe->ibuf);
260 iev_ospfe->handler = main_dispatch_ospfe;
266 iev_ospfe->events = EV_READ;
267 event_set(&iev_ospfe->ev, iev_ospfe->ibuf.fd, iev_ospfe->events,
268 iev_ospfe->handler, iev_ospfe);
269 event_add(&iev_ospfe->ev, NULL);
305 imsgbuf_clear(&iev_ospfe->ibuf);
306 close(iev_ospfe->ibuf.fd);
326 free(iev_ospfe);
477 if (iev_ospfe == NULL)
479 imsg_compose_event(iev_ospfe, type, 0, pid, -1, data, datalen);
485 if (iev_ospfe == NULL)
487 imsg_compose_event(iev_ospfe, type, 0, pid, fd, NULL, 0);
654 if (imsg_compose_event(iev_ospfe, type, 0, 0, -1, buf, len) == -1)