diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-16 05:06:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-16 05:06:02 +0200 |
commit | a4bfb3990be698b1f5c691a73823c040ffe919d5 (patch) | |
tree | f13640eb2fda183609f5680adf4068be786a25e1 /src/strv.h | |
parent | d3782d60cd47f57f48a9229bdd3badbd2f4bae44 (diff) |
strv: introduce strv_find_prefix()
Diffstat (limited to 'src/strv.h')
-rw-r--r-- | src/strv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strv.h b/src/strv.h index 11d2ea1207..2d24b4e392 100644 --- a/src/strv.h +++ b/src/strv.h @@ -28,6 +28,8 @@ #include "macro.h" char *strv_find(char **l, const char *name); +char *strv_find_prefix(char **l, const char *name); + void strv_free(char **l); char **strv_copy(char **l) _malloc_; unsigned strv_length(char **l); |