mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Remove unused imports in heartbeat FFI
This commit is contained in:
@@ -20,9 +20,8 @@ int main() {
|
||||
|
||||
// Read pairing file (replace with your pairing file path)
|
||||
IdevicePairingFile *pairing_file = NULL;
|
||||
IdeviceErrorCode err = idevice_pairing_file_read(
|
||||
"/Users/jacksoncoxson/Desktop/storage/00008140-001809302684801C.plist",
|
||||
&pairing_file);
|
||||
IdeviceErrorCode err =
|
||||
idevice_pairing_file_read("pairing_file.plist", &pairing_file);
|
||||
if (err != IdeviceSuccess) {
|
||||
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
||||
return 1;
|
||||
|
||||
@@ -19,9 +19,8 @@ int main() {
|
||||
|
||||
// Read pairing file (replace with your pairing file path)
|
||||
IdevicePairingFile *pairing_file = NULL;
|
||||
IdeviceErrorCode err = idevice_pairing_file_read(
|
||||
"/Users/jacksoncoxson/Desktop/storage/00008140-001809302684801C.plist",
|
||||
&pairing_file);
|
||||
IdeviceErrorCode err =
|
||||
idevice_pairing_file_read("pairing_file.plist", &pairing_file);
|
||||
if (err != IdeviceSuccess) {
|
||||
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
||||
return 1;
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
// Jackson Coxson
|
||||
|
||||
use std::ffi::c_void;
|
||||
|
||||
use idevice::{
|
||||
IdeviceError, IdeviceService, heartbeat::HeartbeatClient,
|
||||
installation_proxy::InstallationProxyClient,
|
||||
};
|
||||
use idevice::{IdeviceError, IdeviceService, heartbeat::HeartbeatClient};
|
||||
|
||||
use crate::{
|
||||
IdeviceErrorCode, IdeviceHandle, RUNTIME,
|
||||
provider::{TcpProviderHandle, UsbmuxdProviderHandle},
|
||||
util,
|
||||
};
|
||||
|
||||
pub struct HeartbeatClientHandle(pub HeartbeatClient);
|
||||
|
||||
Reference in New Issue
Block a user