summaryrefslogtreecommitdiffstats
path: root/common/utils.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-21Refactor pair record handling to use new usbmuxd pair record interfaceGravatar Martin Szulecki1-0/+30
This refactoring is mandatory as libimobiledevice should not interact with the pair record configuration directory which is owned by the usbmuxd user. This change also adds compatibility for the native usbmuxd and thus pair records saved by iTunes.
2013-09-19utils: make buffer_write_to_filename overwrite instead of append to existing ↵Gravatar Nikias Bassen1-3/+1
files
2013-09-17common: Add helpers to read and write plist filesGravatar Martin Szulecki1-0/+88
2013-07-13common: Implement stpcpy() replacement for systems lacking itGravatar Martin Szulecki1-0/+23
2013-07-02common: Add utils.[ch] with a string_concat() functionGravatar Federico Mena Quintero1-0/+85
Instead of doing malloc() and repeated strcat(), which is an O(n^2) way to concatenate multiple strings, we define a single O(total_len) function that uses stpcpy(). This will also make the rest of the code more legible and safer.