diff options
author | Nikias Bassen | 2013-02-26 17:24:23 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-27 16:18:15 +0100 |
commit | f8066bbf5169b7d7e68771bce677355e33a595c1 (patch) | |
tree | 8e8ee0a82c3a363c171c7124884af80a68e7cd08 /src/afc.h | |
parent | ca23188eaab07d744e9cf85d9bf69ed323e94186 (diff) | |
download | libimobiledevice-f8066bbf5169b7d7e68771bce677355e33a595c1.tar.gz libimobiledevice-f8066bbf5169b7d7e68771bce677355e33a595c1.tar.bz2 |
implement base service that all other services inherit from
Diffstat (limited to 'src/afc.h')
-rw-r--r-- | src/afc.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ |