From f8066bbf5169b7d7e68771bce677355e33a595c1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 26 Feb 2013 17:24:23 +0100 Subject: implement base service that all other services inherit from --- src/afc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/afc.h') diff --git a/src/afc.h b/src/afc.h index 0c242f5..bdb1f16 100644 --- a/src/afc.h +++ b/src/afc.h @@ -30,6 +30,7 @@ #endif #include "libimobiledevice/afc.h" +#include "service.h" #include "endianness.h" #define AFC_MAGIC "CFA6LPAA" @@ -57,7 +58,7 @@ typedef struct { } AFCFilePacket; struct afc_client_private { - idevice_connection_t connection; + service_client_t parent; AFCPacket *afc_packet; int file_handle; int lock; @@ -66,7 +67,7 @@ struct afc_client_private { #else pthread_mutex_t mutex; #endif - int own_connection; + int free_parent; }; /* AFC Operations */ -- cgit v1.1-32-gdbae