summaryrefslogtreecommitdiff
path: root/usr.sbin/rad/engine.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2018-07-10 16:39:55 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2018-07-10 16:39:55 +0000
commitc58905d5c20d4c6a039c2c473cec84303a97ebd0 (patch)
tree19ad2eb66b8d3629ff8e99e4024bb22b4fb40f92 /usr.sbin/rad/engine.h
parent2090d98fb17666339582da45301d746977484847 (diff)
Import rad(8).
It's a Router Advertisement Daemon written using the standard 3 process privsep pattern and a parse.y based config file. Commit early to continue work in tree. OK jca "it's totally rad" phessler@ "usr.sbin never runs out of space" deraadt@
Diffstat (limited to 'usr.sbin/rad/engine.h')
-rw-r--r--usr.sbin/rad/engine.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.sbin/rad/engine.h b/usr.sbin/rad/engine.h
new file mode 100644
index 00000000000..68cb2b9587d
--- /dev/null
+++ b/usr.sbin/rad/engine.h
@@ -0,0 +1,21 @@
+/* $OpenBSD: engine.h,v 1.1 2018/07/10 16:39:54 florian Exp $ */
+
+/*
+ * Copyright (c) 2018 Florian Obser <florian@openbsd.org>
+ * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+void engine(int, int);
+int engine_imsg_compose_frontend(int, pid_t, void *, uint16_t);