diff -r 093cf0757204 -r 938269283a16 eapol/eapol_framework/eapol_common/am/include/eap_am_general_settings.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eapol/eapol_framework/eapol_common/am/include/eap_am_general_settings.h Fri Jun 11 13:40:22 2010 +0300 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2001-2006 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" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: EAP and WLAN authentication protocols. +* +*/ + +/* +* %version: 7 % +*/ + +#if !defined(_EAP_AM_GENERAL_SETTINGS_H_) +#define _EAP_AM_GENERAL_SETTINGS_H_ + +#include "eap_tools.h" +#include "eap_status.h" +#include "eap_am_export.h" +#include "eap_expanded_type.h" +#include "eap_array.h" +#include "eap_database_reference_if.h" + +class eap_method_settings_c; +class abs_eap_am_general_settings_c; + +/** @file */ + +/// This class is the common part of EAP message interface. +/// This class is interface to the message creation and parsing function. +class EAP_EXPORT eap_am_general_settings_c +{ + +private: + + // ---------------------------------------------------------------------- + +public: + + virtual ~eap_am_general_settings_c() + { + } + + virtual bool get_is_valid() = 0; + + // This is documented in abs_eap_stack_interface_c::configure(). + virtual eap_status_e configure() = 0; + + // This is documented in abs_eap_stack_interface_c::shutdown(). + virtual eap_status_e shutdown() = 0; + + virtual eap_status_e get_eap_methods(const eap_method_settings_c * const internal_settings) = 0; + + virtual eap_status_e set_eap_methods(const eap_method_settings_c * const internal_settings) = 0; + + virtual eap_status_e get_certificate_lists(const eap_method_settings_c * const internal_settings) = 0; + + virtual eap_status_e delete_all_eap_settings(const eap_method_settings_c * const internal_settings) = 0; + + virtual eap_status_e copy_all_eap_settings(const eap_method_settings_c * const internal_settings) = 0; + + // ---------------------------------------------------------------------- +}; + +eap_am_general_settings_c * new_eap_am_general_settings_c( + abs_eap_am_tools_c * const tools, + abs_eap_am_general_settings_c * const partner); + +#endif //#if !defined(_EAP_AM_GENERAL_SETTINGS_H_) + + +//-------------------------------------------------- +// End