summaryrefslogtreecommitdiffabout
path: root/src/fnpat.c
Side-by-side diff
Diffstat (limited to 'src/fnpat.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/fnpat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fnpat.c b/src/fnpat.c
index 5a98053..3e282b3 100644
--- a/src/fnpat.c
+++ b/src/fnpat.c
@@ -137,6 +137,14 @@ filpatlist_destroy(filpatlist_t *fptr)
}
int
+filpatlist_is_empty(filpatlist_t fp)
+{
+ if (!fp)
+ return 1;
+ return grecs_list_size(fp->list) == 0;
+}
+
+int
filpatlist_match(filpatlist_t fp, const char *name)
{
struct grecs_list_entry *ep;

Return to:

Send suggestions and report system problems to the System administrator.