MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / OpenVPNClient

Method OpenVPNClient

client/ovpncli.cpp:593–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591 }
592
593 OPENVPN_CLIENT_EXPORT OpenVPNClient::OpenVPNClient()
594 {
595#ifndef OPENVPN_NORESET_TIME
596 // We keep track of time as binary milliseconds since a time base, and
597 // this can wrap after ~48 days on 32 bit systems, so it's a good idea
598 // to periodically reinitialize the base.
599 Time::reset_base_conditional();
600#endif
601
602 state = new Private::ClientState();
603 state->proto_context_options.reset(new ProtoContextOptions());
604 }
605
606 OPENVPN_CLIENT_EXPORT void OpenVPNClient::parse_config(const Config& config, EvalConfig& eval, OptionList& options)
607 {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected