]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: ISC |
8429abe0 RW |
2 | /* $OpenBSD$ */ |
3 | ||
4 | /* | |
5 | * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> | |
8429abe0 RW |
6 | */ |
7 | ||
8 | #ifndef _CONTROL_H_ | |
9 | #define _CONTROL_H_ | |
10 | ||
cd85bc2e | 11 | #include "queue.h" |
8429abe0 RW |
12 | |
13 | struct ctl_conn { | |
14 | TAILQ_ENTRY(ctl_conn) entry; | |
15 | struct imsgev iev; | |
16 | }; | |
17 | TAILQ_HEAD(ctl_conns, ctl_conn); | |
18 | ||
19 | extern struct ctl_conns ctl_conns; | |
20 | ||
274f5abf | 21 | int control_init(char *); |
8429abe0 | 22 | int control_listen(void); |
274f5abf | 23 | void control_cleanup(char *); |
8429abe0 RW |
24 | int control_imsg_relay(struct imsg *); |
25 | ||
26 | #endif /* _CONTROL_H_ */ |