mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
						|
#ifndef LABWC_MATCH_H
 | 
						|
#define LABWC_MATCH_H
 | 
						|
 | 
						|
#include <stdbool.h>
 | 
						|
 | 
						|
/**
 | 
						|
 * match_glob() - Pattern match using shell wildcard rules (see glob(7))
 | 
						|
 * @pattern: Pattern to match against.
 | 
						|
 * @string: String to search.
 | 
						|
 * Note: Comparison case-insensitive.
 | 
						|
 */
 | 
						|
bool match_glob(const char *pattern, const char *string);
 | 
						|
 | 
						|
#endif /* LABWC_MATCH_H */
 |