summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/screenshotr.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-01-31 02:57:11 +0100
committerGravatar Nikias Bassen2024-01-31 02:57:11 +0100
commit63bbac545efc400373a7f472fdd78174149119c3 (patch)
treef95c8d58b7b0fbf33bd188c5becc0401ee7e64ef /include/libimobiledevice/screenshotr.h
parentf723a44513eb5ba5797da24bc2b63d9f09600a6e (diff)
downloadlibimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz
libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/screenshotr.h')
-rw-r--r--include/libimobiledevice/screenshotr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libimobiledevice/screenshotr.h b/include/libimobiledevice/screenshotr.h
index ecbbdbe..db3c969 100644
--- a/include/libimobiledevice/screenshotr.h
+++ b/include/libimobiledevice/screenshotr.h
@@ -66,7 +66,7 @@ typedef screenshotr_client_private *screenshotr_client_t; /**< The client handle
66 * or more parameters are invalid, or SCREENSHOTR_E_CONN_FAILED if the 66 * or more parameters are invalid, or SCREENSHOTR_E_CONN_FAILED if the
67 * connection to the device could not be established. 67 * connection to the device could not be established.
68 */ 68 */
69screenshotr_error_t screenshotr_client_new(idevice_t device, lockdownd_service_descriptor_t service, screenshotr_client_t * client); 69LIBIMOBILEDEVICE_API screenshotr_error_t screenshotr_client_new(idevice_t device, lockdownd_service_descriptor_t service, screenshotr_client_t * client);
70 70
71/** 71/**
72 * Starts a new screenshotr service on the specified device and connects to it. 72 * Starts a new screenshotr service on the specified device and connects to it.
@@ -81,7 +81,7 @@ screenshotr_error_t screenshotr_client_new(idevice_t device, lockdownd_service_d
81 * @return SCREENSHOTR_E_SUCCESS on success, or an SCREENSHOTR_E_* error 81 * @return SCREENSHOTR_E_SUCCESS on success, or an SCREENSHOTR_E_* error
82 * code otherwise. 82 * code otherwise.
83 */ 83 */
84screenshotr_error_t screenshotr_client_start_service(idevice_t device, screenshotr_client_t* client, const char* label); 84LIBIMOBILEDEVICE_API screenshotr_error_t screenshotr_client_start_service(idevice_t device, screenshotr_client_t* client, const char* label);
85 85
86/** 86/**
87 * Disconnects a screenshotr client from the device and frees up the 87 * Disconnects a screenshotr client from the device and frees up the
@@ -92,7 +92,7 @@ screenshotr_error_t screenshotr_client_start_service(idevice_t device, screensho
92 * @return SCREENSHOTR_E_SUCCESS on success, or SCREENSHOTR_E_INVALID_ARG 92 * @return SCREENSHOTR_E_SUCCESS on success, or SCREENSHOTR_E_INVALID_ARG
93 * if client is NULL. 93 * if client is NULL.
94 */ 94 */
95screenshotr_error_t screenshotr_client_free(screenshotr_client_t client); 95LIBIMOBILEDEVICE_API screenshotr_error_t screenshotr_client_free(screenshotr_client_t client);
96 96
97 97
98/** 98/**
@@ -109,7 +109,7 @@ screenshotr_error_t screenshotr_client_free(screenshotr_client_t client);
109 * one or more parameters are invalid, or another error code if an 109 * one or more parameters are invalid, or another error code if an
110 * error occurred. 110 * error occurred.
111 */ 111 */
112screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, char **imgdata, uint64_t *imgsize); 112LIBIMOBILEDEVICE_API screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, char **imgdata, uint64_t *imgsize);
113 113
114#ifdef __cplusplus 114#ifdef __cplusplus
115} 115}