summaryrefslogtreecommitdiffstats
path: root/src/AFC.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-25 03:46:13 +0200
committerGravatar Martin Szulecki2009-07-25 03:46:13 +0200
commit8415e1f13dfc8c31fe4d1ff695af26189297795b (patch)
tree6bf3444c4e267aa0b4bc04a22f0af4a0687e4973 /src/AFC.h
parent50be30047dbb0d38fd8d61763c13ec75d2b52543 (diff)
downloadlibimobiledevice-8415e1f13dfc8c31fe4d1ff695af26189297795b.tar.gz
libimobiledevice-8415e1f13dfc8c31fe4d1ff695af26189297795b.tar.bz2
Remove AFC to errno conversion and make afc_receive_data() return AFC errors
Diffstat (limited to 'src/AFC.h')
-rw-r--r--src/AFC.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/AFC.h b/src/AFC.h
index 909e8c3..7ed6bd8 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -50,7 +50,6 @@ struct afc_client_int {
AFCPacket *afc_packet;
int file_handle;
int lock;
- int afcerror;
GMutex *mutex;
};
@@ -86,4 +85,3 @@ enum {
AFC_OP_MAKE_LINK = 0x0000001C // MakeLink
};
-static int afcerror_to_errno(int afcerror);