eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_types.cpp
equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: This file defines the constants and types of the protected setup protocol. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 26 % |
19 * %version: 22.1.3 % |
20 */ |
20 */ |
21 |
21 |
22 // This is enumeration of EAPOL source code. |
22 // This is enumeration of EAPOL source code. |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
24 #undef EAP_FILE_NUMBER_ENUM |
24 #undef EAP_FILE_NUMBER_ENUM |
59 m_is_valid = true; |
59 m_is_valid = true; |
60 } |
60 } |
61 |
61 |
62 //-------------------------------------------------- |
62 //-------------------------------------------------- |
63 |
63 |
64 EAP_FUNC_EXPORT u8_t network_key_and_index_c::get_network_key_index() const |
64 EAP_FUNC_EXPORT u8_t network_key_and_index_c::get_network_key_index() |
65 { |
65 { |
66 return m_network_key_index; |
66 return m_network_key_index; |
67 } |
67 } |
68 |
68 |
69 //-------------------------------------------------- |
69 //-------------------------------------------------- |
74 } |
74 } |
75 |
75 |
76 //-------------------------------------------------- |
76 //-------------------------------------------------- |
77 |
77 |
78 EAP_FUNC_EXPORT eap_variable_data_c * network_key_and_index_c::get_network_key() |
78 EAP_FUNC_EXPORT eap_variable_data_c * network_key_and_index_c::get_network_key() |
79 { |
|
80 return &m_network_key; |
|
81 } |
|
82 |
|
83 //-------------------------------------------------- |
|
84 |
|
85 EAP_FUNC_EXPORT const eap_variable_data_c * network_key_and_index_c::get_network_key_const() const |
|
86 { |
79 { |
87 return &m_network_key; |
80 return &m_network_key; |
88 } |
81 } |
89 |
82 |
90 //-------------------------------------------------- |
83 //-------------------------------------------------- |