wireguard-apple/WireGuardNetworkExtension/WireGuardGoWrapper.h

22 lines
537 B
C
Raw Normal View History

//
// 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.
//
#import <Foundation/Foundation.h>
2018-08-03 20:24:41 +00:00
#import <NetworkExtension/NetworkExtension.h>
@interface WireGuardGoWrapper : NSObject
2018-08-03 20:24:41 +00:00
@property (nonatomic, weak) NEPacketTunnelFlow *packetFlow;
- (BOOL) turnOnWithInterfaceName: (NSString *)interfaceName settingsString: (NSString *)settingsString;
- (void) turnOff;
+ (NSString *)versionWireGuardGo;
@end