equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 21 % |
19 * %version: 22 % |
20 */ |
20 */ |
21 |
21 |
22 #include "EapCoreInterface.h" |
22 #include "EapCoreInterface.h" |
23 #include "eap_am_tools.h" |
23 #include "eap_am_tools.h" |
24 #include "EapolUID.h" |
24 #include "EapolUID.h" |
25 #include "EapPluginTools.h" |
25 #include "EapPluginTools.h" |
26 |
26 #include "eap_am_message_if.h" |
27 CEapCoreInterface::CEapCoreInterface(const u32_t MTU): |
27 |
|
28 EAP_FUNC_EXPORT CEapCoreInterface::CEapCoreInterface(const u32_t MTU): |
28 iClient(NULL) |
29 iClient(NULL) |
29 ,iIsValid(FALSE) |
30 ,iIsValid(FALSE) |
30 ,iTools(0) |
31 ,iTools(0) |
31 ,iEapCoreInterface(0) |
32 ,iEapCoreInterface(0) |
32 ,iServer(0) |
33 ,iServer(0) |
33 ,iMTU(MTU) |
34 ,iMTU(MTU) |
34 { |
35 { |
35 } |
36 } |
36 |
37 |
37 CEapCoreInterface::~CEapCoreInterface() |
38 EAP_FUNC_EXPORT CEapCoreInterface::~CEapCoreInterface() |
38 { |
39 { |
39 delete iEapCoreInterface; |
40 delete iEapCoreInterface; |
40 } |
41 } |
41 |
42 |
42 EAP_FUNC_EXPORT CEapProcessInterface* CEapCoreInterface::ConstrucL(abs_eap_am_tools_c * const tools) |
43 EAP_FUNC_EXPORT CEapProcessInterface* CEapCoreInterface::ConstrucL(abs_eap_am_tools_c * const tools) |
74 |
75 |
75 return iServer; |
76 return iServer; |
76 |
77 |
77 } |
78 } |
78 |
79 |
79 EAP_FUNC_EXPORT eap_am_message_if_c * new_eap_am_client_message_if_c( |
80 |
|
81 EAP_C_FUNC_EXPORT eap_am_message_if_c * new_eap_am_client_message_if_c( |
80 abs_eap_am_tools_c * const tools, |
82 abs_eap_am_tools_c * const tools, |
81 const bool /* is_client_when_true */, |
83 const bool /* is_client_when_true */, |
82 const u32_t MTU) |
84 const u32_t MTU) |
83 { |
85 { |
84 CEapCoreInterface * aEapCoreInterface = 0; |
86 CEapCoreInterface * aEapCoreInterface = 0; |