eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_types.cpp
branchRCL_3
changeset 18 bad0cc58d154
parent 2 1c7bc153c08e
child 19 c74b3d9f6b9e
--- a/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_types.cpp	Thu Aug 19 09:58:27 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_types.cpp	Tue Aug 31 15:16:37 2010 +0300
@@ -11,12 +11,12 @@
 *
 * Contributors:
 *
-* Description:  EAP and WLAN authentication protocols.
+* Description:  This file defines the constants and types of the protected setup protocol.
 *
 */
 
 /*
-* %version: 22.1.3 %
+* %version: 26 %
 */
 
 // This is enumeration of EAPOL source code.
@@ -61,7 +61,7 @@
 
 //--------------------------------------------------
 
-EAP_FUNC_EXPORT u8_t network_key_and_index_c::get_network_key_index()
+EAP_FUNC_EXPORT u8_t network_key_and_index_c::get_network_key_index() const
 {
 	return m_network_key_index;
 }
@@ -82,6 +82,13 @@
 
 //--------------------------------------------------
 
+EAP_FUNC_EXPORT const eap_variable_data_c * network_key_and_index_c::get_network_key_const() const
+{
+	return &m_network_key;
+}
+
+//--------------------------------------------------
+
 EAP_FUNC_EXPORT network_key_and_index_c * network_key_and_index_c::copy()
 {
 	network_key_and_index_c * const copy_object = new network_key_and_index_c(m_am_tools);