0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00
openvpn3/openvpn/tun
James Yonan 106981c3e2 JSON: allow alternative JSON library implementations
Allow source files that require JSON library functionality
to include a single file (openvpn/common/jsonlib.hpp) which
will then draw in the appropriate JSON library header based
on configuration #defines.

Code can #ifdef on HAVE_JSON to test whether or not JSON
functionality is available (previously, HAVE_JSONCPP
was used).

Currently supports JsonCpp and an OpenVPN-internal JSON
implementation.

This model assumes that alternative JSON implementations
are API-compatible with JsonCpp.

Signed-off-by: James Yonan <james@openvpn.net>
2017-12-22 17:59:38 +08:00
..
builder JSON: allow alternative JSON library implementations 2017-12-22 17:59:38 +08:00
client avoid "uninitialized variable warning" 2017-09-27 16:16:18 +08:00
extern OpenVPN 3 client: added tun abstraction layer. 2017-04-13 13:28:34 -06:00
linux Added i/o abstraction layer. 2017-03-30 15:48:14 -06:00
mac JSON: allow alternative JSON library implementations 2017-12-22 17:59:38 +08:00
persist tunwrapasio.hpp: make generic with respect to i/o layer. 2017-04-12 12:01:55 -06:00
server Server-side renamings to break up long class names using namespaces. 2017-09-27 16:16:18 +08:00
win AsioTimer: use expires_after() method when possible. 2017-04-12 14:01:11 -06:00
ipv6_setting.hpp Objective C++: fix symbol conflicts. 2017-04-12 12:05:28 -06:00
layer.hpp copyright: updated to 2017. 2017-03-18 13:11:09 -06:00
tunio.hpp Added i/o abstraction layer. 2017-03-30 15:48:14 -06:00
tunlog.hpp copyright: updated to 2017. 2017-03-18 13:11:09 -06:00
tunmtu.hpp copyright: updated to 2017. 2017-03-18 13:11:09 -06:00
tunspec.hpp copyright: updated to 2017. 2017-03-18 13:11:09 -06:00