summaryrefslogtreecommitdiffstats
path: root/src/AFC.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-26fix most -Wall warningsGravatar Christophe Fergeau1-1/+1
add missing includes, add some casts to avoid format warnings, mark one function as static. There are still warnings about unused argc/argv [#61 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-07-18API cleanup for AFCGravatar Nikias Bassen1-27/+30
2009-07-07Support for creating hard- and symlinksGravatar Nikias Bassen1-0/+52
2009-07-07AFC cleanup: remove iphone_afc_file_* and use handles instead. Removed ↵Gravatar Nikias Bassen1-152/+66
afc_get_file_attr because this function has to go into the program (like ifuse); afc_get_file_info has to be used instead. Modified dispatch_AFC_Packet so that the real buffer size has to be specified (instead of length-1).
2009-06-29Silence compiler warning for dispatch_AFC_packet()Gravatar Martin Szulecki1-1/+1
2009-05-18Make use of usbmuxd and remove libusb dependenciesGravatar Nikias Bassen1-36/+39
Signed-off-by: Matt Colyer <matt@colyer.name>
2009-05-08AFC cleanup and improved error handlingGravatar Nikias Bassen1-111/+239
2009-04-19This is a fix for iphone_afc_get_file_attr. As the file is not opened when ↵Gravatar Nikias Bassen1-1/+2
getting its information with afc_get_file_info, there's no need to close the file (because the handle is invalid). [#26 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-03-16Merge branch 'master' into contact_syncGravatar Jonathan Beck1-1/+105
Conflicts: configure.ac dev/Makefile.am include/libiphone/libiphone.h src/AFC.c src/AFC.h src/Makefile.am
2009-03-08Adds ability to show notification screen to the user.Gravatar Nikias Bassen1-0/+57
Signed-off-by: Matt Colyer <matt@colyer.name>
2009-03-08Adds the iphone_afc_truncate function and fixes a small log_debug issue.Gravatar Nikias Bassen1-1/+48
Signed-off-by: Matt Colyer <matt@colyer.name>
2009-01-29Merge branch 'master' into contact_syncGravatar Jonathan Beck1-1/+1
Conflicts: src/Makefile.am src/iphone.c src/lockdown.c src/lockdown.h src/utils.c
2009-01-13Removed fprintf, use the debug message method.Gravatar Matt Colyer1-1/+1
2009-01-04Merge branch 'master' into plistGravatar Jonathan Beck1-4/+9
Conflicts: src/AFC.c src/lockdown.c src/lockdown.h src/plist.c src/plist.h
2009-01-02Fix indent issues.Gravatar Matt Colyer1-1/+1
2009-01-02Some variables were unsigned while they should beGravatar Christophe Fergeau1-3/+7
dispatch_AFC_packet returns an int, but it was sometimes incorrectly assigned to a variable of type uint32_t which was then compared for being less or more than 0.
2009-01-02Fix function prototypesGravatar Christophe Fergeau1-1/+1
Add missing static, const, change function() to function(void)
2009-01-02Add missing #include "utils.h"Gravatar Christophe Fergeau1-0/+1
2008-12-13fork out plist stuff in libplist and migrate libiphone to use it.Gravatar Jonathan Beck1-1/+0
2008-11-24Added binary-plist support (tweaked slightly to move stuff around)Gravatar Zach C1-23/+23
Signed-off-by: Matt Colyer <matt@colyer.name> fix makefile to take correct main function into account
2008-10-31reduce chunk size in AFC since it was generating error for large fileGravatar Jonathan Beck1-1/+1
fix include in afccheck.c
2008-10-25Change lock to mutex and add tool to check AFC in multithreaded env.Gravatar Jonathan Beck1-5/+12
2008-10-25Handle debugging through utilitary functionsGravatar Jonathan Beck1-77/+39
2008-10-23Indent fixes.Gravatar Matt Colyer1-1/+2
2008-10-23Exposes AFC file handle.Gravatar Zach C1-0/+4
2008-09-01Enforce a modified kr style.Gravatar Matt Colyer1-258/+339
Use "make indent" from now on before committing.
2008-08-31fix afc_getattr and more error handling in ifuse.cGravatar Jonathan Beck1-2/+3
2008-08-31prefix public enum with IPHONE_Gravatar Jonathan Beck1-1/+1
2008-08-31use new function signature and few bugfixes.Gravatar Jonathan Beck1-11/+11
2008-08-31make all functions return an error code.Gravatar Jonathan Beck1-60/+70
2008-08-31make it compileGravatar Jonathan Beck1-7/+7
2008-08-31migrate main.cGravatar Jonathan Beck1-1/+1
2008-08-31migrate AFC.cGravatar Jonathan Beck1-87/+121
2008-08-21remove duplicate freeGravatar Jonathan Beck1-1/+0
2008-08-21fixes duplicates freeGravatar Jonathan Beck1-1/+0
2008-08-21fix AFC memory leak and errors (from iphoneclient valgrind analysis).Gravatar Jonathan Beck1-4/+9
2008-08-21Merge master into fixes.Gravatar Jonathan Beck1-2/+2
2008-08-21Don't leak r_packet in receive_AFC_data in the "false alarm" caseGravatar Christophe Fergeau1-1/+1
2008-08-21Fix leak in dispatch_AFC_packetGravatar Christophe Fergeau1-1/+5
2008-08-21fix missing free in dispatch_AFC_packetGravatar Jonathan Beck1-0/+1
2008-08-18Exposed file block information in iFuse.Gravatar Matt Colyer1-1/+0
2008-08-13Fix renaming files, it was missing the second NULL character.Gravatar Matt Colyer1-1/+1
2008-08-13Massive AFC cleanup, started with Zach's documentation.Gravatar Matt Colyer1-213/+511
2008-08-11Fix compilation with gcc 4.3 -Wall -Werror -Wno-pointer-signGravatar Christophe Fergeau1-2/+2
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Mark some functions as staticGravatar Christophe Fergeau1-20/+20
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-11Fix warnings about unused variablesGravatar Christophe Fergeau1-1/+0
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-10Adds seeking, directory creation and improves file writing. Also various ↵Gravatar Zach C1-32/+148
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 Colyer1-2/+2
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 Colyer1-30/+52
that you can request in an AFC packet 2^16.
2008-08-06Adds locking and fixes a minor bug in mux_recvGravatar Zach C1-7/+47
Signed-off-by: Matt Colyer <matt@colyer.name>