summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/strlist.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-30 01:33:56 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-30 01:33:56 +0200
commit23a798caf6aa70bbff3fcbe9bbdb50d602bd1bb3 (patch)
tree3a0322355d019360acbb3b1139956f29beba6c6e /src/pulsecore/strlist.h
parent9208b86b5ecf72b69743a09cd0c8a99078c0fc0f (diff)
strlist: add new calls pa_strlist_{next|data}()
Diffstat (limited to 'src/pulsecore/strlist.h')
-rw-r--r--src/pulsecore/strlist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulsecore/strlist.h b/src/pulsecore/strlist.h
index 2584e86c..e57203c5 100644
--- a/src/pulsecore/strlist.h
+++ b/src/pulsecore/strlist.h
@@ -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