| 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 | { |