summaryrefslogtreecommitdiff
path: root/sysdep/unix/wg_user.h
blob: 6ecceecb6ab18473e538cd53f4ae66d1249bcf81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _BIRD_WG_USER_H
#define _BIRD_WG_USER_H

#include "sysdep/config.h"

#define SOCKET_PATH PATH_RUNSTATEDIR "/"

struct pool;
struct wg_device;

bool wg_has_userspace(const char *ifname);
int wg_user_set_device(struct pool *pool, const char *ifname, struct wg_device *dev);

#endif  /* _BIRD_WG_USER_H */