aboutsummaryrefslogtreecommitdiff
path: root/x86_64-w64-mingw32/include/eapauthenticatoractiondefine.h
blob: 2585af15c90a45e01e7ba49fac319e1fd4b97b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is part of the mingw-w64 runtime package.
 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 */
#ifndef _INC_EAPAUTHENTICATORACTIONDEFINE
#define _INC_EAPAUTHENTICATORACTIONDEFINE
#if (_WIN32_WINNT >= 0x0600)
#include <eaptypes.h>
#ifdef __cplusplus
extern "C" {
#endif

typedef enum _EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION {
  EAP_METHOD_AUTHENTICATOR_RESPONSE_DISCARD           = 0,
  EAP_METHOD_AUTHENTICATOR_RESPONSE_SEND              = 1,
  EAP_METHOD_AUTHENTICATOR_RESPONSE_RESULT            = 2,
  EAP_METHOD_AUTHENTICATOR_RESPONSE_RESPOND           = 3,
  EAP_METHOD_AUTHENTICATOR_RESPONSE_AUTHENTICATE      = 4,
  EAP_METHOD_AUTHENTICATOR_RESPONSE_HANDLE_IDENTITY   = 5 
} EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION;

typedef enum _EapPeerMethodResponseAction {
  EapPeerMethodResponseActionDiscard    = 0,
  EapPeerMethodResponseActionSend       = 1,
  EapPeerMethodResponseActionResult     = 2,
  EapPeerMethodResponseActionInvokeUI   = 3,
  EapPeerMethodResponseActionRespond    = 4,
  EapPeerMethodResponseActionNone       = 5 
} EapPeerMethodResponseAction;

typedef enum  {
  EapPeerMethodResultUnknown   = 1,
  EapPeerMethodResultSuccess   = 2,
  EapPeerMethodResultFailure   = 3 
} EapPeerMethodResultReason;

typedef struct _EAP_METHOD_AUTHENTICATOR_RESULT {
  BOOL           fIsSuccess;
  DWORD          dwFailureReason;
  EAP_ATTRIBUTES *pAuthAttribs;
} EAP_METHOD_AUTHENTICATOR_RESULT;

typedef struct tagEapPeerMethodOutput {
  EapPeerMethodResponseAction action;
  WINBOOL                     fAllowNotifications;
} EapPeerMethodOutput;

#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_EAPAUTHENTICATORACTIONDEFINE*/