diff options
Diffstat (limited to 'include/libimobiledevice/syslog_relay.h')
| -rw-r--r-- | include/libimobiledevice/syslog_relay.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/libimobiledevice/syslog_relay.h b/include/libimobiledevice/syslog_relay.h index 0080b54..ea7b649 100644 --- a/include/libimobiledevice/syslog_relay.h +++ b/include/libimobiledevice/syslog_relay.h | |||
| @@ -34,11 +34,13 @@ extern "C" { | |||
| 34 | 34 | ||
| 35 | /** Error Codes */ | 35 | /** Error Codes */ |
| 36 | typedef enum { | 36 | typedef enum { |
| 37 | SYSLOG_RELAY_E_SUCCESS = 0, | 37 | SYSLOG_RELAY_E_SUCCESS = 0, |
| 38 | SYSLOG_RELAY_E_INVALID_ARG = -1, | 38 | SYSLOG_RELAY_E_INVALID_ARG = -1, |
| 39 | SYSLOG_RELAY_E_MUX_ERROR = -2, | 39 | SYSLOG_RELAY_E_MUX_ERROR = -2, |
| 40 | SYSLOG_RELAY_E_SSL_ERROR = -3, | 40 | SYSLOG_RELAY_E_SSL_ERROR = -3, |
| 41 | SYSLOG_RELAY_E_UNKNOWN_ERROR = -256 | 41 | SYSLOG_RELAY_E_NOT_ENOUGH_DATA = -4, |
| 42 | SYSLOG_RELAY_E_TIMEOUT = -5, | ||
| 43 | SYSLOG_RELAY_E_UNKNOWN_ERROR = -256 | ||
| 42 | } syslog_relay_error_t; | 44 | } syslog_relay_error_t; |
| 43 | 45 | ||
| 44 | typedef struct syslog_relay_client_private syslog_relay_client_private; | 46 | typedef struct syslog_relay_client_private syslog_relay_client_private; |
