This repository has been archived on 2024-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
2015-06-05 15:58:00 +02:00
|
|
|
/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
|
|
|
|
|
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);
|
|
|
|
bool ipc_has_device(const char *interface);
|
2015-06-05 15:58:00 +02:00
|
|
|
|
|
|
|
#endif
|