diff options
author | 2022-04-12 02:26:34 +0200 | |
---|---|---|
committer | 2022-04-12 02:26:34 +0200 | |
commit | dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490 (patch) | |
tree | 56a21e7f928fd20da792772d8a899c7f3df64db7 /include/libimobiledevice/preboard.h | |
parent | ea6084c4ed624b6191b4b47737e33d88911bebc8 (diff) | |
download | libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.gz libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.bz2 |
Documentation fixes
Diffstat (limited to 'include/libimobiledevice/preboard.h')
-rw-r--r-- | include/libimobiledevice/preboard.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libimobiledevice/preboard.h b/include/libimobiledevice/preboard.h index 60b8e26..88e9806 100644 --- a/include/libimobiledevice/preboard.h +++ b/include/libimobiledevice/preboard.h | |||
@@ -30,6 +30,7 @@ extern "C" { | |||
30 | #include <libimobiledevice/libimobiledevice.h> | 30 | #include <libimobiledevice/libimobiledevice.h> |
31 | #include <libimobiledevice/lockdown.h> | 31 | #include <libimobiledevice/lockdown.h> |
32 | 32 | ||
33 | /** Service identifier passed to lockdownd_start_service() to start the preboard service */ | ||
33 | #define PREBOARD_SERVICE_NAME "com.apple.preboardservice_v2" | 34 | #define PREBOARD_SERVICE_NAME "com.apple.preboardservice_v2" |
34 | 35 | ||
35 | /** Error Codes */ | 36 | /** Error Codes */ |
@@ -45,7 +46,7 @@ typedef enum { | |||
45 | PREBOARD_E_UNKNOWN_ERROR = -256 | 46 | PREBOARD_E_UNKNOWN_ERROR = -256 |
46 | } preboard_error_t; | 47 | } preboard_error_t; |
47 | 48 | ||
48 | typedef struct preboard_client_private preboard_client_private; | 49 | typedef struct preboard_client_private preboard_client_private; /**< \private */ |
49 | typedef preboard_client_private *preboard_client_t; /**< The client handle. */ | 50 | typedef preboard_client_private *preboard_client_t; /**< The client handle. */ |
50 | 51 | ||
51 | /** Reports the status response of the given command */ | 52 | /** Reports the status response of the given command */ |
@@ -121,6 +122,7 @@ preboard_error_t preboard_receive(preboard_client_t client, plist_t * plist); | |||
121 | * | 122 | * |
122 | * @param client The preboard client | 123 | * @param client The preboard client |
123 | * @param plist Pointer to a plist_t what will be set to the received plist | 124 | * @param plist Pointer to a plist_t what will be set to the received plist |
125 | * @param timeout_ms Timeout in milliseconds | ||
124 | * | 126 | * |
125 | * @return PREBOARD_E_SUCCESS on success, | 127 | * @return PREBOARD_E_SUCCESS on success, |
126 | * PREBOARD_E_INVALID_ARG when client or plist is NULL, | 128 | * PREBOARD_E_INVALID_ARG when client or plist is NULL, |
@@ -148,7 +150,7 @@ preboard_error_t preboard_receive_with_timeout(preboard_client_t client, plist_t | |||
148 | * { Timeout: true } | 150 | * { Timeout: true } |
149 | * followed by { HideDialog: true } | 151 | * followed by { HideDialog: true } |
150 | * If the user aborts the passcode entry, the device sends a dictionary: | 152 | * If the user aborts the passcode entry, the device sends a dictionary: |
151 | * { Error: 1, ErrorString: <error string> } | 153 | * { Error: 1, ErrorString: \<error string\> } |
152 | * followed by { HideDialog: true } | 154 | * followed by { HideDialog: true } |
153 | * | 155 | * |
154 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, | 156 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, |
@@ -170,7 +172,7 @@ preboard_error_t preboard_create_stashbag(preboard_client_t client, plist_t mani | |||
170 | * receive a dictionary with: | 172 | * receive a dictionary with: |
171 | * { StashbagCommitComplete: true } | 173 | * { StashbagCommitComplete: true } |
172 | * or in case of an error: | 174 | * or in case of an error: |
173 | * { StashbagCommitComplete: 0, Error: 1, <optional> ErrorString: <error string> } | 175 | * { StashbagCommitComplete: 0, Error: 1, \<optional\> ErrorString: \<error string\> } |
174 | * | 176 | * |
175 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, | 177 | * @return PREBOARD_E_SUCCESS if the command was successfully submitted, |
176 | * PREBOARD_E_INVALID_ARG when client is invalid, | 178 | * PREBOARD_E_INVALID_ARG when client is invalid, |