2018-09-20 01:49:47 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
2020-01-02 19:52:25 +01:00
|
|
|
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
|
2017-11-30 16:23:50 +01:00
|
|
|
*/
|
2015-06-05 15:58:00 +02:00
|
|
|
|
2016-07-20 21:24:27 +02:00
|
|
|
#ifndef IPC_H
|
|
|
|
#define IPC_H
|
2015-06-05 15:58:00 +02:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct wgdevice;
|
|
|
|
|
2016-07-20 21:24:27 +02:00
|
|
|
int ipc_set_device(struct wgdevice *dev);
|
|
|
|
int ipc_get_device(struct wgdevice **dev, const char *interface);
|
|
|
|
char *ipc_list_devices(void);
|
2015-06-05 15:58:00 +02:00
|
|
|
|
|
|
|
#endif
|