Some more clean up in clib:
[AROS.git] / tools / genmodule / stringlist.h
blob62b3890bba1aa1835f06e03d22bf2f63a9ab9d0b
1 /*
2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
4 Desc: Code for the handling of a list of strings
5 */
7 #ifndef STRINGLIST_H
8 #define STRINGLIST_H
10 struct stringlist {
11 struct stringlist *next;
12 char *s;
15 struct stringlist *slist_append(struct stringlist **list, const char *s);
16 struct stringlist *slist_prepend(struct stringlist **list, const char *s);
17 int slist_remove(struct stringlist **list, struct stringlist *node);
19 #endif //STRINGLIST_H