diff options
| author | 2019-11-13 09:06:41 +0100 | |
|---|---|---|
| committer | 2019-11-13 09:06:41 +0100 | |
| commit | af91dc6376946daffd5c9ece916d9f33af828890 (patch) | |
| tree | c87414ff6bb7d9a29a0eef52532087ff9f268469 /common/utils.h | |
| parent | 7dbc17f2c763a7b18bc1a867f39918c26bb5e9e5 (diff) | |
| download | libimobiledevice-af91dc6376946daffd5c9ece916d9f33af828890.tar.gz libimobiledevice-af91dc6376946daffd5c9ece916d9f33af828890.tar.bz2 | |
debugserver: Improved memory handling in debugserver_client_send_command() and debugserver_client_receive_response()
Diffstat (limited to 'common/utils.h')
| -rw-r--r-- | common/utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/utils.h b/common/utils.h index 8426bc0..2c3acec 100644 --- a/common/utils.h +++ b/common/utils.h | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * utils.h | 2 | * utils.h |
| 3 | * Miscellaneous utilities for string manipulation | 3 | * Miscellaneous utilities for string manipulation, |
| 4 | * file I/O and plist helper. | ||
| 4 | * | 5 | * |
| 6 | * Copyright (c) 2014-2019 Nikias Bassen, All Rights Reserved. | ||
| 7 | * Copyright (c) 2013-2014 Martin Szulecki, All Rights Reserved. | ||
| 5 | * Copyright (c) 2013 Federico Mena Quintero | 8 | * Copyright (c) 2013 Federico Mena Quintero |
| 6 | * | 9 | * |
| 7 | * This library is free software; you can redistribute it and/or | 10 | * This library is free software; you can redistribute it and/or |
| @@ -39,6 +42,7 @@ | |||
| 39 | char *stpcpy(char *s1, const char *s2); | 42 | char *stpcpy(char *s1, const char *s2); |
| 40 | #endif | 43 | #endif |
| 41 | char *string_concat(const char *str, ...); | 44 | char *string_concat(const char *str, ...); |
| 45 | char *string_append(char *str, ...); | ||
| 42 | char *string_build_path(const char *elem, ...); | 46 | char *string_build_path(const char *elem, ...); |
| 43 | char *string_format_size(uint64_t size); | 47 | char *string_format_size(uint64_t size); |
| 44 | char *string_toupper(char *str); | 48 | char *string_toupper(char *str); |
