OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::MacLifeCycle::State Struct Reference

Public Member Functions

 State ()
 
 State (bool net_up_arg, const std::string &iface_arg, bool sleep_arg)
 
bool operator== (const State &other) const
 
bool operator!= (const State &other) const
 
std::string to_string () const
 

Public Attributes

bool net_up
 
std::string iface
 
bool sleep
 

Detailed Description

Definition at line 65 of file maclife.hpp.

Constructor & Destructor Documentation

◆ State() [1/2]

openvpn::MacLifeCycle::State::State ( )
inline

Definition at line 67 of file maclife.hpp.

◆ State() [2/2]

openvpn::MacLifeCycle::State::State ( bool  net_up_arg,
const std::string &  iface_arg,
bool  sleep_arg 
)
inline

Definition at line 73 of file maclife.hpp.

Member Function Documentation

◆ operator!=()

bool openvpn::MacLifeCycle::State::operator!= ( const State other) const
inline

Definition at line 85 of file maclife.hpp.

◆ operator==()

bool openvpn::MacLifeCycle::State::operator== ( const State other) const
inline

Definition at line 80 of file maclife.hpp.

Here is the caller graph for this function:

◆ to_string()

std::string openvpn::MacLifeCycle::State::to_string ( ) const
inline

Definition at line 90 of file maclife.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ iface

std::string openvpn::MacLifeCycle::State::iface

Definition at line 98 of file maclife.hpp.

◆ net_up

bool openvpn::MacLifeCycle::State::net_up

Definition at line 97 of file maclife.hpp.

◆ sleep

bool openvpn::MacLifeCycle::State::sleep

Definition at line 99 of file maclife.hpp.


The documentation for this struct was generated from the following file: