labwc/include/common/match.h

15 lines
384 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_MATCH_H
#define __LABWC_MATCH_H
#include <glib.h>
/**
* match_glob() - Pattern match using '*' wildcards and '?' jokers.
* @pattern: Pattern to match against.
* @string: String to search.
* Note: Comparison case-insensitive.
*/
bool match_glob(const gchar *pattern, const gchar *string);
#endif /* __LABWC_MATCH_H */