X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=util.h;h=b9eb3602c85f0e084ea2d439b7de2258c9c524c5;hp=ecf3b15e33721596950fd039513abeedce0b567e;hb=3177a7fa12247d30b854fcb7697cd578b9086bf5;hpb=07b0b134d3076fe223d6e15959b6081a74b56792 diff --git a/util.h b/util.h index ecf3b15e3..b9eb3602c 100644 --- a/util.h +++ b/util.h @@ -89,6 +89,7 @@ static inline bool is_path_absolute(const char *p) { bool endswith(const char *s, const char *postfix); bool startswith(const char *s, const char *prefix); +bool startswith_no_case(const char *s, const char *prefix); bool first_word(const char *s, const char *word);