Merge branch 'master' of ssh://box.fiane.intra/var/lib/git/libucore
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user