sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test/usb/t_usb_device/include/apitests.h sl@0: // sl@0: // sl@0: sl@0: #ifndef __APITESTS_H__ sl@0: #define __APITESTS_H__ sl@0: sl@0: extern void SetupDescriptors(LDDConfigPtr aLddPtr,RDEVCLIENT* aPort, TUint16 aPid = 0); sl@0: sl@0: extern void TestEndpointDescriptor(RDEVCLIENT* aPort,TInt aIfSetting, TInt aEpNumber,TUsbcEndpointInfo aEpInfo); sl@0: sl@0: extern void TestInvalidSetInterface (RDEVCLIENT* aPort,TInt aNumSettings); sl@0: sl@0: extern void TestInvalidReleaseInterface (RDEVCLIENT* aPort,TInt aNumSettings); sl@0: sl@0: extern void TestDescriptorManipulation(TBool aHighSpeed, RDEVCLIENT* aPort, TInt aNumSettings); sl@0: sl@0: extern void TestOtgExtensions(RDEVCLIENT* aPort); sl@0: sl@0: extern void TestEndpoint0MaxPacketSizes(RDEVCLIENT* aPort); sl@0: sl@0: #endif // __APITESTS_H__