summaryrefslogtreecommitdiff
path: root/sysdep/unix/wg_user.h
blob: a5e4251a171452cbfe9ad1c04bcff129bfd79f95 (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 "/wireguard/"

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 */