OpenVPN 3 Core Library
Loading...
Searching...
No Matches
jsonlib.hpp
Go to the documentation of this file.
1
// OpenVPN -- An application to securely tunnel IP networks
2
// over a single port, with support for SSL/TLS-based
3
// session authentication and key exchange,
4
// packet encryption, packet authentication, and
5
// packet compression.
6
//
7
// Copyright (C) 2012- OpenVPN Inc.
8
//
9
// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10
//
11
12
#pragma once
13
14
#if defined(HAVE_JSONCPP)
15
#define HAVE_JSON
16
#include "json/json.h"
// JsonCpp library
17
#elif defined(HAVE_OPENVPN_COMMON)
18
#define HAVE_JSON
19
#define OPENVPN_JSON_INTERNAL
20
#include <openvpn/common/json.hpp>
// internal OpenVPN JSON implementation
21
#endif
openvpn
common
jsonlib.hpp
Generated by
1.9.8