From bc67a391b044a380e49f410645f2d5803ac1f179 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Sat, 11 Feb 2017 14:38:03 +0300 Subject: [PATCH] Define OpenVPN events --- OpenVPN Tunnel Provider/OpenVPNEvent.h | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 OpenVPN Tunnel Provider/OpenVPNEvent.h diff --git a/OpenVPN Tunnel Provider/OpenVPNEvent.h b/OpenVPN Tunnel Provider/OpenVPNEvent.h new file mode 100644 index 0000000..25f29d3 --- /dev/null +++ b/OpenVPN Tunnel Provider/OpenVPNEvent.h @@ -0,0 +1,47 @@ +// +// ClientEvent.h +// OpenVPN NEF Test +// +// Created by Sergey Abramchuk on 05.11.16. +// Copyright © 2016 ss-abramchuk. All rights reserved. +// + +#import + + +typedef NS_ENUM(NSUInteger, OpenVPNEvent) { + OpenVPNEventDisconnected, + OpenVPNEventConnected, + OpenVPNEventReconnecting, + OpenVPNEventResolve, + OpenVPNEventWait, + OpenVPNEventWaitProxy, + OpenVPNEventConnecting, + OpenVPNEventGetConfig, + OpenVPNEventAssignIP, + OpenVPNEventAddRoutes, + OpenVPNEventEcho, + OpenVPNEventInfo, + OpenVPNEventPause, + OpenVPNEventResume, + OpenVPNEventTransportError, + OpenVPNEventTunError, + OpenVPNEventClientRestart, + OpenVPNEventAuthFailed, + OpenVPNEventCertVerifyFail, + OpenVPNEventTLSVersionMin, + OpenVPNEventClientHalt, + OpenVPNEventConnectionTimeout, + OpenVPNEventInactiveTimeout, + OpenVPNEventDynamicChallenge, + OpenVPNEventProxyNeedCreds, + OpenVPNEventProxyError, + OpenVPNEventTunSetupFailed, + OpenVPNEventTunIfaceCreate, + OpenVPNEventTunIfaceDisabled, + OpenVPNEventEPKIError, + OpenVPNEventEPKIInvalidAlias, + OpenVPNEventInitializationFailed, + OpenVPNEventConnectionFailed, + OpenVPNEventUnknown +};