/* usb/lib/getnewdev.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * USB Library: Header file for drivers launched from command line
 *
 * $Id: getnewdev.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_GETNEWDEV_H
#define __USB_LIB_GETNEWDEV_H "$Id: getnewdev.h,v 1.2 2003/08/06 15:56:11 ben Exp $"

/** Finds a device either from the supplied command line, or via
 the new device message from the unclaimed device pool

@memo find a new device either from command line or from unclaimed pool
@param argc arg count
@param argv arg string vector
@param filters array of filters to find the device
*/
extern struct usbmsg_new_device * usblib_init_getdevice(int argc,
                                                        char **argv,
                      struct usbmsg_device_filter **filters);

#endif /* __USB_LIB_GETNEWDEV_H */
