mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Remove unneeded lockdown structure
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
use log::error;
|
use log::error;
|
||||||
use plist::Value;
|
use plist::Value;
|
||||||
use serde::{Deserialize, Serialize};
|
|
||||||
|
|
||||||
use crate::{Idevice, IdeviceError, IdeviceService, obf, pairing_file};
|
use crate::{Idevice, IdeviceError, IdeviceService, obf, pairing_file};
|
||||||
|
|
||||||
@@ -48,15 +47,6 @@ impl IdeviceService for LockdownClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Internal structure for lockdown protocol requests
|
|
||||||
#[derive(Serialize, Deserialize)]
|
|
||||||
#[serde(rename_all = "PascalCase")]
|
|
||||||
struct LockdownRequest {
|
|
||||||
label: String,
|
|
||||||
key: Option<String>,
|
|
||||||
request: String,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl LockdownClient {
|
impl LockdownClient {
|
||||||
/// The default TCP port for the lockdown service
|
/// The default TCP port for the lockdown service
|
||||||
pub const LOCKDOWND_PORT: u16 = 62078;
|
pub const LOCKDOWND_PORT: u16 = 62078;
|
||||||
|
|||||||
Reference in New Issue
Block a user