Mercurial > trustbridge
diff common/strhelp.h @ 116:c602d8cfa619
Refactoring: unified naming of string vector functions.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 21 Mar 2014 17:42:00 +0100 |
parents | 80ab2168760f |
children | d6a74464430b |
line wrap: on
line diff
--- a/common/strhelp.h Fri Mar 21 17:13:24 2014 +0100 +++ b/common/strhelp.h Fri Mar 21 17:42:00 2014 +0100 @@ -29,7 +29,7 @@ * @param[in] string pointer to the string to append to the list. * @param[in] len length of the string to append to the list * */ -void array_append_str(char ***pArray, const char *string, const size_t len); +void strv_append (char ***pArray, const char *string, const size_t len); /* @brief append a string to another string. * @@ -38,8 +38,8 @@ * @param[in] appendage pointer to the string to append. * @param[in] len length of the string to append. * */ -void str_append_str(char **pDst, size_t *dst_len, const char *appendage, +void str_append_str (char **pDst, size_t *dst_len, const char *appendage, const size_t len); -void strfreev (char **str_array); +void strv_free (char **str_array); #endif