From d8bf4648fd0b748689ea45109a8c18b4a8e72136 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Sun, 12 Feb 2017 16:03:39 +0300 Subject: [PATCH] Add configuration argument to the configuration method --- OpenVPN Tunnel Provider/OpenVPNAdapter+Provider.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OpenVPN Tunnel Provider/OpenVPNAdapter+Provider.h b/OpenVPN Tunnel Provider/OpenVPNAdapter+Provider.h index 6206777..78b4870 100644 --- a/OpenVPN Tunnel Provider/OpenVPNAdapter+Provider.h +++ b/OpenVPN Tunnel Provider/OpenVPNAdapter+Provider.h @@ -35,9 +35,10 @@ NS_SWIFT_NAME(handle(error:)); @property (weak, nonatomic, null_unspecified) id delegate; - (BOOL)configureWithUsername:(nonnull NSString *)username - password:(nonnull NSString *)password - error:(out NSError * __nullable * __nullable)error -NS_SWIFT_NAME(configure(username:password:)); + password:(nonnull NSString *)password + configuration:(nonnull NSData *)configuration + error:(out NSError * __nullable * __nullable)error +NS_SWIFT_NAME(configure(username:password:configuration:)); - (void)connect; - (void)disconnect;