eapol/eapol_framework/eapol_common/am/include/abs_eap_am_type_leap.h
author hgs
Thu, 16 Sep 2010 13:07:04 +0300
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
permissions -rw-r--r--
201037

/*
* 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: %
*/

#ifndef ABS_EAP_AM_TYPE_LEAP_H
#define ABS_EAP_AM_TYPE_LEAP_H

// INCLUDES
#include "eap_type_leap_types.h"
#include "eap_am_export.h"
// Start: added by script change_export_macros.sh.
#if defined(EAP_NO_EXPORT_ABS_EAP_AM_TYPE_LEAP_H)
	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_NONSHARABLE 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H 
	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H 
#elif defined(EAP_EXPORT_ABS_EAP_AM_TYPE_LEAP_H)
	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_EXPORT 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_FUNC_EXPORT 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_C_FUNC_EXPORT 
	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H EAP_FUNC_EXPORT 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H EAP_C_FUNC_EXPORT 
#else
	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_IMPORT 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_FUNC_IMPORT 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H EAP_C_FUNC_IMPORT 
	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_LEAP_H 
#endif
// End: added by script change_export_macros.sh.


// CLASS DECLARATION

/// This class declares the functions adaptation module of LEAP type
/// requires from the LEAP EAP type.
class EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_LEAP_H abs_eap_am_type_leap_c
{
private:

protected:

public:

	virtual ~abs_eap_am_type_leap_c()
	{
	}

	abs_eap_am_type_leap_c()
	{
	}

	virtual bool get_is_client() = 0;

	virtual eap_status_e complete_eap_identity_query() = 0;

	virtual eap_status_e client_complete_challenge_request() = 0;

	virtual eap_status_e finish_unsuccessful_authentication(
		const bool authentication_cancelled) = 0;

}; // class abs_eap_am_type_leap_c

#endif // ABS_EAP_AM_TYPE_LEAP_H

// End of File