2016-11-18 00:22:00 -05:00
|
|
|
/* Copyright (C) 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
|
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);
|
|
|
|
bool ipc_has_device(const char *interface);
|
2015-06-05 09:58:00 -04:00
|
|
|
|
|
|
|
#endif
|