aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/ipc.h
blob: 24126107a81e86b91251b27340760d41fe26de24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright (C) 2015-2017 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);
bool ipc_has_device(const char *interface);

#endif