summaryrefslogtreecommitdiffstats
path: root/src/AFC.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-26Merge commit 'martin-s/martin'Gravatar Matt Colyer1-377/+326
[#46 state:resolved]
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-25Implement afc_file_tell() and adjust afc_receive_data() to handle itGravatar Martin Szulecki1-2/+43
2009-07-25Remove AFC to errno conversion and make afc_receive_data() return AFC errorsGravatar Martin Szulecki1-161/+81
2009-07-25Update AFC API and use error codes from the STATUS operation responseGravatar Martin Szulecki1-155/+151
2009-07-25Define remaining unknown AFC operations; SUCCESS is actually a DATA operationGravatar Martin Szulecki1-21/+22
2009-07-24Improve debug output messages by using __func__ everywhere and adjust wordingGravatar Martin Szulecki1-37/+30
2009-07-20New type afc_lock_op_t with allowed lock operations for afc_lock_file. Only ↵Gravatar Nikias Bassen1-12/+10
non-blocking locks are supported via AFC. Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
2009-07-18API cleanup for AFCGravatar Nikias Bassen1-27/+30
2009-07-07API cleanup for AFCGravatar Nikias Bassen1-27/+30
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
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