diff -r 30e048a7b597 -r bad0cc58d154 eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h --- a/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h Thu Aug 19 09:58:27 2010 +0300 +++ b/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h Tue Aug 31 15:16:37 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of the License "Eclipse Public License v1.0" @@ -11,12 +11,12 @@ * * Contributors: * -* Description: EAP and WLAN authentication protocols. +* Description: This class defines Credential attributes for protected setup (previously known as simple config). * */ /* -* %version: 4.1.2 % +* %version: 9 % */ #if !defined(_SIMPLE_CONFIG_CREDENTIAL_H_) @@ -33,7 +33,7 @@ //---------------------------------------------------------------------------- -/// This class defines Credential attributes. +/// This class defines Credential attributes for protected setup (previously known as simple config). class EAP_EXPORT simple_config_credential_c { private: @@ -73,10 +73,12 @@ EAP_FUNC_IMPORT void set_network_index(const u8_t index); - EAP_FUNC_IMPORT u8_t get_network_index(); + EAP_FUNC_IMPORT u8_t get_network_index() const; EAP_FUNC_IMPORT eap_variable_data_c * get_SSID(); + EAP_FUNC_IMPORT const eap_variable_data_c * get_SSID_const() const; + EAP_FUNC_IMPORT simple_config_Authentication_Type_e get_Authentication_Type(); EAP_FUNC_IMPORT void set_Authentication_Type(const simple_config_Authentication_Type_e Authentication_Type); @@ -87,8 +89,12 @@ EAP_FUNC_IMPORT eap_array_c * get_network_keys(); + EAP_FUNC_IMPORT const eap_array_c * get_network_keys_const() const; + EAP_FUNC_IMPORT eap_variable_data_c * get_MAC_address(); + EAP_FUNC_IMPORT const eap_variable_data_c * get_MAC_address_const() const; + EAP_FUNC_IMPORT bool get_is_valid(); //