mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Add 'append_to_strlist_try' which can fail.
* common/strlist.c (append_to_strlist): Use the new function. (append_to_strlist_try): New function. * common/strlist.h (append_to_strlist_try): New prototype. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
342cc48889
commit
95303ee11d
2 changed files with 16 additions and 0 deletions
|
@ -46,6 +46,7 @@ strlist_t add_to_strlist_try (strlist_t *list, const char *string);
|
|||
strlist_t add_to_strlist2( strlist_t *list, const char *string, int is_utf8);
|
||||
|
||||
strlist_t append_to_strlist (strlist_t *list, const char *string);
|
||||
strlist_t append_to_strlist_try (strlist_t *list, const char *string);
|
||||
strlist_t append_to_strlist2 (strlist_t *list, const char *string,
|
||||
int is_utf8);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue