Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test/usb/t_usb_device/include/apitests.h
18 #ifndef __APITESTS_H__
19 #define __APITESTS_H__
21 extern void SetupDescriptors(LDDConfigPtr aLddPtr,RDEVCLIENT* aPort, TUint16 aPid = 0);
23 extern void TestEndpointDescriptor(RDEVCLIENT* aPort,TInt aIfSetting, TInt aEpNumber,TUsbcEndpointInfo aEpInfo);
25 extern void TestInvalidSetInterface (RDEVCLIENT* aPort,TInt aNumSettings);
27 extern void TestInvalidReleaseInterface (RDEVCLIENT* aPort,TInt aNumSettings);
29 extern void TestDescriptorManipulation(TBool aHighSpeed, RDEVCLIENT* aPort, TInt aNumSettings);
31 extern void TestOtgExtensions(RDEVCLIENT* aPort);
33 extern void TestEndpoint0MaxPacketSizes(RDEVCLIENT* aPort);
35 #endif // __APITESTS_H__