batch.h File Reference

USB transfer transaction structures. More...

#include <adt/list.h>
#include <usbhc_iface.h>
#include <usb/usb.h>
#include <usb/host/endpoint.h>

Go to the source code of this file.

Data Structures

struct  usb_transfer_batch

Typedefs

typedef usb_transfer_batch usb_transfer_batch_t

Functions

void usb_transfer_batch_call_in_and_dispose (usb_transfer_batch_t *instance)
 Helper function, calls callback and correctly destroys batch structure.
void usb_transfer_batch_call_out_and_dispose (usb_transfer_batch_t *instance)
 Helper function calls callback and correctly destroys batch structure.
void usb_transfer_batch_dispose (usb_transfer_batch_t *instance)
 Correctly dispose all used data structures.
void usb_transfer_batch_finish (usb_transfer_batch_t *instance)
 Mark batch as finished and continue with next step.
static void usb_transfer_batch_finish_error (usb_transfer_batch_t *instance, int error)
static usb_transfer_batch_tusb_transfer_batch_from_link (link_t *l)
void usb_transfer_batch_init (usb_transfer_batch_t *instance, endpoint_t *ep, char *buffer, char *data_buffer, size_t buffer_size, char *setup_buffer, size_t setup_size, usbhc_iface_transfer_in_callback_t func_in, usbhc_iface_transfer_out_callback_t func_out, void *arg, ddf_fun_t *fun, void *private_data, void(*private_data_dtor)(void *p_data))


Detailed Description

USB transfer transaction structures.

Definition in file batch.h.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7