summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/syslog_relay.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/syslog_relay.h')
-rw-r--r--include/libimobiledevice/syslog_relay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice/syslog_relay.h b/include/libimobiledevice/syslog_relay.h
index 89d9489..aae5d11 100644
--- a/include/libimobiledevice/syslog_relay.h
+++ b/include/libimobiledevice/syslog_relay.h
@@ -31,6 +31,7 @@ extern "C" {
31#include <libimobiledevice/libimobiledevice.h> 31#include <libimobiledevice/libimobiledevice.h>
32#include <libimobiledevice/lockdown.h> 32#include <libimobiledevice/lockdown.h>
33 33
34/** Service identifier passed to lockdownd_start_service() to start the syslog relay service */
34#define SYSLOG_RELAY_SERVICE_NAME "com.apple.syslog_relay" 35#define SYSLOG_RELAY_SERVICE_NAME "com.apple.syslog_relay"
35 36
36/** Error Codes */ 37/** Error Codes */
@@ -44,7 +45,7 @@ typedef enum {
44 SYSLOG_RELAY_E_UNKNOWN_ERROR = -256 45 SYSLOG_RELAY_E_UNKNOWN_ERROR = -256
45} syslog_relay_error_t; 46} syslog_relay_error_t;
46 47
47typedef struct syslog_relay_client_private syslog_relay_client_private; 48typedef struct syslog_relay_client_private syslog_relay_client_private; /**< \private */
48typedef syslog_relay_client_private *syslog_relay_client_t; /**< The client handle. */ 49typedef syslog_relay_client_private *syslog_relay_client_t; /**< The client handle. */
49 50
50/** Receives each character received from the device. */ 51/** Receives each character received from the device. */
@@ -170,7 +171,6 @@ syslog_relay_error_t syslog_relay_receive_with_timeout(syslog_relay_client_t cli
170 * @param data Buffer that will be filled with the data received 171 * @param data Buffer that will be filled with the data received
171 * @param size Number of bytes to receive 172 * @param size Number of bytes to receive
172 * @param received Number of bytes received (can be NULL to ignore) 173 * @param received Number of bytes received (can be NULL to ignore)
173 * @param timeout Maximum time in milliseconds to wait for data.
174 * 174 *
175 * @return SYSLOG_RELAY_E_SUCCESS on success, 175 * @return SYSLOG_RELAY_E_SUCCESS on success,
176 * SYSLOG_RELAY_E_INVALID_ARG when client or plist is NULL 176 * SYSLOG_RELAY_E_INVALID_ARG when client or plist is NULL