strlist: add new calls pa_strlist_{next|data}()

This commit is contained in:
Lennart Poettering 2009-04-30 01:33:56 +02:00
parent 9208b86b5e
commit 23a798caf6
2 changed files with 18 additions and 0 deletions

View file

@ -47,4 +47,10 @@ pa_strlist* pa_strlist_parse(const char *s);
/* Reverse string list */
pa_strlist *pa_strlist_reverse(pa_strlist *l);
/* Return the next item in the list */
pa_strlist *pa_strlist_next(pa_strlist *s);
/* Return the string associated to the current item */
const char *pa_strlist_data(pa_strlist *s);
#endif