Blame


1 3baa2617 2022-02-16 op /* $OpenBSD: control.h,v 1.3 2021/01/19 16:54:00 florian Exp $ */
2 3baa2617 2022-02-16 op
3 3baa2617 2022-02-16 op /*
4 3baa2617 2022-02-16 op * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
5 3baa2617 2022-02-16 op *
6 3baa2617 2022-02-16 op * Permission to use, copy, modify, and distribute this software for any
7 3baa2617 2022-02-16 op * purpose with or without fee is hereby granted, provided that the above
8 3baa2617 2022-02-16 op * copyright notice and this permission notice appear in all copies.
9 3baa2617 2022-02-16 op *
10 3baa2617 2022-02-16 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 3baa2617 2022-02-16 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 3baa2617 2022-02-16 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 3baa2617 2022-02-16 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 3baa2617 2022-02-16 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 3baa2617 2022-02-16 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 3baa2617 2022-02-16 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 3baa2617 2022-02-16 op */
18 3baa2617 2022-02-16 op
19 3baa2617 2022-02-16 op int control_init(char *);
20 3baa2617 2022-02-16 op int control_listen(int fd);
21 3baa2617 2022-02-16 op void control_accept(int, short, void *);
22 87f575c3 2022-02-21 op void control_notify(struct imsgev *, int);
23 3baa2617 2022-02-16 op void control_dispatch_imsg(int, short, void *);
24 3baa2617 2022-02-16 op int control_imsg_relay(struct imsg *);