|
OpenVPN 3 Core Library
|
#include <stdlib.h>#include <string>#include <iostream>#include <thread>#include <memory>#include <mutex>#include <openvpn/common/platform.hpp>#include <client/ovpncli.cpp>#include <openvpn/common/exception.hpp>#include <openvpn/common/string.hpp>#include <openvpn/common/signal.hpp>#include <openvpn/common/file.hpp>#include <openvpn/common/getopt.hpp>#include <openvpn/common/getpw.hpp>#include <openvpn/common/cleanup.hpp>#include <openvpn/time/timestr.hpp>#include <openvpn/ssl/peerinfo.hpp>#include <openvpn/ssl/sslchoose.hpp>#include <openvpn/common/argv.hpp>#include <openvpn/common/process.hpp>Go to the source code of this file.
Classes | |
| class | ClientBase |
| class | Client |
Macros | |
| #define | OPENVPN_CORE_API_VISIBILITY_HIDDEN |
Functions | |
| static void | worker_thread () |
| static std::string | read_profile (const char *fn, const std::string *profile_content) |
| static void | handler (int signum) |
| static void | start_thread (Client &client) |
| int | openvpn_client (int argc, char *argv[], const std::string *profile_content) |
| int | main (int argc, char *argv[]) |
Variables | |
| static Client * | the_client = nullptr |
|
static |
| int openvpn_client | ( | int | argc, |
| char * | argv[], | ||
| const std::string * | profile_content | ||
| ) |
|
static |
|
static |
|
static |