Put configuration enums into separate headers

This commit is contained in:
Sergey Abramchuk
2017-04-26 17:00:27 +03:00
parent 410ccdd916
commit 73f0c12084
6 changed files with 124 additions and 73 deletions
+23
View File
@@ -0,0 +1,23 @@
//
// OpenVPNCompressionMode.h
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 26.04.17.
//
//
#import <Foundation/Foundation.h>
/**
Compression mode options
*/
typedef NS_ENUM(NSInteger, OpenVPNCompressionMode) {
/// Allow compression on both uplink and downlink
OpenVPNCompressionModeEnabled,
/// Support compression stubs only
OpenVPNCompressionModeDisabled,
/// Allow compression on downlink only (i.e. server -> client)
OpenVPNCompressionModeAsym,
/// Default behavior (support compression stubs only)
OpenVPNCompressionModeDefault
};