Commit 5eac6c1e authored by Bernhard Link's avatar Bernhard Link

strlist.c

parent 598790d5
2006-09-10 Bernhard R. Link <brlink@debian.org>
* new strlist_add_dup
2006-09-07 Bernhard R. Link <brlink@debian.org>
* fix some typos (thanks to Jordi Mallach for noting)
......
......@@ -26,6 +26,8 @@ retvalue strlist_add(struct strlist *strlist,/*@only@*/char *element);
retvalue strlist_include(struct strlist *strlist,/*@only@*/char *element);
/* add a string alphabetically, discarding if already there. */
retvalue strlist_adduniq(struct strlist *strlist,/*@only@*/char *element);
/* like strlist_add, but strdup it first */
retvalue strlist_add_dup(struct strlist *strlist, const char *todup);
/* print a space seperated list of elements */
retvalue strlist_fprint(FILE *file,const struct strlist *strlist);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment