grub2: bring back build of aros-side grub2 tools
[AROS.git] / tools / genmodule / stringlist.h
blob881d84190165dd72cf5bc88081433a9ccbeb7176
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);
18 int slist_length(struct stringlist *list);
20 #endif //STRINGLIST_H