set: introduce set_fnmatch()

This commit is contained in:
Yu Watanabe
2022-04-27 16:32:15 +09:00
parent cf393c5f44
commit d25d4f189c
3 changed files with 73 additions and 0 deletions
+2
View File
@@ -153,3 +153,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free);
int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret);
bool set_equal(Set *a, Set *b);
bool set_fnmatch(Set *include_patterns, Set *exclude_patterns, const char *needle);