chiark / gitweb /
service,strv: introduce strv_find_startswith() and make use of it
[elogind.git] / src / shared / strv.h
index ee55c148aa2ab7086e753867bd7148f0bc1b8335..9c9633c515f04db60488461c810c89af7cffe927 100644 (file)
@@ -28,6 +28,7 @@
 
 char *strv_find(char **l, const char *name) _pure_;
 char *strv_find_prefix(char **l, const char *name) _pure_;
+char *strv_find_startswith(char **l, const char *name) _pure_;
 
 void strv_free(char **l);
 DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free);