/* usb/lib/find-desc.h
 *
 * (c) 2003 Simtec Electronics
 *
 * Ben Dooks
 *
 * USB Library: Header file for find descriptor function
 *
 * $Id: find-desc.h,v 1.2 2003/08/06 15:56:11 ben Exp $
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
 */

#ifndef __USB_LIB_FIND_DESC_H
#define __USB_LIB_FIND_DESC_H "$Id: find-desc.h,v 1.2 2003/08/06 15:56:11 ben Exp $"

/** Find a configuration descriptor in a block of memory
@memo Find a configuration descriptor in a block of memory
@param ptr pointer to memory block
@param len size of the block
@param descr_type type number of the descriptor that is being searched for
*/

extern unsigned char *usblib_find_descriptor(unsigned char *ptr,
					     int len,  int descr_type);


#endif /* __USB_LIB_FIND_DESC_H */
