summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/installation_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/installation_proxy.h')
-rw-r--r--include/libimobiledevice/installation_proxy.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h
index e96e224..87132b9 100644
--- a/include/libimobiledevice/installation_proxy.h
+++ b/include/libimobiledevice/installation_proxy.h
@@ -33,6 +33,7 @@ extern "C" {
33#include <libimobiledevice/libimobiledevice.h> 33#include <libimobiledevice/libimobiledevice.h>
34#include <libimobiledevice/lockdown.h> 34#include <libimobiledevice/lockdown.h>
35 35
36/** Service identifier passed to lockdownd_start_service() to start the installation proxy service */
36#define INSTPROXY_SERVICE_NAME "com.apple.mobile.installation_proxy" 37#define INSTPROXY_SERVICE_NAME "com.apple.mobile.installation_proxy"
37 38
38/** Error Codes */ 39/** Error Codes */
@@ -107,7 +108,7 @@ typedef enum {
107 INSTPROXY_E_UNKNOWN_ERROR = -256 108 INSTPROXY_E_UNKNOWN_ERROR = -256
108} instproxy_error_t; 109} instproxy_error_t;
109 110
110typedef struct instproxy_client_private instproxy_client_private; 111typedef struct instproxy_client_private instproxy_client_private; /**< \private */
111typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */ 112typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */
112 113
113/** Reports the status response of the given command */ 114/** Reports the status response of the given command */
@@ -441,8 +442,8 @@ void instproxy_status_get_current_list(plist_t status, uint64_t* total, uint64_t
441 * Gets progress in percentage from a status if available. 442 * Gets progress in percentage from a status if available.
442 * 443 *
443 * @param status The dictionary status response to use. 444 * @param status The dictionary status response to use.
444 * @param name Pointer to store the progress in percent (0-100) or -1 if not 445 * @param percent Pointer to an int to store the progress in percent (0-100)
445 * progress was found in the status. 446 * or -1 if no progress was found in the status.
446 */ 447 */
447void instproxy_status_get_percent_complete(plist_t status, int *percent); 448void instproxy_status_get_percent_complete(plist_t status, int *percent);
448 449
@@ -487,7 +488,7 @@ void instproxy_client_options_free(plist_t client_options);
487 * Queries the device for the path of an application. 488 * Queries the device for the path of an application.
488 * 489 *
489 * @param client The connected installation proxy client. 490 * @param client The connected installation proxy client.
490 * @param appid ApplicationIdentifier of app to retrieve the path for. 491 * @param bundle_id ApplicationIdentifier of app to retrieve the path for.
491 * @param path Pointer to store the device path for the application 492 * @param path Pointer to store the device path for the application
492 * which is set to NULL if it could not be determined. 493 * which is set to NULL if it could not be determined.
493 * 494 *