From af91dc6376946daffd5c9ece916d9f33af828890 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 13 Nov 2019 09:06:41 +0100 Subject: debugserver: Improved memory handling in debugserver_client_send_command() and debugserver_client_receive_response() --- common/utils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/utils.h') 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 @@ /* * utils.h - * Miscellaneous utilities for string manipulation + * Miscellaneous utilities for string manipulation, + * file I/O and plist helper. * + * Copyright (c) 2014-2019 Nikias Bassen, All Rights Reserved. + * Copyright (c) 2013-2014 Martin Szulecki, All Rights Reserved. * Copyright (c) 2013 Federico Mena Quintero * * This library is free software; you can redistribute it and/or @@ -39,6 +42,7 @@ char *stpcpy(char *s1, const char *s2); #endif char *string_concat(const char *str, ...); +char *string_append(char *str, ...); char *string_build_path(const char *elem, ...); char *string_format_size(uint64_t size); char *string_toupper(char *str); -- cgit v1.1-32-gdbae