git-subtree-dir: contrib/wireguard-tools git-subtree-mainline:9142a2a37b
git-subtree-split:7e00bf8773
18 lines
355 B
C
18 lines
355 B
C
/* 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
|