OpenVPNAdapter/OpenVPN Adapter/OpenVPNConfiguration.h

34 lines
721 B
C
Raw Normal View History

//
// OpenVPNConfiguration.h
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 21.04.17.
//
//
#import <Foundation/Foundation.h>
2017-04-22 00:28:09 +08:00
// TODO: Wrap ClientAPI::Config into Objective-C class
@interface OpenVPNConfiguration : NSObject
2017-04-23 01:19:28 +08:00
/**
OpenVPN profile as a NSData
*/
2017-04-22 00:28:09 +08:00
@property (nullable, nonatomic) NSData *fileContent;
2017-04-23 01:19:28 +08:00
/**
OpenVPN profile as series of key/value pairs (may be provided exclusively
or in addition to file content).
*/
@property (nullable, nonatomic) NSDictionary<NSString *, NSString *> *settings;
2017-04-23 03:45:16 +08:00
/**
Set to identity OpenVPN GUI version.
Format should be "<gui_identifier><space><version>"
Passed to server as IV_GUI_VER.
*/
@property (nullable, nonatomic) NSString *guiVersion;
2017-04-23 01:19:28 +08:00
@end