Changeset 549ff23 in mainline for uspace/lib/usbhost/src/iface.c


Ignore:
Timestamp:
2011-10-29T15:35:52Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17412546
Parents:
4dfc905
Message:

libusbhost: Cleanup usb_transfer_batch interface.

Remove redundant and unused call_in/call_out functions.
Rename functions: get ⇒ create, dispose ⇒ destroy.
Add/Fix doxygen comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/iface.c

    r4dfc905 r549ff23  
    7676        /* No private data and no private data dtor */
    7777        usb_transfer_batch_t *batch =
    78             usb_transfer_batch_get(ep, data, size, setup_data,
     78            usb_transfer_batch_create(ep, data, size, setup_data,
    7979            in, out, arg, fun, NULL, NULL);
    8080        if (!batch) {
     
    8484        const int ret = hcd->schedule(hcd, batch);
    8585        if (ret != EOK)
    86                 usb_transfer_batch_dispose(batch);
     86                usb_transfer_batch_destroy(batch);
    8787
    8888        return ret;
Note: See TracChangeset for help on using the changeset viewer.