pub mod client;
pub mod pair_record;
pub mod pairing;
pub mod protocol;
pub mod session;
pub mod supervised_pair;
pub use client::LockdownClient;
pub use pair_record::{PairRecord, PairRecordError};
pub use protocol::LOCKDOWN_PORT;
pub use session::CORE_DEVICE_PROXY;
#[derive(Debug, Clone)]
pub struct ServiceInfo {
pub port: u16,
pub enable_service_ssl: bool,
}
#[derive(Debug, thiserror::Error)]
pub enum LockdownError {
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
#[error("protocol error: {0}")]
Protocol(String),
#[error("pair record error: {0}")]
PairRecord(#[from] PairRecordError),
}