summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/house_arrest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/house_arrest.h')
-rw-r--r--include/libimobiledevice/house_arrest.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libimobiledevice/house_arrest.h b/include/libimobiledevice/house_arrest.h
index 3785847..f9ba68a 100644
--- a/include/libimobiledevice/house_arrest.h
+++ b/include/libimobiledevice/house_arrest.h
@@ -61,7 +61,7 @@ typedef house_arrest_client_private *house_arrest_client_t; /**< The client hand
61 * @return HOUSE_ARREST_E_SUCCESS on success, HOUSE_ARREST_E_INVALID_ARG when 61 * @return HOUSE_ARREST_E_SUCCESS on success, HOUSE_ARREST_E_INVALID_ARG when
62 * client is NULL, or an HOUSE_ARREST_E_* error code otherwise. 62 * client is NULL, or an HOUSE_ARREST_E_* error code otherwise.
63 */ 63 */
64house_arrest_error_t house_arrest_client_new(idevice_t device, lockdownd_service_descriptor_t service, house_arrest_client_t *client); 64LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_client_new(idevice_t device, lockdownd_service_descriptor_t service, house_arrest_client_t *client);
65 65
66/** 66/**
67 * Starts a new house_arrest service on the specified device and connects to it. 67 * Starts a new house_arrest service on the specified device and connects to it.
@@ -76,7 +76,7 @@ house_arrest_error_t house_arrest_client_new(idevice_t device, lockdownd_service
76 * @return HOUSE_ARREST_E_SUCCESS on success, or an HOUSE_ARREST_E_* error 76 * @return HOUSE_ARREST_E_SUCCESS on success, or an HOUSE_ARREST_E_* error
77 * code otherwise. 77 * code otherwise.
78 */ 78 */
79house_arrest_error_t house_arrest_client_start_service(idevice_t device, house_arrest_client_t* client, const char* label); 79LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_client_start_service(idevice_t device, house_arrest_client_t* client, const char* label);
80 80
81/** 81/**
82 * Disconnects an house_arrest client from the device and frees up the 82 * Disconnects an house_arrest client from the device and frees up the
@@ -92,7 +92,7 @@ house_arrest_error_t house_arrest_client_start_service(idevice_t device, house_a
92 * @return HOUSE_ARREST_E_SUCCESS on success, HOUSE_ARREST_E_INVALID_ARG when 92 * @return HOUSE_ARREST_E_SUCCESS on success, HOUSE_ARREST_E_INVALID_ARG when
93 * client is NULL, or an HOUSE_ARREST_E_* error code otherwise. 93 * client is NULL, or an HOUSE_ARREST_E_* error code otherwise.
94 */ 94 */
95house_arrest_error_t house_arrest_client_free(house_arrest_client_t client); 95LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_client_free(house_arrest_client_t client);
96 96
97 97
98/** 98/**
@@ -112,7 +112,7 @@ house_arrest_error_t house_arrest_client_free(house_arrest_client_t client);
112 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, 112 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode,
113 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. 113 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred.
114 */ 114 */
115house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict); 115LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict);
116 116
117/** 117/**
118 * Send a command to the connected house_arrest service. 118 * Send a command to the connected house_arrest service.
@@ -133,7 +133,7 @@ house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, pli
133 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, 133 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode,
134 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. 134 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred.
135 */ 135 */
136house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, const char *command, const char *appid); 136LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, const char *command, const char *appid);
137 137
138/** 138/**
139 * Retrieves the result of a previously sent house_arrest_request_* request. 139 * Retrieves the result of a previously sent house_arrest_request_* request.
@@ -149,7 +149,7 @@ house_arrest_error_t house_arrest_send_command(house_arrest_client_t client, con
149 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode, 149 * HOUSE_ARREST_E_INVALID_MODE if the client is not in the correct mode,
150 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred. 150 * or HOUSE_ARREST_E_CONN_FAILED if a connection error occurred.
151 */ 151 */
152house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist_t *dict); 152LIBIMOBILEDEVICE_API house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist_t *dict);
153 153
154 154
155/** 155/**
@@ -171,7 +171,7 @@ house_arrest_error_t house_arrest_get_result(house_arrest_client_t client, plist
171 * an afc client, or an AFC_E_* error code returned by 171 * an afc client, or an AFC_E_* error code returned by
172 * afc_client_new_with_service_client(). 172 * afc_client_new_with_service_client().
173 */ 173 */
174afc_error_t afc_client_new_from_house_arrest_client(house_arrest_client_t client, afc_client_t *afc_client); 174LIBIMOBILEDEVICE_API afc_error_t afc_client_new_from_house_arrest_client(house_arrest_client_t client, afc_client_t *afc_client);
175 175
176#ifdef __cplusplus 176#ifdef __cplusplus
177} 177}