summaryrefslogtreecommitdiff
path: root/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc.h')
-rw-r--r--ipc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/ipc.h b/ipc.h
new file mode 100644
index 000000000000..bc0fd60bcb3a
--- /dev/null
+++ b/ipc.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
+/*
+ * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
+#ifndef IPC_H
+#define IPC_H
+
+#include <stdbool.h>
+
+struct wgdevice;
+
+int ipc_set_device(struct wgdevice *dev);
+int ipc_get_device(struct wgdevice **dev, const char *interface);
+char *ipc_list_devices(void);
+
+#endif