eapauthenticatoractiondefine.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_EAPAUTHENTICATORACTIONDEFINE
  7. #define _INC_EAPAUTHENTICATORACTIONDEFINE
  8. #if (_WIN32_WINNT >= 0x0600)
  9. #include <eaptypes.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. typedef enum _EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION {
  14. EAP_METHOD_AUTHENTICATOR_RESPONSE_DISCARD = 0,
  15. EAP_METHOD_AUTHENTICATOR_RESPONSE_SEND = 1,
  16. EAP_METHOD_AUTHENTICATOR_RESPONSE_RESULT = 2,
  17. EAP_METHOD_AUTHENTICATOR_RESPONSE_RESPOND = 3,
  18. EAP_METHOD_AUTHENTICATOR_RESPONSE_AUTHENTICATE = 4,
  19. EAP_METHOD_AUTHENTICATOR_RESPONSE_HANDLE_IDENTITY = 5
  20. } EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION;
  21. typedef enum _EapPeerMethodResponseAction {
  22. EapPeerMethodResponseActionDiscard = 0,
  23. EapPeerMethodResponseActionSend = 1,
  24. EapPeerMethodResponseActionResult = 2,
  25. EapPeerMethodResponseActionInvokeUI = 3,
  26. EapPeerMethodResponseActionRespond = 4,
  27. EapPeerMethodResponseActionNone = 5
  28. } EapPeerMethodResponseAction;
  29. typedef enum {
  30. EapPeerMethodResultUnknown = 1,
  31. EapPeerMethodResultSuccess = 2,
  32. EapPeerMethodResultFailure = 3
  33. } EapPeerMethodResultReason;
  34. typedef struct _EAP_METHOD_AUTHENTICATOR_RESULT {
  35. BOOL fIsSuccess;
  36. DWORD dwFailureReason;
  37. EAP_ATTRIBUTES *pAuthAttribs;
  38. } EAP_METHOD_AUTHENTICATOR_RESULT;
  39. typedef struct tagEapPeerMethodOutput {
  40. EapPeerMethodResponseAction action;
  41. WINBOOL fAllowNotifications;
  42. } EapPeerMethodOutput;
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif /*(_WIN32_WINNT >= 0x0600)*/
  47. #endif /*_INC_EAPAUTHENTICATORACTIONDEFINE*/