| 1 | /**
|
|---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
|---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
|---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|---|
| 5 | */
|
|---|
| 6 | #ifndef _INC_EAPHOSTPEERTYPES
|
|---|
| 7 | #define _INC_EAPHOSTPEERTYPES
|
|---|
| 8 | #if (_WIN32_WINNT >= 0x0600)
|
|---|
| 9 | #include <eaptypes.h>
|
|---|
| 10 | #ifdef __cplusplus
|
|---|
| 11 | extern "C" {
|
|---|
| 12 | #endif
|
|---|
| 13 |
|
|---|
| 14 | typedef enum tagEapHostPeerMethodResultReason {
|
|---|
| 15 | EapHostPeerMethodResultAltSuccessReceived = 1,
|
|---|
| 16 | EapHostPeerMethodResultTimeout = 2,
|
|---|
| 17 | EapHostPeerMethodResultFromMethod = 3
|
|---|
| 18 | } EapHostPeerMethodResultReason;
|
|---|
| 19 |
|
|---|
| 20 | typedef enum tagEapHostPeerResponseAction {
|
|---|
| 21 | EapHostPeerResponseDiscard = 0,
|
|---|
| 22 | EapHostPeerResponseSend = 1,
|
|---|
| 23 | EapHostPeerResponseResult = 2,
|
|---|
| 24 | EapHostPeerResponseInvokeUI = 3,
|
|---|
| 25 | EapHostPeerResponseRespond = 4,
|
|---|
| 26 | EapHostPeerResponseStartAuthentication = 5,
|
|---|
| 27 | EapHostPeerResponseNone = 6
|
|---|
| 28 | } EapHostPeerResponseAction;
|
|---|
| 29 |
|
|---|
| 30 | typedef enum tagEapHostPeerAuthParams {
|
|---|
| 31 | EapHostPeerAuthStatus = 1,
|
|---|
| 32 | EapHostPeerIdentity = 2,
|
|---|
| 33 | EapHostPeerIdentityExtendedInfo = 3,
|
|---|
| 34 | EapHostNapInfo = 4
|
|---|
| 35 | } EapHostPeerAuthParams;
|
|---|
| 36 |
|
|---|
| 37 | typedef enum _ISOLATION_STATE {
|
|---|
| 38 | ISOLATION_STATE_UNKNOWN = 0,
|
|---|
| 39 | ISOLATION_STATE_NOT_RESTRICTED = 1,
|
|---|
| 40 | ISOLATION_STATE_IN_PROBATION = 2,
|
|---|
| 41 | ISOLATION_STATE_RESTRICTED_ACCESS = 3
|
|---|
| 42 | } ISOLATION_STATE;
|
|---|
| 43 |
|
|---|
| 44 | typedef enum _EAPHOST_AUTH_STATUS {
|
|---|
| 45 | EapHostInvalidSession = 0,
|
|---|
| 46 | EapHostAuthNotStarted = 1,
|
|---|
| 47 | EapHostAuthIdentityExchange = 2,
|
|---|
| 48 | EapHostAuthNegotiatingType = 3,
|
|---|
| 49 | EapHostAuthInProgress = 4,
|
|---|
| 50 | EapHostAuthSucceeded = 5,
|
|---|
| 51 | EapHostAuthFailed = 6
|
|---|
| 52 | } EAPHOST_AUTH_STATUS;
|
|---|
| 53 |
|
|---|
| 54 | typedef struct _EAPHOST_AUTH_INFO {
|
|---|
| 55 | EAPHOST_AUTH_STATUS status;
|
|---|
| 56 | DWORD dwErrorCode;
|
|---|
| 57 | DWORD dwReasonCode;
|
|---|
| 58 | } EAPHOST_AUTH_INFO;
|
|---|
| 59 |
|
|---|
| 60 | #if (_WIN32_WINNT >= 0x0601)
|
|---|
| 61 | typedef struct _tagEapHostPeerNapInfo {
|
|---|
| 62 | ISOLATION_STATE isolationState;
|
|---|
| 63 | ProbationTime probationTime;
|
|---|
| 64 | UINT32 stringCorrelationIdLength;
|
|---|
| 65 | } EapHostPeerNapInfo, *PEapHostPeerNapInfo;
|
|---|
| 66 | #endif /*(_WIN32_WINNT >= 0x0601)*/
|
|---|
| 67 |
|
|---|
| 68 | #ifdef __cplusplus
|
|---|
| 69 | }
|
|---|
| 70 | #endif
|
|---|
| 71 | #endif /*(_WIN32_WINNT >= 0x0600)*/
|
|---|
| 72 | #endif /*_INC_EAPHOSTPEERTYPES*/
|
|---|