Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
3.0 KiB

  1. /*++
  2. Copyright (c) 2001, Microsoft Corporation
  3. Module Name:
  4. elpolicy.h
  5. Abstract:
  6. EAPOL group policy settings module
  7. Revision History:
  8. sachins, November 13, 2001, Created
  9. --*/
  10. #ifndef _ELPOLICY_H
  11. #define _ELPOLICY_H
  12. typedef struct _EAPOL_POLICY_PARAMS {
  13. EAPOL_INTF_PARAMS IntfParams;
  14. DWORD dwEAPOLAuthMode;
  15. DWORD dwSupplicantMode;
  16. DWORD dwmaxStart;
  17. DWORD dwstartPeriod;
  18. DWORD dwauthPeriod;
  19. DWORD dwheldPeriod;
  20. } EAPOL_POLICY_PARAMS, *PEAPOL_POLICY_PARAMS;
  21. DWORD
  22. ElPolicyChange (
  23. IN EAPOL_POLICY_LIST *pEAPOLPolicyList
  24. );
  25. DWORD
  26. WINAPI
  27. ElPolicyChangeWorker (
  28. IN PVOID pvContext
  29. );
  30. BOOLEAN
  31. ElIsDifferentEAPOLPolicySettings (
  32. IN EAPOL_POLICY_LIST *pOldEAPOLPolicyList,
  33. IN EAPOL_POLICY_LIST *pNewEAPOLPolicyList
  34. );
  35. DWORD
  36. ElGetPolicyParams (
  37. IN OUT EAPOL_PCB *pPCB
  38. );
  39. DWORD
  40. ElGetPolicyInterfaceParams (
  41. IN DWORD dwSizeOfSSID,
  42. IN BYTE *pbSSID,
  43. IN OUT EAPOL_POLICY_PARAMS *pEAPOLPolicyParams
  44. );
  45. DWORD
  46. ElGetPolicyCustomAuthData (
  47. IN DWORD dwEapTypeId,
  48. IN DWORD dwSizeOfSSID,
  49. IN BYTE *pbSSID,
  50. IN PBYTE *ppbConnInfoIn,
  51. IN DWORD *pdwInfoSizeIn,
  52. OUT PBYTE *ppbConnInfoOut,
  53. OUT DWORD *pdwInfoSizeOut
  54. );
  55. DWORD
  56. ElFindPolicyData (
  57. IN DWORD dwSizeOfSSID,
  58. IN PBYTE pbSSID,
  59. IN EAPOL_POLICY_LIST *pPolicyList,
  60. OUT PEAPOL_POLICY_DATA *ppEAPOLPolicyData
  61. );
  62. DWORD
  63. ElVerifyPolicySettingsChange (
  64. IN EAPOL_POLICY_LIST *pNewPolicyList,
  65. IN OUT BOOLEAN *pfIdentical
  66. );
  67. DWORD
  68. ElProcessAddedPolicySettings (
  69. IN EAPOL_POLICY_LIST *pNewPolicyList,
  70. IN OUT PEAPOL_POLICY_LIST *ppReauthPolicyList,
  71. IN OUT PEAPOL_POLICY_LIST *ppRestartPolicyList
  72. );
  73. DWORD
  74. ElProcessChangedPolicySettings (
  75. IN EAPOL_POLICY_LIST *pNewPolicyList,
  76. IN OUT PEAPOL_POLICY_LIST *ppReauthPolicyList,
  77. IN OUT PEAPOL_POLICY_LIST *ppRestartPolicyList
  78. );
  79. DWORD
  80. ElProcessDeletedPolicySettings (
  81. IN EAPOL_POLICY_LIST *pNewPolicyList,
  82. IN OUT PEAPOL_POLICY_LIST *ppReauthPolicyList,
  83. IN OUT PEAPOL_POLICY_LIST *ppRestartPolicyList
  84. );
  85. DWORD
  86. ElAddToPolicyList (
  87. IN OUT PEAPOL_POLICY_LIST *ppList,
  88. IN EAPOL_POLICY_DATA *pData
  89. );
  90. DWORD
  91. ElProcessPolicySettings (
  92. IN EAPOL_POLICY_LIST *pReauthList,
  93. IN EAPOL_POLICY_LIST *pRestartList
  94. );
  95. DWORD
  96. ElUpdateGlobalPolicySettings (
  97. IN EAPOL_POLICY_LIST *pNewPolicyList
  98. );
  99. DWORD
  100. ElCopyPolicyList (
  101. IN PEAPOL_POLICY_LIST pInList,
  102. OUT PEAPOL_POLICY_LIST *ppOutList
  103. );
  104. VOID
  105. ElFreePolicyList (
  106. IN PEAPOL_POLICY_LIST pEAPOLList
  107. );
  108. #endif // _ELPOLICY_H