xref: /freebsd/contrib/wireguard-tools/ipc.h (revision adf376485712c8fffbf3be330d505a969647f479)
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