summaryrefslogtreecommitdiffstats
path: root/src/AFC.h
diff options
context:
space:
mode:
authorGravatar Zach C2008-08-06 21:04:09 -0700
committerGravatar Matt Colyer2008-08-06 21:04:09 -0700
commitbef655966045af34e1f20a7211f0cab2e7e79001 (patch)
tree590b41891fab48af0c3f35431f7476bbc2b4b0a2 /src/AFC.h
parentd81a3c5c412cca9b8327d6d27625bc52650e9651 (diff)
downloadlibimobiledevice-bef655966045af34e1f20a7211f0cab2e7e79001.tar.gz
libimobiledevice-bef655966045af34e1f20a7211f0cab2e7e79001.tar.bz2
Adds locking and fixes a minor bug in mux_recv
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/AFC.h')
-rw-r--r--src/AFC.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AFC.h b/src/AFC.h
index 2827030..32defbe 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -38,6 +38,7 @@ typedef struct {
usbmux_connection *connection;
AFCPacket *afc_packet;
int file_handle;
+ int lock;
} AFClient;
typedef struct {