wireguard-apple/WireGuardNetworkExtension/WireGuardGoWrapper.h
Jeroen Leenarts 6cfab94713 Dump and expose WireGuard Go version info.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 08:07:04 +02:00

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