summaryrefslogtreecommitdiffstats
path: root/include/libirecovery.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-22Change irecv_send_buffer to accept an options bitfield instead of just one valueGravatar Nikias Bassen1-2/+9
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.
2024-03-21Add support for Port DFUGravatar Nikias Bassen1-1/+2
Note: This does not allow restoring devices in Port DFU mode, this is handled in idevicerestore.
2024-03-07Add irecv_version() function to interfaceGravatar Nikias Bassen1-0/+2
2024-01-29Fix IRECV_API definitionsGravatar Nikias Bassen1-10/+4
2024-01-04Initialize KIS device in device callbackGravatar Nikias Bassen1-0/+1
Also, print the detailed mode in irecovery -q and -m output.
2023-05-07Fix dllexport/dllimport and visibility definitionsGravatar Nikias Bassen1-8/+14
2023-05-05move IRECV_API into the headersGravatar Rosen Penev1-39/+49
clang + lld + ucrt on Windows seems to require that the dllimport attribute be applied to the first declaration. Fixes -Wdll-attribute-on-declaration error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-28Introduce non-persistent setenvnp commandGravatar Rick Mark1-0/+1
2021-05-26Add new irecv_send_command_breq to allow choosing the b_request usb param ↵Gravatar Benjamin BOURGEAIS1-0/+1
when sending commands
2020-07-06Fix compiler warning about format string specifiers by using uint64_t ↵Gravatar Nikias Bassen1-3/+3
instead of unsinged long long
2020-06-08Remove a trailig whitespace from public headerGravatar Martin Szulecki1-1/+1
2019-10-03Parse SRTG (build tag string) from usb serial number if availableGravatar Nikias Bassen1-0/+1
2019-10-03Expose entire usb serial number string in struct irecv_device_infoGravatar Nikias Bassen1-0/+1
2019-09-28Add display_name to device database and irecv_device structGravatar Nikias Bassen1-0/+1
2019-09-04Add device add/remove event subscription APIGravatar Nikias Bassen1-4/+19
2018-09-17Add configuration option to allow compiling without USB driverGravatar Nikias Bassen1-0/+1
Using --with-dummy, libirecovery can be compiled in a way that it will not require any USB driver at all. This is only useful if you just want to query libirecovery's device database by product type or hardware model, namely using: irecv_devices_get_device_by_product_type(); irecv_devices_get_device_by_hardware_model(); All other function are either no-op or return IRECV_E_UNSUPPORTED if the library is compiled this way.
2017-07-03Updated copyright notices in source file headersGravatar Nikias Bassen1-0/+1
2015-09-24Replace () with (void) for proper function prototypesGravatar Martin Szulecki1-3/+3
2013-11-19remove irecv_get_* functions and provide general irecv_get_device_info()Gravatar Nikias Bassen1-6/+17
2013-11-18change irecv_get_nonce to a more general irecv_get_nonce_with_tagGravatar Nikias Bassen1-1/+1
2013-09-30libirecovery: Rename "interface" variable name as it clashes on WIN32Gravatar Martin Szulecki1-1/+1
2013-09-29libirecovery: Add irecv_devices_get_all() to allow iteration over productsGravatar Martin Szulecki1-0/+1
2013-09-27fix utf8 NBSP in header commentsGravatar Nikias Bassen1-1/+1
2013-09-27libirecovery: Provide helper to get current device modeGravatar Martin Szulecki1-0/+1
2013-09-27libirecovery: Change a few camel case arguments to lowercaseGravatar Martin Szulecki1-3/+3
2013-09-26Rename device struct fields and provide device database getters for themGravatar Martin Szulecki1-2/+4
2013-09-26Move device database, client and device structs into private implementationGravatar Martin Szulecki1-111/+3
2013-09-26Move various WIN32 includes private, no need to keep them in the headerGravatar Martin Szulecki1-10/+0
2013-09-26Reorder public interface logically and rename irecv_get_device()Gravatar Martin Szulecki1-9/+20
2013-09-26Rename mode enum items to uppercase IRECV_K_* name schemeGravatar Martin Szulecki1-6/+6
2013-09-26Add "usb" prefix to all method names which are related to USB featuresGravatar Martin Szulecki1-5/+6
2013-09-26Rename irecv_send_exploit() to more accurate irecv_trigger_limera1n_exploit()Gravatar Martin Szulecki1-1/+1
2013-09-26Indent error and event type structs for easier readabilityGravatar Martin Szulecki1-17/+17
2013-09-26Use more accurate names for "open device" methods which use the ecidGravatar Martin Szulecki1-2/+2
2013-09-26Add irecv_reboot() command helper which reboots the deviceGravatar Martin Szulecki1-0/+1
2013-09-26Make irecv_execute_script() use a script as argument instead of a filenameGravatar Martin Szulecki1-1/+1
2013-09-26Fix header comment syntaxGravatar Martin Szulecki1-1/+2
2013-09-26Remove rather obsolete irecv_hexdump() helperGravatar Martin Szulecki1-2/+0
2013-09-21Add support for iPhone 5S, iPhone 5C and Apple TV 3G Rev A0.1.1Gravatar Martin Szulecki1-43/+53
2013-05-21Relicense to LGPL 2.1 and thus update license and headersGravatar Martin Szulecki1-18/+17
This relicensing was requested and approved by all authors by E-Mail.
2013-01-09Improve maintainability of devices and add support for all current modelsGravatar Martin Szulecki1-104/+63
This removes all CPID_* and BDID_* defines which appear useless as the same information is already stored in the irecv_devices[] struct. Furthermore this removes a big inefficient switch() to determine a device in favor of a simple loop on the irecv_devices[] struct. Overall this means much less maintainance to add new device models in the future.
2012-11-28irecv_send_command/irecv_event_t use const char* instead of char*Gravatar Nikias Bassen1-2/+2
2012-11-08add support for iPad2,5 and iPad3,4Gravatar Martin Szulecki1-2/+10
2012-11-08add missing stdint.h include to fix compilation with public API headerGravatar Martin Szulecki1-0/+2
2012-09-21added support for iPod5,1Gravatar Nikias Bassen1-0/+4
2012-09-21updated with iPhone5 models.Gravatar Nikias Bassen1-0/+7
2012-07-17added irecv_control_transfer and irecv_bulk_transfer to public interfaceGravatar Nikias Bassen1-0/+3
2012-07-17silenced a bunch of compiler warningsGravatar Nikias Bassen1-0/+3
2012-07-04Correct CPID for iPad2,4Gravatar Martin Szulecki1-1/+1
2012-07-04Add missing macro defines for new modelsGravatar Martin Szulecki1-0/+10