summaryrefslogtreecommitdiffstats
path: root/src/afc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afc.h')
-rw-r--r--src/afc.h5
1 files changed, 3 insertions, 2 deletions
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 */