/usr/i686-w64-mingw32/include/eapmethodauthenticatorapis.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_EAPMETHODAUTHENTICATORAPIS
#define _INC_EAPMETHODAUTHENTICATORAPIS
#if (_WIN32_WINNT >= 0x0600)
#include <eaptypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _EAP_AUTHENTICATOR_METHOD_ROUTINES {
DWORD dwSizeInBytes;
EAP_METHOD_TYPE *pEapType;
DWORD (APIENTRY *EapMethodAuthenticatorInitialize)(
EAP_METHOD_TYPE pEapType,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorBeginSession)(
DWORD dwFlags,
LPCWSTR pwszIdentity,
EapAttributes pAttributeArray,
DWORD dwSizeOfConnectionData,
BYTE pConnectionData,
DWORD dwMaxSendPacketSize,
EAP_SESSION_HANDLE pSessionHandle,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorUpdateInnerMethodParams)(
EAP_SESSION_HANDLE sessionHandle,
DWORD dwFlags,
WCHAR pwszIdentity,
EapAttributes pAttributeArray,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorReceivePacket)(
EAP_SESSION_HANDLE sessionHandle,
DWORD cbReceivePacket,
EapPacket pReceivePacket,
EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION pEapOutput,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorSendPacket)(
EAP_SESSION_HANDLE sessionHandle,
BYTE bPacketId,
DWORD pcbSendPacket,
EapPacket pSendPacket,
EAP_AUTHENTICATOR_SEND_TIMEOUT pTimeout,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorGetAttributes)(
EAP_SESSION_HANDLE sessionHandle,
EapAttributes pAttribs,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorSetAttributes)(
EAP_SESSION_HANDLE sessionHandle,
EapAttributes pAttribs,
EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION pEapOutput,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorGetResult)(
EAP_SESSION_HANDLE sessionHandle,
EAP_METHOD_AUTHENTICATOR_RESULT pResult,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorEndSession)(
EAP_SESSION_HANDLE sessionHandle,
EAP_ERROR ppEapError);
DWORD (APIENTRY *EapMethodAuthenticatorShutdown)(
EAP_METHOD_TYPE pEapType,
EAP_ERROR ppEapError);
} EAP_AUTHENTICATOR_METHOD_ROUTINES;
VOID WINAPI EapMethodAuthenticatorFreeMemory(
void *pUIContextData
);
DWORD WINAPI EapMethodAuthenticatorInitialize(
EAP_METHOD_TYPE *pEapType,
EAP_ERROR **ppEapError
);
VOID WINAPI EapPeerFreeErrorMemory(
EAP_ERROR *ppEapError
);
DWORD WINAPI EapMethodAuthenticatorGetResult(
EAP_SESSION_HANDLE sessionHandle,
EAP_METHOD_AUTHENTICATOR_RESULT *pResult,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorBeginSession(
DWORD dwFlags,
LPCWSTR pwszIdentity,
const EapAttributes *pAttributeArray,
DWORD dwSizeOfConnectionData,
const BYTE *pConnectionData,
DWORD dwMaxSendPacketSize,
EAP_SESSION_HANDLE *pSessionHandle,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorFreeErrorMemory(
EAP_ERROR *ppEapError
);
DWORD EapMethodAuthenticatorEndSession(
EAP_SESSION_HANDLE sessionHandle,
EAP_ERROR **ppEapError
);
DWORD EapMethodAuthenticatorGetAttributes(
EAP_SESSION_HANDLE sessionHandle,
EapAttributes *pAttribs,
EAP_ERROR **ppEapError
);
DWORD EapMethodAuthenticatorGetInfo(
EAP_METHOD_TYPE *pEapType,
EAP_AUTHENTICATOR_METHOD_ROUTINES *pEapInfo,
EAP_ERROR **ppEapError
);
DWORD EapMethodAuthenticatorGetResult(
EAP_SESSION_HANDLE sessionHandle,
EAP_METHOD_AUTHENTICATOR_RESULT *pResult,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorInvokeConfigUI(
EAP_METHOD_TYPE *pEapMethodType,
HWND hwndParent,
DWORD dwFlags,
LPCWSTR pwszMachineName,
DWORD dwSizeOfConfigIn,
BYTE *pConfigIn,
DWORD *pdwSizeOfConfigOut,
BYTE **ppConfigOut,
EAP_ERROR **pEapError
);
DWORD WINAPI EapMethodAuthenticatorReceivePacket(
EAP_SESSION_HANDLE sessionHandle,
DWORD cbReceivePacket,
const EapPacket *pReceivePacket,
EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION *pEapOutput,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorSendPacket(
EAP_SESSION_HANDLE sessionHandle,
BYTE bPacketId,
DWORD *pcbSendPacket,
EapPacket *pSendPacket,
EAP_AUTHENTICATOR_SEND_TIMEOUT *pTimeout,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorSetAttributes(
EAP_SESSION_HANDLE sessionHandle,
const EapAttributes *pAttribs,
EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION *pEapOutput,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorShutdown(
EAP_METHOD_TYPE *peapType,
EAP_ERROR **ppEapError
);
DWORD WINAPI EapMethodAuthenticatorUpdateInnerMethodParams(
EAP_SESSION_HANDLE sessionHandle,
DWORD dwFlags,
const WCHAR *pwszIdentity,
const EapAttributes *pAttributeArray,
EAP_ERROR **ppEapError
);
#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_EAPMETHODAUTHENTICATORAPIS*/
|