diff options
author | Nikias Bassen | 2024-03-22 12:04:50 +0100 |
---|---|---|
committer | Nikias Bassen | 2024-03-22 12:04:50 +0100 |
commit | 90cd5efc8fd8ce31ede6121d691324ca2d588436 (patch) | |
tree | 73dfa6d84c887ccff6829c7973a1860581176987 /include/libusb-1.0/os/threads_posix.h | |
parent | d3198a50e51674e0ec19284f44f4aeb027d160a3 (diff) | |
download | libirecovery-90cd5efc8fd8ce31ede6121d691324ca2d588436.tar.gz libirecovery-90cd5efc8fd8ce31ede6121d691324ca2d588436.tar.bz2 |
Change irecv_send_buffer to accept an options bitfield instead of just one value
This allows to specify different options. To not break existing behavior, a
value of 1 or (1 << 0) means IRECV_SEND_OPT_DFU_NOTIFY_FINISH which is used
extensively in e.g. idevicerestore. Other options are
IRECV_SEND_OPT_DFU_FORCE_ZLP which I don't remember what it was added for,
and a new option IRECV_SEND_OPT_DFU_SMALL_PKT which needed for upload in
port DFU mode, as it won't accept packets with more than 64 bytes data and
also doesn't like a CRC attached to it.
Diffstat (limited to 'include/libusb-1.0/os/threads_posix.h')
0 files changed, 0 insertions, 0 deletions