summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-08-12Fixed an error in my assert statementsGravatar Matt Colyer1-3/+3
2008-08-12Reverted bb74e8fd0041132379d525030ed277b49f972494, as I can no longer connectGravatar Matt Colyer1-3/+11
to my phone with that patch applied.
2008-08-12Cleaned up plist.c, added doxygen docs.Gravatar Matt Colyer2-8/+101
2008-08-12make ifuse use lockdownd_init so that pairing is done if necessary.Gravatar Jonathan Beck1-11/+3
2008-08-12Fixed seeking, also connections are no longer added twice.Gravatar Zach C2-2/+1
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-12fix length of known devicesGravatar Jonathan Beck1-1/+1
2008-08-11Fix compilation with gcc 4.3 -Wall -Werror -Wno-pointer-signGravatar Christophe Fergeau7-21/+37
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Add missing functions to afc.hGravatar Christophe Fergeau1-0/+4
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Mark some functions as staticGravatar Christophe Fergeau2-24/+20
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Remove unwanted free, should fix a memory corruptionGravatar Christophe Fergeau1-2/+1
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Fix buffer overflowGravatar Christophe Fergeau1-1/+1
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Add missing g_freeGravatar Christophe Fergeau1-2/+12
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Use g_file_get_contentsGravatar Christophe Fergeau1-21/+8
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Fix warnings about unused variablesGravatar Christophe Fergeau6-10/+8
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-10Adds seeking, directory creation and improves file writing. Also various ↵Gravatar Zach C4-42/+306
other cleanups. Implements creating directories as well as writing and deleting files in iFuse. Signed-off-by: Matthew Colyer <mcolyer@mcolyer-laptop.(none)>
2008-08-07Added cleanup when closing a file, probably needs a bit more throughnessGravatar Matt Colyer2-3/+19
but its a start. Added a missing unlock call so you can read a file more than once.
2008-08-06Fixed the data corruption, it turns out that there is a maximum lengthGravatar Matt Colyer2-30/+55
that you can request in an AFC packet 2^16.
2008-08-06Adds locking and fixes a minor bug in mux_recvGravatar Zach C5-10/+58
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-06Finish converting over to doxygen.Gravatar Matt Colyer2-57/+50
(I thought there was more documentation there but apparently we need to add some)
2008-08-05Fixed Zach's name. I feel dumb, sorry about that.Gravatar Matt Colyer11-11/+11
2008-08-05Zack's final changes to the pairing.Gravatar Matt Colyer7-21/+84
2008-08-05Store certificates and private keys as PEM files instead of storing them in ↵Gravatar Jonathan Beck6-121/+136
config file. Added functions to generate proper pairing request. Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Initialize certificate structure before importing.Gravatar Jonathan Beck1-3/+5
Fix return code in lockdownd_init. Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Fix mem allocation in config initialization.Gravatar Jonathan Beck2-6/+9
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Initial pairing implementation.Gravatar Jonathan Beck3-3/+302
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Added function to handle <data> tag in dict.Gravatar Jonathan Beck2-0/+8
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Update Makefile so initconf is built.Gravatar Jonathan Beck1-1/+2
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05added utility to generate config file (ssl keys and cert)Gravatar Jonathan Beck1-0/+115
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05prepare config for pairingGravatar Jonathan Beck2-9/+265
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05fixes some warningsGravatar Jonathan Beck2-3/+4
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-05Added beginnings of doxygen documentation to the library.Gravatar Matt Colyer1-22/+19
2008-08-04Zack's C. rewrite of usbmux (with a few additions by Matt Colyer).Gravatar Matt Colyer10-118/+277
2008-08-04Print libusb errors during usb_bulk_read/write.Gravatar Martin Aumueller1-1/+1
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-04Print strerror of negated return values after failed usb_bulk_write/read.Gravatar Martin Aumueller1-4/+5
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-04Don't use iPhone after freeing it.Gravatar Martin Aumueller1-1/+2
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-04Don't crash when afc_get_dirlist returns NULL.Gravatar Martin Aumueller1-0/+4
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-04Don't ignore mux_recv errors silently.Gravatar Martin Aumueller1-3/+12
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-04Print libusb errors during usb_bulk_read/write.Gravatar Martin Aumueller2-0/+12
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-03Added ability to get files larger than a single USB packet size.Gravatar Matt Colyer1-8/+22
2008-08-01I copied the wrong legal headers into the code. Opps.Gravatar Matt Colyer14-154/+168
2008-08-01A few cleanups, got rid of global afc variable.Gravatar Matt Colyer2-10/+17
2008-07-31Added a way to load HostID from a user specific config file.Gravatar Jonathan Beck6-8/+107
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-07-31Enabled actual version checking in the configure script.Gravatar Matt Colyer1-2/+2
2008-07-31Initialize pointer to NULL so it can be safely be freed.Gravatar Martin Aumueller1-0/+1
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-07-31Don't access freed memory.Gravatar Martin Aumueller1-1/+3
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-07-30Fixed a typo in the previous commit.Gravatar Matt Colyer1-1/+1
2008-07-30Added documentation and licensing information.Gravatar Matt Colyer13-16/+207
2008-07-30Made the iPhone cleanup after itself.Gravatar Matt Colyer1-0/+1
2008-07-30Fixed a return that was supposed to be there (thanks to Martin who pointed ↵Gravatar Matt Colyer1-0/+1
it out).
2008-07-30ifuse_init has to return a void* (fuse 2.7.2 on hardy heron)Gravatar Martin Aumueller1-6/+8
Signed-off-by: Matt Colyer <matt@colyer.name>