2018-09-19 19:49:47 -04:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
2019-01-01 19:58:10 -05:00
|
|
|
* Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
|
2017-11-30 10:23:50 -05:00
|
|
|
*/
|
2015-06-05 09:58:00 -04:00
|
|
|
|
2016-07-20 15:24:27 -04:00
|
|
|
#ifndef IPC_H
|
|
|
|
#define IPC_H
|
2015-06-05 09:58:00 -04:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct wgdevice;
|
|
|
|
|
2016-07-20 15:24:27 -04: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 09:58:00 -04:00
|
|
|
|
|
|
|
#endif
|