mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Add legacy argument to cpp start_session
This commit is contained in:
@@ -53,8 +53,8 @@ Result<void, FfiError> Idevice::rsd_checkin() {
|
||||
return Ok();
|
||||
}
|
||||
|
||||
Result<void, FfiError> Idevice::start_session(const PairingFile& pairing_file) {
|
||||
FfiError e(idevice_start_session(handle_.get(), pairing_file.raw()));
|
||||
Result<void, FfiError> Idevice::start_session(const PairingFile& pairing_file, bool legacy) {
|
||||
FfiError e(idevice_start_session(handle_.get(), pairing_file.raw(), legacy));
|
||||
if (e) {
|
||||
return Err(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user