about summary refs log tree commit diff
path: root/util.h
diff options
context:
space:
mode:
authorHeikki Kallasjoki <fis@zem.fi>2018-11-30 21:49:29 +0000
committerHeikki Kallasjoki <fis@zem.fi>2018-11-30 21:50:10 +0000
commit1df8f91af10605e3245774ed4b86254e8d9a1ffe (patch)
tree483932952a00c047dc5b617746efa13ec537eed5 /util.h
parentcf2969241324d2464bf1121406404cd8c0f6e0bc (diff)
downloadnano-exporter-1df8f91af10605e3245774ed4b86254e8d9a1ffe.tar.gz
nano-exporter-1df8f91af10605e3245774ed4b86254e8d9a1ffe.tar.xz
nano-exporter-1df8f91af10605e3245774ed4b86254e8d9a1ffe.zip
Add support for matching with prefix in include/exclude lists.
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 173b2a9..b87ad5f 100644
--- a/util.h
+++ b/util.h
@@ -47,6 +47,7 @@ struct slist *slist_split(const char *str, const char *delim);
 struct slist **slist_append(struct slist **prev, const char *str);
 struct slist *slist_prepend(struct slist *list, const char *str);
 bool slist_contains(const struct slist *list, const char *key);
+bool slist_matches(const struct slist *list, const char *key);
 
 // miscellaneous utilities