mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Define OpenVPN events
This commit is contained in:
@@ -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
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user