#include <merge.hpp>
|
static std::string | merge (const std::string &profile_path, const std::string &profile_ext, const std::string &profile_dir_override, const Follow follow_references, const size_t max_line_len, const size_t max_size) |
|
|
| ProfileMerge () |
|
void | expand_profile (const std::string &orig_profile_content, const std::string &profile_dir, const Follow follow_references, const size_t max_line_len, const size_t max_size, size_t total_size) |
|
Definition at line 35 of file merge.hpp.
◆ anonymous enum
Enumerator |
---|
F_MAY_INCLUDE_KEY_DIRECTION | |
F_PKCS12 | |
F_HTTP_PROXY | |
Definition at line 38 of file merge.hpp.
◆ anonymous enum
Enumerator |
---|
MAX_FN_LIST_SIZE | |
Definition at line 46 of file merge.hpp.
◆ Follow
Enumerator |
---|
FOLLOW_NONE | |
FOLLOW_PARTIAL | |
FOLLOW_FULL | |
Definition at line 119 of file merge.hpp.
◆ Status
Enumerator |
---|
MERGE_UNDEFINED | |
MERGE_SUCCESS | |
MERGE_EXCEPTION | |
MERGE_OVPN_EXT_FAIL | |
MERGE_OVPN_FILE_FAIL | |
MERGE_REF_FAIL | |
MERGE_MULTIPLE_REF_FAIL | |
Definition at line 55 of file merge.hpp.
◆ ProfileMerge() [1/2]
openvpn::ProfileMerge::ProfileMerge |
( |
const std::string & |
profile_path, |
|
|
const std::string & |
profile_ext, |
|
|
const std::string & |
profile_dir_override, |
|
|
const Follow |
follow_references, |
|
|
const size_t |
max_line_len, |
|
|
const size_t |
max_size |
|
) |
| |
|
inline |
◆ ProfileMerge() [2/2]
openvpn::ProfileMerge::ProfileMerge |
( |
| ) |
|
|
inlineprotected |
◆ basename()
const std::string & openvpn::ProfileMerge::basename |
( |
| ) |
const |
|
inline |
◆ error()
const std::string & openvpn::ProfileMerge::error |
( |
| ) |
const |
|
inline |
◆ expand_profile()
void openvpn::ProfileMerge::expand_profile |
( |
const std::string & |
orig_profile_content, |
|
|
const std::string & |
profile_dir, |
|
|
const Follow |
follow_references, |
|
|
const size_t |
max_line_len, |
|
|
const size_t |
max_size, |
|
|
size_t |
total_size |
|
) |
| |
|
inlineprotected |
◆ is_fileref_directive()
static bool openvpn::ProfileMerge::is_fileref_directive |
( |
const std::string & |
d, |
|
|
unsigned int & |
flags |
|
) |
| |
|
inlinestaticprotected |
◆ merge()
static std::string openvpn::ProfileMerge::merge |
( |
const std::string & |
profile_path, |
|
|
const std::string & |
profile_ext, |
|
|
const std::string & |
profile_dir_override, |
|
|
const Follow |
follow_references, |
|
|
const size_t |
max_line_len, |
|
|
const size_t |
max_size |
|
) |
| |
|
inlinestatic |
◆ OPENVPN_EXCEPTION()
openvpn::ProfileMerge::OPENVPN_EXCEPTION |
( |
merge_error |
| ) |
|
◆ profile_content()
const std::string & openvpn::ProfileMerge::profile_content |
( |
| ) |
const |
|
inline |
◆ ref_path_list()
const std::vector< std::string > & openvpn::ProfileMerge::ref_path_list |
( |
| ) |
const |
|
inline |
◆ status()
Status openvpn::ProfileMerge::status |
( |
| ) |
const |
|
inline |
◆ status_string()
const char * openvpn::ProfileMerge::status_string |
( |
| ) |
const |
|
inline |
◆ basename_
std::string openvpn::ProfileMerge::basename_ |
|
protected |
◆ error_
std::string openvpn::ProfileMerge::error_ |
|
protected |
◆ profile_content_
std::string openvpn::ProfileMerge::profile_content_ |
|
protected |
◆ ref_fail_list_
std::vector<std::string> openvpn::ProfileMerge::ref_fail_list_ |
|
protected |
◆ ref_succeed_list_
std::vector<std::string> openvpn::ProfileMerge::ref_succeed_list_ |
|
protected |
◆ status_
Status openvpn::ProfileMerge::status_ |
|
protected |
The documentation for this class was generated from the following file: