diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libirecovery.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index a405005..152634f 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h | |||
| @@ -68,8 +68,8 @@ typedef struct { | |||
| 68 | } irecv_event_t; | 68 | } irecv_event_t; |
| 69 | 69 | ||
| 70 | struct irecv_device { | 70 | struct irecv_device { |
| 71 | const char* product; | 71 | const char* product_type; |
| 72 | const char* model; | 72 | const char* hardware_model; |
| 73 | unsigned int board_id; | 73 | unsigned int board_id; |
| 74 | unsigned int chip_id; | 74 | unsigned int chip_id; |
| 75 | }; | 75 | }; |
| @@ -132,6 +132,8 @@ irecv_error_t irecv_get_imei(irecv_client_t client, char* imei); | |||
| 132 | 132 | ||
| 133 | /* device database queries */ | 133 | /* device database queries */ |
| 134 | irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_device_t* device); | 134 | irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_device_t* device); |
| 135 | irecv_error_t irecv_devices_get_device_by_product_type(const char* product_type, irecv_device_t* device); | ||
| 136 | irecv_error_t irecv_devices_get_device_by_hardware_model(const char* hardware_model, irecv_device_t* device); | ||
| 135 | 137 | ||
| 136 | #ifdef __cplusplus | 138 | #ifdef __cplusplus |
| 137 | } | 139 | } |
