]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
embeddable-wg-library: add named wg_endpoint union
authorMikael Magnusson <mikma@users.sourceforge.net>
Sat, 7 Nov 2020 12:32:56 +0000 (13:32 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 22 Oct 2021 19:26:04 +0000 (13:26 -0600)
commitb906ecb614d93a69ef78c67bfd240554fbc95270
tree37e2a9578d662a070fcc4cff0cfe488dc73aa271
parent1ee37b8e4833a25efe6f1fc0d5bdcb476148f4ba
embeddable-wg-library: add named wg_endpoint union

Define wg_endpoint as a named union to allow users of the emeddable
library to use the type in function arguments, variables etc.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
contrib/embeddable-wg-library/wireguard.h