OpenVPNAdapter/OpenVPN Adapter/OpenVPNEvent.h

50 lines
1.2 KiB
C
Raw Normal View History

2017-02-11 19:38:03 +08:00
//
// ClientEvent.h
// OpenVPN NEF Test
//
// Created by Sergey Abramchuk on 05.11.16.
// Copyright © 2016 ss-abramchuk. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
<#Description#>
*/
2017-02-11 19:38:03 +08:00
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
};