summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/misagent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/misagent.h')
-rw-r--r--include/libimobiledevice/misagent.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libimobiledevice/misagent.h b/include/libimobiledevice/misagent.h
index 394f5ce..7981a8b 100644
--- a/include/libimobiledevice/misagent.h
+++ b/include/libimobiledevice/misagent.h
@@ -60,7 +60,7 @@ typedef misagent_client_private *misagent_client_t; /**< The client handle. */
60 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when 60 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when
61 * client is NULL, or an MISAGENT_E_* error code otherwise. 61 * client is NULL, or an MISAGENT_E_* error code otherwise.
62 */ 62 */
63misagent_error_t misagent_client_new(idevice_t device, lockdownd_service_descriptor_t service, misagent_client_t *client); 63LIBIMOBILEDEVICE_API misagent_error_t misagent_client_new(idevice_t device, lockdownd_service_descriptor_t service, misagent_client_t *client);
64 64
65/** 65/**
66 * Starts a new misagent service on the specified device and connects to it. 66 * Starts a new misagent service on the specified device and connects to it.
@@ -75,7 +75,7 @@ misagent_error_t misagent_client_new(idevice_t device, lockdownd_service_descrip
75 * @return MISAGENT_E_SUCCESS on success, or an MISAGENT_E_* error 75 * @return MISAGENT_E_SUCCESS on success, or an MISAGENT_E_* error
76 * code otherwise. 76 * code otherwise.
77 */ 77 */
78misagent_error_t misagent_client_start_service(idevice_t device, misagent_client_t* client, const char* label); 78LIBIMOBILEDEVICE_API misagent_error_t misagent_client_start_service(idevice_t device, misagent_client_t* client, const char* label);
79 79
80/** 80/**
81 * Disconnects an misagent client from the device and frees up the 81 * Disconnects an misagent client from the device and frees up the
@@ -86,7 +86,7 @@ misagent_error_t misagent_client_start_service(idevice_t device, misagent_client
86 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when 86 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when
87 * client is NULL, or an MISAGENT_E_* error code otherwise. 87 * client is NULL, or an MISAGENT_E_* error code otherwise.
88 */ 88 */
89misagent_error_t misagent_client_free(misagent_client_t client); 89LIBIMOBILEDEVICE_API misagent_error_t misagent_client_free(misagent_client_t client);
90 90
91 91
92/** 92/**
@@ -99,7 +99,7 @@ misagent_error_t misagent_client_free(misagent_client_t client);
99 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when 99 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when
100 * client is invalid, or an MISAGENT_E_* error code otherwise. 100 * client is invalid, or an MISAGENT_E_* error code otherwise.
101 */ 101 */
102misagent_error_t misagent_install(misagent_client_t client, plist_t profile); 102LIBIMOBILEDEVICE_API misagent_error_t misagent_install(misagent_client_t client, plist_t profile);
103 103
104/** 104/**
105 * Retrieves all installed provisioning profiles (iOS 9.2.1 or below). 105 * Retrieves all installed provisioning profiles (iOS 9.2.1 or below).
@@ -118,7 +118,7 @@ misagent_error_t misagent_install(misagent_client_t client, plist_t profile);
118 * still returns MISAGENT_E_SUCCESS and profiles will just point to an 118 * still returns MISAGENT_E_SUCCESS and profiles will just point to an
119 * empty array. 119 * empty array.
120 */ 120 */
121misagent_error_t misagent_copy(misagent_client_t client, plist_t* profiles); 121LIBIMOBILEDEVICE_API misagent_error_t misagent_copy(misagent_client_t client, plist_t* profiles);
122 122
123/** 123/**
124 * Retrieves all installed provisioning profiles (iOS 9.3 or higher). 124 * Retrieves all installed provisioning profiles (iOS 9.3 or higher).
@@ -137,7 +137,7 @@ misagent_error_t misagent_copy(misagent_client_t client, plist_t* profiles);
137 * still returns MISAGENT_E_SUCCESS and profiles will just point to an 137 * still returns MISAGENT_E_SUCCESS and profiles will just point to an
138 * empty array. 138 * empty array.
139 */ 139 */
140misagent_error_t misagent_copy_all(misagent_client_t client, plist_t* profiles); 140LIBIMOBILEDEVICE_API misagent_error_t misagent_copy_all(misagent_client_t client, plist_t* profiles);
141 141
142/** 142/**
143 * Removes a given provisioning profile. 143 * Removes a given provisioning profile.
@@ -150,7 +150,7 @@ misagent_error_t misagent_copy_all(misagent_client_t client, plist_t* profiles);
150 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when 150 * @return MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when
151 * client is invalid, or an MISAGENT_E_* error code otherwise. 151 * client is invalid, or an MISAGENT_E_* error code otherwise.
152 */ 152 */
153misagent_error_t misagent_remove(misagent_client_t client, const char* profileID); 153LIBIMOBILEDEVICE_API misagent_error_t misagent_remove(misagent_client_t client, const char* profileID);
154 154
155/** 155/**
156 * Retrieves the status code from the last operation. 156 * Retrieves the status code from the last operation.
@@ -159,7 +159,7 @@ misagent_error_t misagent_remove(misagent_client_t client, const char* profileID
159 * 159 *
160 * @return -1 if client is invalid, or the status code from the last operation 160 * @return -1 if client is invalid, or the status code from the last operation
161 */ 161 */
162int misagent_get_status_code(misagent_client_t client); 162LIBIMOBILEDEVICE_API int misagent_get_status_code(misagent_client_t client);
163 163
164#ifdef __cplusplus 164#ifdef __cplusplus
165} 165}