summaryrefslogtreecommitdiffstats
path: root/src/wireguard.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-08-09 10:57:41 +1000
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-08-09 15:15:27 +1000
commitdfec69efaa04a587b559ac04e797cdeb5446b227 (patch)
treeefdb5b012413fe27417be730ea8cdd686f42d839 /src/wireguard.h
parentbugfix: minor use after free (diff)
downloadwireguard-openbsd-dfec69efaa04a587b559ac04e797cdeb5446b227.tar.xz
wireguard-openbsd-dfec69efaa04a587b559ac04e797cdeb5446b227.zip
Add wg_timer_persistent_keepalive_get
Diffstat (limited to 'src/wireguard.h')
-rw-r--r--src/wireguard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wireguard.h b/src/wireguard.h
index ce85dbb1163..fe2d65d9001 100644
--- a/src/wireguard.h
+++ b/src/wireguard.h
@@ -192,6 +192,7 @@ void wg_timer_setup(struct wg_timers *, void *, void (*)(void *),
void (*)(void *), void (*)(void *), void (*)(void *));
void wg_timer_persistent_keepalive_tick(struct wg_timers *);
void wg_timer_persistent_keepalive_set(struct wg_timers *, uint16_t);
+uint16_t wg_timer_persistent_keepalive_get(struct wg_timers *);
void wg_timer_cleanup_tick(struct wg_timers *);
void wg_timer_keepalive_flag(struct wg_timers *);
void wg_timer_keepalive_unflag(struct wg_timers *);