openvpn/sample/sample-plugins/simple
David Sommerseth 81d882d530
The Great Reformatting - first phase
This is the first commit of the big reformatting task.  This
is performed by running the ./dev-tools/reformat-all.sh script.

This is based upon the v3 reformat-all.sh/uncrustify.conf version
which is now applied to git master.

Signed-off-by: David Sommerseth <davids@openvpn.net>
2016-12-14 22:33:49 +01:00
..
build build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00
README build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00
simple.c The Great Reformatting - first phase 2016-12-14 22:33:49 +01:00
simple.def build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00
winbuild build: integrate plugins build into core build 2012-06-26 11:29:02 +02:00

OpenVPN plugin examples.

Examples provided:

simple.c -- using the --auth-user-pass-verify callback, verify
            that the username/password is "foo"/"bar".

To build:

  ./build simple (Linux/BSD/etc.)
  ./winbuild simple (MinGW on Windows)

To use in OpenVPN, add to config file:

  plugin simple.so (Linux/BSD/etc.)
  plugin simple.dll (MinGW on Windows)