summaryrefslogtreecommitdiffhomepage
path: root/tunnel/tools/libwg-go/jni.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-03-12 00:23:39 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2021-03-12 00:42:24 +0000
commit6dbab6c2aa9bfcfa344c5b20c16c8915f469c4c1 (patch)
treec8dc332522e2253bb8f283411c95ec7517f1d344 /tunnel/tools/libwg-go/jni.c
parent18d435753dc83d330769629cf3f40394aaf1dddd (diff)
WIP: add missing wgDHCP forward decl and export
Diffstat (limited to 'tunnel/tools/libwg-go/jni.c')
-rw-r--r--tunnel/tools/libwg-go/jni.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel/tools/libwg-go/jni.c b/tunnel/tools/libwg-go/jni.c
index 0f56210f..9fb4aaed 100644
--- a/tunnel/tools/libwg-go/jni.c
+++ b/tunnel/tools/libwg-go/jni.c
@@ -9,6 +9,7 @@
struct go_string { const char *str; long n; };
extern int wgTurnOn(struct go_string ifname, int tun_fd, struct go_string settings);
+extern void wgDHCP(int handle);
extern void wgTurnOff(int handle);
extern int wgGetSocketV4(int handle);
extern int wgGetSocketV6(int handle);