summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-26 21:50:54 +0100
committerGravatar Martin Szulecki2015-01-27 22:01:23 +0100
commit42cea6264ef3763509f9dafc01800598c8688c1f (patch)
treef369d3a9c931d38e4e1bc8c0ed328f15615d6a42 /include/libimobiledevice
parentfddc0a9fa6a849b9afdda20060f3c9926d2b3935 (diff)
downloadlibimobiledevice-42cea6264ef3763509f9dafc01800598c8688c1f.tar.gz
libimobiledevice-42cea6264ef3763509f9dafc01800598c8688c1f.tar.bz2
debugserver: Make debugserver_client_set_ack_mode() public
Diffstat (limited to 'include/libimobiledevice')
-rw-r--r--include/libimobiledevice/debugserver.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/libimobiledevice/debugserver.h b/include/libimobiledevice/debugserver.h
index 3626182..19a4f5d 100644
--- a/include/libimobiledevice/debugserver.h
+++ b/include/libimobiledevice/debugserver.h
@@ -160,6 +160,20 @@ debugserver_error_t debugserver_client_send_command(debugserver_client_t client,
debugserver_error_t debugserver_client_receive_response(debugserver_client_t client, char** response);
/**
+ * Controls status of ACK mode when sending commands or receiving responses.
+ *
+ * @see debugserver_client_send_command, debugserver_client_receive_response
+ *
+ * @param client The debugserver client
+ * @param enabled A boolean flag indicating whether the internal ACK mode
+ * handling should be enabled or disabled.
+ *
+ * @return DEBUGSERVER_E_SUCCESS on success, or an DEBUGSERVER_E_* error
+ * code otherwise.
+ */
+debugserver_error_t debugserver_client_set_ack_mode(debugserver_client_t client, int enabled);
+
+/**
* Sets the argv which launches an app.
*
* @param client The debugserver client