OpenVPN 3 Core Library
Loading...
Searching...
No Matches
jsonfile.hpp File Reference
Include dependency graph for jsonfile.hpp:

Go to the source code of this file.

Namespaces

namespace  openvpn
 
namespace  openvpn::json
 

Functions

Json::Value openvpn::json::read_fast (const std::string &fn, const bool optional=true, std::uint64_t *mtime_ns=nullptr)
 
Json::Value openvpn::json::read_fast_dict (const std::string &fn, const bool optional=true, std::uint64_t *mtime_ns=nullptr)
 
void openvpn::json::write_atomic (const std::string &fn, const std::string &tmpdir, const mode_t mode, const std::uint64_t mtime_ns, const Json::Value &root, const size_t size_hint, StrongRandomAPI &rng)
 
void openvpn::json::write_fast (const std::string &fn, const mode_t mode, const std::uint64_t mtime_ns, const Json::Value &root, const size_t size_hint)