mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-06 08:42:39 +00:00
6cfab94713
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
22 lines
537 B
Objective-C
22 lines
537 B
Objective-C
//
|
|
// WireGuardGoWrapper.h
|
|
// WireGuardNetworkExtension
|
|
//
|
|
// Created by Jeroen Leenarts on 21-06-18.
|
|
// Copyright © 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <NetworkExtension/NetworkExtension.h>
|
|
|
|
@interface WireGuardGoWrapper : NSObject
|
|
|
|
@property (nonatomic, weak) NEPacketTunnelFlow *packetFlow;
|
|
|
|
- (BOOL) turnOnWithInterfaceName: (NSString *)interfaceName settingsString: (NSString *)settingsString;
|
|
- (void) turnOff;
|
|
|
|
+ (NSString *)versionWireGuardGo;
|
|
|
|
@end
|