aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/embeddable-wg-library/wireguard.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/embeddable-wg-library/wireguard.h')
-rw-r--r--contrib/embeddable-wg-library/wireguard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/embeddable-wg-library/wireguard.h b/contrib/embeddable-wg-library/wireguard.h
index 514ede1..350de7d 100644
--- a/contrib/embeddable-wg-library/wireguard.h
+++ b/contrib/embeddable-wg-library/wireguard.h
@@ -83,6 +83,8 @@ typedef struct wg_device {
int wg_set_device(wg_device *dev);
int wg_get_device(wg_device **dev, const char *device_name);
+int wg_add_device(const char *device_name);
+int wg_del_device(const char *device_name);
void wg_free_device(wg_device *dev);
char *wg_list_device_names(void); /* first\0second\0third\0forth\0last\0\0 */
void wg_key_to_base64(wg_key_b64_string base64, const wg_key key);