summaryrefslogtreecommitdiff
path: root/src/shared/set.c
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.c
parent7591abd48079edc1f2adbd922e4b83eb73abeabe (diff)
set: introduce set_get_strv()
Diffstat (limited to 'src/shared/set.c')
-rw-r--r--src/shared/set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/set.c b/src/shared/set.c
index 4d56c4f505..5f83c50839 100644
--- a/src/shared/set.c
+++ b/src/shared/set.c
@@ -124,3 +124,7 @@ void set_clear(Set *s) {
void set_clear_free(Set *s) {
hashmap_clear_free(MAKE_HASHMAP(s));
}
+
+char **set_get_strv(Set *s) {
+ return hashmap_get_strv(MAKE_HASHMAP(s));
+}