diff options
Diffstat (limited to 'include/libimobiledevice')
| -rw-r--r-- | include/libimobiledevice/lockdown.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h index b5c126c..d0ab037 100644 --- a/include/libimobiledevice/lockdown.h +++ b/include/libimobiledevice/lockdown.h | |||
| @@ -464,6 +464,15 @@ lockdownd_error_t lockdownd_data_classes_free(char **classes); | |||
| 464 | */ | 464 | */ |
| 465 | lockdownd_error_t lockdownd_service_descriptor_free(lockdownd_service_descriptor_t service); | 465 | lockdownd_error_t lockdownd_service_descriptor_free(lockdownd_service_descriptor_t service); |
| 466 | 466 | ||
| 467 | /** | ||
| 468 | * Gets a readable error string for a given lockdown error code. | ||
| 469 | * | ||
| 470 | * @params err A lockdownd error code | ||
| 471 | * | ||
| 472 | * @returns A readable error string | ||
| 473 | */ | ||
| 474 | const char* lockdownd_strerror(lockdownd_error_t err); | ||
| 475 | |||
| 467 | #ifdef __cplusplus | 476 | #ifdef __cplusplus |
| 468 | } | 477 | } |
| 469 | #endif | 478 | #endif |
