GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-77aab223bc
ls_filter.c File Reference

GIS Library - Filename filter functions. More...

#include <grass/config.h>
#include <grass/gis.h>
#include <regex.h>
Include dependency graph for ls_filter.c:

Go to the source code of this file.

Functions

void * G_ls_regex_filter (const char *pat, int exclude, int extended, int ignorecase)
 
void * G_ls_glob_filter (const char *pat, int exclude, int ignorecase)
 
void G_free_ls_filter (void *regex)
 

Detailed Description

GIS Library - Filename filter functions.

(C) 2010 by Glynn Clements and the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Original author Glynn Clements

Definition in file ls_filter.c.

Function Documentation

◆ G_free_ls_filter()

void G_free_ls_filter ( void *  regex)

Definition at line 190 of file ls_filter.c.

References G_free().

◆ G_ls_glob_filter()

void* G_ls_glob_filter ( const char *  pat,
int  exclude,
int  ignorecase 
)

Definition at line 171 of file ls_filter.c.

◆ G_ls_regex_filter()

void* G_ls_regex_filter ( const char *  pat,
int  exclude,
int  extended,
int  ignorecase 
)

Definition at line 151 of file ls_filter.c.

References G_free(), G_malloc, G_set_ls_exclude_filter(), and NULL.