summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/debugserver.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/libimobiledevice/debugserver.h b/include/libimobiledevice/debugserver.h
index 03f97a4..90ba514 100644
--- a/include/libimobiledevice/debugserver.h
+++ b/include/libimobiledevice/debugserver.h
@@ -181,11 +181,16 @@ debugserver_error_t debugserver_client_set_ack_mode(debugserver_client_t client,
181/** 181/**
182 * Sets behavior when awaiting a response from the server. 182 * Sets behavior when awaiting a response from the server.
183 * 183 *
184 * @see debugserver_client_send_command, debugserver_client_receive_response, debugserver_client_receive 184 * @see debugserver_client_send_command, debugserver_client_receive_response,
185 * debugserver_client_receive
185 * 186 *
186 * @param client The debugserver client 187 * @param client The debugserver client
187 * @param cancel_receive A function pointer that will be called approximately every receive_loop_timeout milliseconds; the function should return a boolean flag specifying whether to stop waiting for a response. If NULL, behaves as if it always returns true. 188 * @param cancel_receive A function pointer that will be called approximately
188 * @param receive_loop_timeout Time in milliseconds between calls to cancel_receive. 189 * every receive_loop_timeout milliseconds; the function should return a
190 * boolean flag specifying whether to stop waiting for a response. If NULL,
191 * behaves as if it always returns true.
192 * @param receive_loop_timeout Time in milliseconds between calls to
193 * cancel_receive.
189 * 194 *
190 * @return DEBUGSERVER_E_SUCCESS on success, or an DEBUGSERVER_E_* error 195 * @return DEBUGSERVER_E_SUCCESS on success, or an DEBUGSERVER_E_* error
191 * code otherwise. 196 * code otherwise.