summaryrefslogtreecommitdiffstats
path: root/common/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2014-03-21Refactor pair record handling to use new usbmuxd pair record interfaceGravatar Martin Szulecki1-0/+1
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.
2014-03-04common: Include config.h for proper handling of HAVE_STPCPY defineGravatar Martin Szulecki1-0/+4
2013-09-17common: Add helpers to read and write plist filesGravatar Martin Szulecki1-0/+18
2013-07-13common: Implement stpcpy() replacement for systems lacking itGravatar Martin Szulecki1-0/+3
2013-07-02common: Add utils.[ch] with a string_concat() functionGravatar Federico Mena Quintero1-0/+27
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.