aboutsummaryrefslogtreecommitdiffstats
path: root/wireguard-go-bridge/wireguard.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wireguard-go-bridge/wireguard.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wireguard-go-bridge/wireguard.h b/wireguard-go-bridge/wireguard.h
index b264a2e..5ae9023 100644
--- a/wireguard-go-bridge/wireguard.h
+++ b/wireguard-go-bridge/wireguard.h
@@ -17,7 +17,8 @@ extern void wgSetLogger(logger_fn_t logger_fn);
extern int wgTurnOn(gostring_t settings, int32_t tun_fd);
extern void wgTurnOff(int handle);
extern int64_t wgSetConfig(int handle, gostring_t settings);
+extern char *wgGetConfig(int handle);
extern void wgBindInterfaceScope(int handle, int32_t ifscope);
-extern char *wgVersion();
+extern const char *wgVersion();
#endif