chiark / gitweb /
Merge nss-myhostname
[elogind.git] / src / shared / strv.h
index ae4e31f14c4246512ff50e5c9dafe54322beb141..45558d8960e703f60afa50dcb1df34f16ab5d9c9 100644 (file)
@@ -30,6 +30,7 @@ char *strv_find(char **l, const char *name);
 char *strv_find_prefix(char **l, const char *name);
 
 void strv_free(char **l);
+void strv_freep(char ***l);
 char **strv_copy(char **l) _malloc_;
 unsigned strv_length(char **l);
 
@@ -79,3 +80,5 @@ bool strv_overlap(char **a, char **b);
 
 #define STRV_FOREACH_BACKWARDS(s, l)            \
         for (; (l) && ((s) >= (l)); (s)--)
+
+char **strv_sort(char **l);