/* usb/transaction.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * transaction calls
 *
 * $Id: transaction.h,v 1.10 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_TRANSACTION_H
#define __USB_TRANSACTION_H "$Id: transaction.h,v 1.10 2003/08/07 13:06:57 ben Exp $"

/** set the result of an transaction
 * @memo set the result of an transaction
 */
extern int usb_transaction_result(struct usb_transaction_basic_s *,
				  int *transaction_result);

/** Tracking function typedef
 */
typedef void (*usb_tracking_fn_t)(struct usb_transaction_basic_s *,
				  void *, int);

/** transaction tracking
 */
extern int usb_transaction_tracking(struct usb_endpoint_s *act_endpoint,
				    usb_tracking_fn_t, void *);


#endif /* __USB_TRANSACTION_H */









