chiark / gitweb /
path-util: unify code for detecting OS trees
[elogind.git] / src / shared / set.c
index 4d56c4f50580547e4337e19ac8499bb670087f29..5f83c50839ae78b831d6f3853eea7ce6c6eb89a4 100644 (file)
@@ -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));
+}