summaryrefslogtreecommitdiffstats
path: root/src/wireguard.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-05-21 19:19:15 +1000
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-05-21 19:19:15 +1000
commit8fc2201f64c57e71e5b7856b2f3529d18da11ed2 (patch)
tree799d7226ed7fc5cb491dc72917701462b7f290be /src/wireguard.h
parentAdd integration with OS tools (diff)
downloadwireguard-openbsd-8fc2201f64c57e71e5b7856b2f3529d18da11ed2.tar.xz
wireguard-openbsd-8fc2201f64c57e71e5b7856b2f3529d18da11ed2.zip
Set peer arg in wg_peer_init
This is the first in a number of commits that will solidify the wireguard.h interface. wg_peer should be treated as an opaque data type.
Diffstat (limited to 'src/wireguard.h')
-rw-r--r--src/wireguard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireguard.h b/src/wireguard.h
index f202137008c..46ddb40c058 100644
--- a/src/wireguard.h
+++ b/src/wireguard.h
@@ -125,7 +125,7 @@ struct wg_upcall {
};
/* Create and destroy a peer, upcall must live at least as long as the peer */
-void wg_peer_init(struct wg_peer *, struct wg_upcall *);
+void wg_peer_init(struct wg_peer *, struct wg_upcall *, void *);
void wg_peer_deinit(struct wg_peer *);
void wg_peer_cleanup(struct wg_peer *);