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/syslog_relay.h | |
parent | ea6084c4ed624b6191b4b47737e33d88911bebc8 (diff) | |
download | libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.gz libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.bz2 |
Documentation fixes
Diffstat (limited to 'include/libimobiledevice/syslog_relay.h')
-rw-r--r-- | include/libimobiledevice/syslog_relay.h | 4 |
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 | ||
47 | typedef struct syslog_relay_client_private syslog_relay_client_private; | 48 | typedef struct syslog_relay_client_private syslog_relay_client_private; /**< \private */ |
48 | typedef syslog_relay_client_private *syslog_relay_client_t; /**< The client handle. */ | 49 | typedef 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 |