/* usb-lib/usb/lib/decode.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * USB Library: Result decoding functions
 *
 * $Id: decode.h,v 1.3 2003/08/07 13:06:57 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_DECODE_H
#define __USB_LIB_DECODE_H "$Id: decode.h,v 1.3 2003/08/07 13:06:57 ben Exp $"

/** usb_decode_transaction_result
 @param res transaction result code
*/

extern const char *usb_decode_transaction_result(usb_transaction_result_t res);

/** usb_decode_result
 @param result result code
 @memo decode a result returned from an USB function call
*/
extern const char *usb_decode_result(int result);

#endif /* __USB_LIB_DECODE_H */
