Merge branch 'master' of ssh://box.fiane.intra/var/lib/git/libucore

This commit is contained in:
Nils O. Selåsdal
2013-10-27 13:25:17 +01:00
16 changed files with 412 additions and 55 deletions
+12
View File
@@ -87,6 +87,18 @@ void uc_strv_clear(struct UCStrv *strv);
*/
void uc_strv_destroy(struct UCStrv *strv);
/**
* Append all the elments from b to a
* If copy is 1, the appended elements will be copied when appended
*
* @param a destination UCStrv
* @param b source UCStrv
* @param copy 1 for making a copy of the string when appending it
* 0 to just append the same pointer in b to a
* @return 0 on success, != 0 if appending/allocation fails
*/
int uc_strv_append_all(struct UCStrv *a, struct UCStrv *b, int copy);
#ifdef __cplusplus
}
#endif