diff options
author | 2024-01-31 02:57:11 +0100 | |
---|---|---|
committer | 2024-01-31 02:57:11 +0100 | |
commit | 63bbac545efc400373a7f472fdd78174149119c3 (patch) | |
tree | f95c8d58b7b0fbf33bd188c5becc0401ee7e64ef /include/libimobiledevice/misagent.h | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/misagent.h')
-rw-r--r-- | include/libimobiledevice/misagent.h | 16 |
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 | */ |
63 | misagent_error_t misagent_client_new(idevice_t device, lockdownd_service_descriptor_t service, misagent_client_t *client); | 63 | LIBIMOBILEDEVICE_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 | */ |
78 | misagent_error_t misagent_client_start_service(idevice_t device, misagent_client_t* client, const char* label); | 78 | LIBIMOBILEDEVICE_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 | */ |
89 | misagent_error_t misagent_client_free(misagent_client_t client); | 89 | LIBIMOBILEDEVICE_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 | */ |
102 | misagent_error_t misagent_install(misagent_client_t client, plist_t profile); | 102 | LIBIMOBILEDEVICE_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 | */ |
121 | misagent_error_t misagent_copy(misagent_client_t client, plist_t* profiles); | 121 | LIBIMOBILEDEVICE_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 | */ |
140 | misagent_error_t misagent_copy_all(misagent_client_t client, plist_t* profiles); | 140 | LIBIMOBILEDEVICE_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 | */ |
153 | misagent_error_t misagent_remove(misagent_client_t client, const char* profileID); | 153 | LIBIMOBILEDEVICE_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 | */ |
162 | int misagent_get_status_code(misagent_client_t client); | 162 | LIBIMOBILEDEVICE_API int misagent_get_status_code(misagent_client_t client); |
163 | 163 | ||
164 | #ifdef __cplusplus | 164 | #ifdef __cplusplus |
165 | } | 165 | } |