mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
15 lines
384 B
C
15 lines
384 B
C
|
|
/* 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 */
|