summaryrefslogtreecommitdiff
path: root/src/shared/set.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-19 04:52:14 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-19 04:52:14 +0200
commit9590dfe771d1f499703414c5c5cf21eec7ef69a4 (patch)
treeb945620dd34ec049fa2b4f298ebea033210a8e1f /src/shared/set.h
parent7591abd48079edc1f2adbd922e4b83eb73abeabe (diff)
downloadsystemd-9590dfe771d1f499703414c5c5cf21eec7ef69a4.tar.gz
set: introduce set_get_strv()
Diffstat (limited to 'src/shared/set.h')
-rw-r--r--src/shared/set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/set.h b/src/shared/set.h
index a6c1d76b0e..9162e2ae80 100644
--- a/src/shared/set.h
+++ b/src/shared/set.h
@@ -62,6 +62,8 @@ void *set_steal_first(Set *s);
void* set_first(Set *s);
void* set_last(Set *s);
+char **set_get_strv(Set *s);
+
#define SET_FOREACH(e, s, i) \
for ((i) = ITERATOR_FIRST, (e) = set_iterate((s), &(i)); (e); (e) = set_iterate((s), &(i)))