summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-29 23:33:15 +0200
committerGravatar Martin Szulecki2013-09-29 23:33:15 +0200
commita39d83aca38ad50dc1ccb1756e92d62adf885ca7 (patch)
tree239dfe9ad9021f08861f4a96850c68405c504a28 /include
parent2894a05900be6db27ab2d3a6c9496c3d6e45253b (diff)
downloadlibirecovery-a39d83aca38ad50dc1ccb1756e92d62adf885ca7.tar.gz
libirecovery-a39d83aca38ad50dc1ccb1756e92d62adf885ca7.tar.bz2
libirecovery: Add irecv_devices_get_all() to allow iteration over products
Diffstat (limited to 'include')
-rw-r--r--include/libirecovery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index 1749148..f4e62c7 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -132,6 +132,7 @@ irecv_error_t irecv_get_srnm(irecv_client_t client, char* srnm);
irecv_error_t irecv_get_imei(irecv_client_t client, char* imei);
/* device database queries */
+irecv_device_t irecv_devices_get_all();
irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_device_t* device);
irecv_error_t irecv_devices_get_device_by_product_type(const char* product_type, irecv_device_t* device);
irecv_error_t irecv_devices_get_device_by_hardware_model(const char* hardware_model, irecv_device_t* device);