summaryrefslogtreecommitdiffstats
path: root/common/utils.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-10ideviceprovision: Fix date output by adding MAC_EPOCHGravatar Nikias Bassen1-1/+1
2019-11-13debugserver: Improved memory handling in debugserver_client_send_command() ↵Gravatar Nikias Bassen1-1/+48
and debugserver_client_receive_response()
2014-10-22common: Move size format helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-0/+22
2014-10-22common: Move string_toupper() helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-0/+10
2014-10-22common: Share idevicebackup helper string_build_path() from utilsGravatar Martin Szulecki1-0/+29
2014-10-22common: Change stpcpy() signature code style slightlyGravatar Martin Szulecki1-1/+1
2014-08-06common/utils: Silence compiler warning about ignored return value from fread()Gravatar Nikias Bassen1-1/+4
2014-05-21Silence compiler warning about format strings using PRIu64Gravatar Martin Szulecki1-1/+1
2014-05-21ideviceinfo: Move plist print helper code to commonGravatar Nikias Bassen1-0/+195
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.