diff options
Diffstat (limited to 'include/libimobiledevice/libimobiledevice.h')
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index 016cadb..b125adf 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h | |||
| @@ -239,6 +239,16 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); | |||
| 239 | */ | 239 | */ |
| 240 | idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); | 240 | idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); |
| 241 | 241 | ||
| 242 | /** | ||
| 243 | * Get the underlying file descriptor for a connection | ||
| 244 | * | ||
| 245 | * @param connection The connection to get fd of | ||
| 246 | * @param fd Pointer to an int where the fd is stored | ||
| 247 | * | ||
| 248 | * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. | ||
| 249 | */ | ||
| 250 | idevice_error_t idevice_connection_get_fd(idevice_connection_t connection, int *fd); | ||
| 251 | |||
| 242 | /* misc */ | 252 | /* misc */ |
| 243 | 253 | ||
| 244 | /** | 254 | /** |
