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

#include <proto_context_options.hpp>

Inheritance diagram for openvpn::ProtoContextCompressionOptions:
[legend]
Collaboration diagram for openvpn::ProtoContextCompressionOptions:
[legend]

Public Types

enum  CompressionMode { COMPRESS_NO , COMPRESS_YES , COMPRESS_ASYM }
 
typedef RCPtr< ProtoContextCompressionOptionsPtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 ProtoContextCompressionOptions ()
 
bool is_comp () const
 
bool is_comp_asym () const
 
void parse_compression_mode (const std::string &mode)
 
- Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Public Attributes

CompressionMode compression_mode
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 23 of file proto_context_options.hpp.

Member Typedef Documentation

◆ Ptr

Member Enumeration Documentation

◆ CompressionMode

Enumerator
COMPRESS_NO 
COMPRESS_YES 
COMPRESS_ASYM 

Definition at line 27 of file proto_context_options.hpp.

Constructor & Destructor Documentation

◆ ProtoContextCompressionOptions()

openvpn::ProtoContextCompressionOptions::ProtoContextCompressionOptions ( )
inline

Definition at line 34 of file proto_context_options.hpp.

Member Function Documentation

◆ is_comp()

bool openvpn::ProtoContextCompressionOptions::is_comp ( ) const
inline

Definition at line 39 of file proto_context_options.hpp.

Here is the caller graph for this function:

◆ is_comp_asym()

bool openvpn::ProtoContextCompressionOptions::is_comp_asym ( ) const
inline

Definition at line 43 of file proto_context_options.hpp.

Here is the caller graph for this function:

◆ parse_compression_mode()

void openvpn::ProtoContextCompressionOptions::parse_compression_mode ( const std::string &  mode)
inline

Definition at line 48 of file proto_context_options.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ compression_mode

CompressionMode openvpn::ProtoContextCompressionOptions::compression_mode

Definition at line 60 of file proto_context_options.hpp.


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