2018-06-22 06:23:39 +00:00
|
|
|
//
|
|
|
|
// WireGuardGoWrapper.h
|
|
|
|
// WireGuardNetworkExtension
|
|
|
|
//
|
|
|
|
// Created by Jeroen Leenarts on 21-06-18.
|
2018-07-15 09:55:41 +00:00
|
|
|
// Copyright © 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All rights reserved.
|
2018-06-22 06:23:39 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2018-08-03 20:24:41 +00:00
|
|
|
#import <NetworkExtension/NetworkExtension.h>
|
2018-06-22 06:23:39 +00:00
|
|
|
|
|
|
|
@interface WireGuardGoWrapper : NSObject
|
|
|
|
|
2018-08-03 20:24:41 +00:00
|
|
|
@property (nonatomic, weak) NEPacketTunnelFlow *packetFlow;
|
|
|
|
|
|
|
|
- (BOOL) turnOnWithInterfaceName: (NSString *)interfaceName settingsString: (NSString *)settingsString;
|
2018-06-22 06:23:39 +00:00
|
|
|
- (void) turnOff;
|
|
|
|
|
2018-08-05 06:05:59 +00:00
|
|
|
+ (NSString *)versionWireGuardGo;
|
|
|
|
|
2018-06-22 06:23:39 +00:00
|
|
|
@end
|