diff options
Diffstat (limited to 'include/libimobiledevice/sbservices.h')
-rw-r--r-- | include/libimobiledevice/sbservices.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libimobiledevice/sbservices.h b/include/libimobiledevice/sbservices.h index 509d5b9..7435947 100644 --- a/include/libimobiledevice/sbservices.h +++ b/include/libimobiledevice/sbservices.h | |||
@@ -68,7 +68,7 @@ typedef sbservices_client_private *sbservices_client_t; /**< The client handle. | |||
68 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when | 68 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when |
69 | * client is NULL, or an SBSERVICES_E_* error code otherwise. | 69 | * client is NULL, or an SBSERVICES_E_* error code otherwise. |
70 | */ | 70 | */ |
71 | sbservices_error_t sbservices_client_new(idevice_t device, lockdownd_service_descriptor_t service, sbservices_client_t *client); | 71 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_client_new(idevice_t device, lockdownd_service_descriptor_t service, sbservices_client_t *client); |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * Starts a new sbservices service on the specified device and connects to it. | 74 | * Starts a new sbservices service on the specified device and connects to it. |
@@ -83,7 +83,7 @@ sbservices_error_t sbservices_client_new(idevice_t device, lockdownd_service_des | |||
83 | * @return SBSERVICES_E_SUCCESS on success, or an SBSERVICES_E_* error | 83 | * @return SBSERVICES_E_SUCCESS on success, or an SBSERVICES_E_* error |
84 | * code otherwise. | 84 | * code otherwise. |
85 | */ | 85 | */ |
86 | sbservices_error_t sbservices_client_start_service(idevice_t device, sbservices_client_t* client, const char* label); | 86 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_client_start_service(idevice_t device, sbservices_client_t* client, const char* label); |
87 | 87 | ||
88 | /** | 88 | /** |
89 | * Disconnects an sbservices client from the device and frees up the | 89 | * Disconnects an sbservices client from the device and frees up the |
@@ -94,7 +94,7 @@ sbservices_error_t sbservices_client_start_service(idevice_t device, sbservices_ | |||
94 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when | 94 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when |
95 | * client is NULL, or an SBSERVICES_E_* error code otherwise. | 95 | * client is NULL, or an SBSERVICES_E_* error code otherwise. |
96 | */ | 96 | */ |
97 | sbservices_error_t sbservices_client_free(sbservices_client_t client); | 97 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_client_free(sbservices_client_t client); |
98 | 98 | ||
99 | 99 | ||
100 | /** | 100 | /** |
@@ -111,7 +111,7 @@ sbservices_error_t sbservices_client_free(sbservices_client_t client); | |||
111 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when | 111 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when |
112 | * client or state is invalid, or an SBSERVICES_E_* error code otherwise. | 112 | * client or state is invalid, or an SBSERVICES_E_* error code otherwise. |
113 | */ | 113 | */ |
114 | sbservices_error_t sbservices_get_icon_state(sbservices_client_t client, plist_t *state, const char *format_version); | 114 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_get_icon_state(sbservices_client_t client, plist_t *state, const char *format_version); |
115 | 115 | ||
116 | /** | 116 | /** |
117 | * Sets the icon state of the connected device. | 117 | * Sets the icon state of the connected device. |
@@ -122,7 +122,7 @@ sbservices_error_t sbservices_get_icon_state(sbservices_client_t client, plist_t | |||
122 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when | 122 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when |
123 | * client or newstate is NULL, or an SBSERVICES_E_* error code otherwise. | 123 | * client or newstate is NULL, or an SBSERVICES_E_* error code otherwise. |
124 | */ | 124 | */ |
125 | sbservices_error_t sbservices_set_icon_state(sbservices_client_t client, plist_t newstate); | 125 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_set_icon_state(sbservices_client_t client, plist_t newstate); |
126 | 126 | ||
127 | /** | 127 | /** |
128 | * Get the icon of the specified app as PNG data. | 128 | * Get the icon of the specified app as PNG data. |
@@ -139,7 +139,7 @@ sbservices_error_t sbservices_set_icon_state(sbservices_client_t client, plist_t | |||
139 | * client, bundleId, or pngdata are invalid, or an SBSERVICES_E_* error | 139 | * client, bundleId, or pngdata are invalid, or an SBSERVICES_E_* error |
140 | * code otherwise. | 140 | * code otherwise. |
141 | */ | 141 | */ |
142 | sbservices_error_t sbservices_get_icon_pngdata(sbservices_client_t client, const char *bundleId, char **pngdata, uint64_t *pngsize); | 142 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_get_icon_pngdata(sbservices_client_t client, const char *bundleId, char **pngdata, uint64_t *pngsize); |
143 | 143 | ||
144 | /** | 144 | /** |
145 | * Gets the interface orientation of the device. | 145 | * Gets the interface orientation of the device. |
@@ -150,7 +150,7 @@ sbservices_error_t sbservices_get_icon_pngdata(sbservices_client_t client, const | |||
150 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when | 150 | * @return SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when |
151 | * client or state is invalid, or an SBSERVICES_E_* error code otherwise. | 151 | * client or state is invalid, or an SBSERVICES_E_* error code otherwise. |
152 | */ | 152 | */ |
153 | sbservices_error_t sbservices_get_interface_orientation(sbservices_client_t client, sbservices_interface_orientation_t* interface_orientation); | 153 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_get_interface_orientation(sbservices_client_t client, sbservices_interface_orientation_t* interface_orientation); |
154 | 154 | ||
155 | /** | 155 | /** |
156 | * Get the home screen wallpaper as PNG data. | 156 | * Get the home screen wallpaper as PNG data. |
@@ -166,7 +166,7 @@ sbservices_error_t sbservices_get_interface_orientation(sbservices_client_t clie | |||
166 | * client or pngdata are invalid, or an SBSERVICES_E_* error | 166 | * client or pngdata are invalid, or an SBSERVICES_E_* error |
167 | * code otherwise. | 167 | * code otherwise. |
168 | */ | 168 | */ |
169 | sbservices_error_t sbservices_get_home_screen_wallpaper_pngdata(sbservices_client_t client, char **pngdata, uint64_t *pngsize); | 169 | LIBIMOBILEDEVICE_API sbservices_error_t sbservices_get_home_screen_wallpaper_pngdata(sbservices_client_t client, char **pngdata, uint64_t *pngsize); |
170 | 170 | ||
171 | #ifdef __cplusplus | 171 | #ifdef __cplusplus |
172 | } | 172 | } |