commit - 8623abeab42a1d6f2fdba2d9428ab38dc8124365
commit + 94fa875ce5c580f1819c42b322c72cee85298e30
blob - b2cba8137f48f2e155021927aea8685178e2d619
blob + 73930b982ee6b2c5b3dabf2fe2d223b2f959dd9f
--- control.c
+++ control.c
}
imsg_event_add(&c->iev);
-}
-
-int
-control_imsg_relay(struct imsg *imsg)
-{
- struct ctl_conn *c;
-
- if ((c = control_connbypid(imsg->hdr.pid)) == NULL)
- return (0);
-
- return (imsg_compose_event(&c->iev, imsg->hdr.type, 0, imsg->hdr.pid,
- -1, imsg->data, IMSG_DATA_SIZE(*imsg)));
}
blob - 5ad6237eabf828acb8fd405cb743da353c800c69
blob + c779aaeb95cf5546bf933fe861acf75b7474d386
--- include/control.h
+++ include/control.h
int control_listen(int);
void control_accept(int, short, void *);
void control_dispatch_imsg(int, short, void *);
-int control_imsg_relay(struct imsg *);
#endif /* SMALL */