1
0
mirror of https://git.zx2c4.com/wireguard-tools synced 2025-04-09 17:24:25 +00:00
Files
wireguard-tools/contrib/embeddable-wg-library
Jason A. Donenfeld db5cb4f15c embeddable-wg-library: use newer string_list
This ports 1d2d6200b8ff517db0f7530645180df3cc4afa74.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-03 16:35:01 +01:00
..
2020-01-02 19:52:25 +01:00

Embeddable WireGuard C Library
==============================

This is a mini single-file library, meant to be embedded directly into the
source code of your program. It is *not* meant to be built as a shared
library.


Usage
-----

Copy wireguard.c and wireguard.h into your project. They should build with
any C89 compiler. There are no dependencies except libc.

Please see the set of simple functions in wireguard.h for information on
how to use, as well as the example code in test.c.


License
-------

Because this uses code from libmnl, wireguard.c and wireguard.h are licensed
under the LGPL-2.1+.