summaryrefslogtreecommitdiffstats
path: root/common/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2016-04-01idevicebackup: fix some timestamps that are relative to the Mac epoch ↵Gravatar BALATON Zoltan1-0/+2
instead of Unix one
2014-12-08Replace () with (void) in libinternalcommon and tools for consistencyGravatar Martin Szulecki1-1/+1
2014-10-22common: Move size format helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-0/+1
2014-10-22common: Move string_toupper() helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-0/+1
2014-10-22common: Share idevicebackup helper string_build_path() from utilsGravatar Martin Szulecki1-0/+1
2014-10-22common: Change stpcpy() signature code style slightlyGravatar Martin Szulecki1-1/+1
2014-05-21ideviceinfo: Move plist print helper code to commonGravatar Nikias Bassen1-0/+2
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.