Define OpenVPN events

This commit is contained in:
Sergey Abramchuk
2017-02-11 14:38:03 +03:00
parent d316cd7ebd
commit bc67a391b0

View File

@@ -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 <Foundation/Foundation.h>
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
};