xref: /freebsd/contrib/wireguard-tools/ipc.h (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /*
3  * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4  */
5 
6 #ifndef IPC_H
7 #define IPC_H
8 
9 #include <stdbool.h>
10 
11 struct wgdevice;
12 
13 int ipc_set_device(struct wgdevice *dev);
14 int ipc_get_device(struct wgdevice **dev, const char *interface);
15 char *ipc_list_devices(void);
16 
17 #endif
18