OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::HostList::Host Struct Reference

#include <hostlist.hpp>

Public Member Functions

 Host ()
 
 Host (const std::string &host_arg, const std::string &port_arg)
 
bool defined () const
 
void swap (Host &rhs) noexcept
 
void reset ()
 
std::string to_string () const
 

Public Attributes

std::string host
 
std::string port
 

Detailed Description

Definition at line 27 of file hostlist.hpp.

Constructor & Destructor Documentation

◆ Host() [1/2]

openvpn::HostList::Host::Host ( )
inline

Definition at line 29 of file hostlist.hpp.

◆ Host() [2/2]

openvpn::HostList::Host::Host ( const std::string &  host_arg,
const std::string &  port_arg 
)
inline

Definition at line 33 of file hostlist.hpp.

Member Function Documentation

◆ defined()

bool openvpn::HostList::Host::defined ( ) const
inline

Definition at line 39 of file hostlist.hpp.

Here is the caller graph for this function:

◆ reset()

void openvpn::HostList::Host::reset ( )
inline

Definition at line 50 of file hostlist.hpp.

◆ swap()

void openvpn::HostList::Host::swap ( Host rhs)
inlinenoexcept

Definition at line 44 of file hostlist.hpp.

◆ to_string()

std::string openvpn::HostList::Host::to_string ( ) const
inline

Definition at line 56 of file hostlist.hpp.

Member Data Documentation

◆ host

std::string openvpn::HostList::Host::host

Definition at line 66 of file hostlist.hpp.

◆ port

std::string openvpn::HostList::Host::port

Definition at line 67 of file hostlist.hpp.


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