amneziawg-tools/contrib/embeddable-wg-library
Iurii Egorov 72776bc507
UAPI changes for Amnezia kernel module (#4)
* UAPI changes for Amnezia kernel module

* Fix indents

* Fix indents

* Fix indents

* Change protocol type

* Change protocol type

* Change protocol type

* Change protocol type

* Revert "Change protocol type"

* K

* Fix wg-quick

* Prepare packaging

* Prepare packaging

* Prepare packaging

* Prepare packaging

* naming convention fix

* Bash completions

* Naming unify

* Naming unify

* SPEC file for RPM build

* SPEC file for RPM build

* SPEC file for RPM build

* SPEC file for RPM build

---------

Co-authored-by: Mark Puha <marko10@inf.elte.hu>
2024-02-02 16:44:20 +03:00
..
.gitignore contrib: add embeddable wireguard library 2018-02-17 05:55:03 +01:00
Makefile contrib: add embeddable wireguard library 2018-02-17 05:55:03 +01:00
README contrib: add embeddable wireguard library 2018-02-17 05:55:03 +01:00
test.c embeddable-wg-library: use newer string_list 2020-02-03 16:35:01 +01:00
wireguard.c UAPI changes for Amnezia kernel module (#4) 2024-02-02 16:44:20 +03:00
wireguard.h embeddable-wg-library: add named wg_endpoint union 2021-10-22 13:26:04 -06: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+.