batch.c File Reference

USB transfer transaction structures (implementation). More...

#include <errno.h>
#include <str_error.h>
#include <usb/usb.h>
#include <usb/debug.h>
#include <usb/host/batch.h>

Go to the source code of this file.

Functions

void usb_transfer_batch_call_in (usb_transfer_batch_t *instance)
 Prepare data, get error status and call callback in.
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 (usb_transfer_batch_t *instance)
 Get error status and call callback out.
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.
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 (implementation).

Definition in file batch.c.


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