eapol/eapol_framework/eapol_common/am/include/eap_am_general_settings.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 7 %
       
    20 */
       
    21 
       
    22 #if !defined(_EAP_AM_GENERAL_SETTINGS_H_)
       
    23 #define _EAP_AM_GENERAL_SETTINGS_H_
       
    24 
       
    25 #include "eap_tools.h"
       
    26 #include "eap_status.h"
       
    27 #include "eap_am_export.h"
       
    28 #include "eap_expanded_type.h"
       
    29 #include "eap_array.h"
       
    30 #include "eap_database_reference_if.h"
       
    31 
       
    32 class eap_method_settings_c;
       
    33 class abs_eap_am_general_settings_c;
       
    34 
       
    35 /** @file */
       
    36 
       
    37 /// This class is the common part of EAP message interface.
       
    38 /// This class is interface to the message creation and parsing function.
       
    39 class EAP_EXPORT eap_am_general_settings_c
       
    40 {
       
    41 
       
    42 private:
       
    43 
       
    44 	// ----------------------------------------------------------------------
       
    45 
       
    46 public:
       
    47 
       
    48 	virtual ~eap_am_general_settings_c()
       
    49 	{
       
    50 	}
       
    51 
       
    52 	virtual bool get_is_valid() = 0;
       
    53 
       
    54 	// This is documented in abs_eap_stack_interface_c::configure().
       
    55 	virtual eap_status_e configure() = 0;
       
    56 
       
    57 	// This is documented in abs_eap_stack_interface_c::shutdown().
       
    58 	virtual eap_status_e shutdown() = 0;
       
    59 
       
    60 	virtual eap_status_e get_eap_methods(const eap_method_settings_c * const internal_settings) = 0;
       
    61 
       
    62 	virtual eap_status_e set_eap_methods(const eap_method_settings_c * const internal_settings) = 0;
       
    63 
       
    64 	virtual eap_status_e get_certificate_lists(const eap_method_settings_c * const internal_settings) = 0;
       
    65 
       
    66 	virtual eap_status_e delete_all_eap_settings(const eap_method_settings_c * const internal_settings) = 0;
       
    67 
       
    68 	virtual eap_status_e copy_all_eap_settings(const eap_method_settings_c * const internal_settings) = 0;
       
    69 
       
    70 	// ----------------------------------------------------------------------
       
    71 };
       
    72 
       
    73 eap_am_general_settings_c * new_eap_am_general_settings_c(
       
    74 	abs_eap_am_tools_c * const tools,
       
    75 	abs_eap_am_general_settings_c * const partner);
       
    76 
       
    77 #endif //#if !defined(_EAP_AM_GENERAL_SETTINGS_H_)
       
    78 
       
    79 
       
    80 //--------------------------------------------------
       
    81 // End