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)
|
// Read pairing file (replace with your pairing file path)
|
||||||
IdevicePairingFile *pairing_file = NULL;
|
IdevicePairingFile *pairing_file = NULL;
|
||||||
IdeviceErrorCode err = idevice_pairing_file_read(
|
IdeviceErrorCode err =
|
||||||
"/Users/jacksoncoxson/Desktop/storage/00008140-001809302684801C.plist",
|
idevice_pairing_file_read("pairing_file.plist", &pairing_file);
|
||||||
&pairing_file);
|
|
||||||
if (err != IdeviceSuccess) {
|
if (err != IdeviceSuccess) {
|
||||||
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
@@ -19,9 +19,8 @@ int main() {
|
|||||||
|
|
||||||
// Read pairing file (replace with your pairing file path)
|
// Read pairing file (replace with your pairing file path)
|
||||||
IdevicePairingFile *pairing_file = NULL;
|
IdevicePairingFile *pairing_file = NULL;
|
||||||
IdeviceErrorCode err = idevice_pairing_file_read(
|
IdeviceErrorCode err =
|
||||||
"/Users/jacksoncoxson/Desktop/storage/00008140-001809302684801C.plist",
|
idevice_pairing_file_read("pairing_file.plist", &pairing_file);
|
||||||
&pairing_file);
|
|
||||||
if (err != IdeviceSuccess) {
|
if (err != IdeviceSuccess) {
|
||||||
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
fprintf(stderr, "Failed to read pairing file: %d\n", err);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
// Jackson Coxson
|
// Jackson Coxson
|
||||||
|
|
||||||
use std::ffi::c_void;
|
use idevice::{IdeviceError, IdeviceService, heartbeat::HeartbeatClient};
|
||||||
|
|
||||||
use idevice::{
|
|
||||||
IdeviceError, IdeviceService, heartbeat::HeartbeatClient,
|
|
||||||
installation_proxy::InstallationProxyClient,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
IdeviceErrorCode, IdeviceHandle, RUNTIME,
|
IdeviceErrorCode, IdeviceHandle, RUNTIME,
|
||||||
provider::{TcpProviderHandle, UsbmuxdProviderHandle},
|
provider::{TcpProviderHandle, UsbmuxdProviderHandle},
|
||||||
util,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pub struct HeartbeatClientHandle(pub HeartbeatClient);
|
pub struct HeartbeatClientHandle(pub HeartbeatClient);
|
||||||
|
|||||||
Reference in New Issue
Block a user