commit - fb5efbfa169054918df195176f45ec9e5c14a78f
commit + b7e63abaf97545cf19d25cefee076ec51ffcccda
blob - dfecb8c2146a1d26235b34e947cac4aadec6e160
blob + 4649124cafa5fb9bb584ecc9292093b3745c17ac
--- 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 - 9f1d8a0280abbe87ddad1836d83d0a0f3040d736
blob + 3caa983e13fb13f7fa219a6d005730fe8044145c
--- control.h
+++ control.h
void control_accept(int, int, void *);
void control_notify(int);
void control_dispatch_imsg(int, int, void *);
-int control_imsg_relay(struct imsg *);