comparison 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
comparison
equal deleted inserted replaced
114:447a7abee6c7 116:c602d8cfa619
27 * 27 *
28 * @param[inout] array pointer to the NULL terminated list of string pointers. 28 * @param[inout] array pointer to the NULL terminated list of string pointers.
29 * @param[in] string pointer to the string to append to the list. 29 * @param[in] string pointer to the string to append to the list.
30 * @param[in] len length of the string to append to the list 30 * @param[in] len length of the string to append to the list
31 * */ 31 * */
32 void array_append_str(char ***pArray, const char *string, const size_t len); 32 void strv_append (char ***pArray, const char *string, const size_t len);
33 33
34 /* @brief append a string to another string. 34 /* @brief append a string to another string.
35 * 35 *
36 * @param[inout] pDst pointer to the string to be extended. 36 * @param[inout] pDst pointer to the string to be extended.
37 * @param[inout] dst_len length of the dst string. Will be modified. 37 * @param[inout] dst_len length of the dst string. Will be modified.
38 * @param[in] appendage pointer to the string to append. 38 * @param[in] appendage pointer to the string to append.
39 * @param[in] len length of the string to append. 39 * @param[in] len length of the string to append.
40 * */ 40 * */
41 void str_append_str(char **pDst, size_t *dst_len, const char *appendage, 41 void str_append_str (char **pDst, size_t *dst_len, const char *appendage,
42 const size_t len); 42 const size_t len);
43 43
44 void strfreev (char **str_array); 44 void strv_free (char **str_array);
45 #endif 45 #endif

http://wald.intevation.org/projects/trustbridge/