1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* gnome-vfs-shellpattern-filter.c - fnmatch()-based filter for the |
---|
3 | GNOME Virtual File System. |
---|
4 | |
---|
5 | Copyright (C) 1999 Free Software Foundation |
---|
6 | |
---|
7 | The Gnome Library is free software; you can redistribute it and/or |
---|
8 | modify it under the terms of the GNU Library General Public License as |
---|
9 | published by the Free Software Foundation; either version 2 of the |
---|
10 | License, or (at your option) any later version. |
---|
11 | |
---|
12 | The Gnome Library is distributed in the hope that it will be useful, |
---|
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | Library General Public License for more details. |
---|
16 | |
---|
17 | You should have received a copy of the GNU Library General Public |
---|
18 | License along with the Gnome Library; see the file COPYING.LIB. If not, |
---|
19 | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
20 | Boston, MA 02111-1307, USA. |
---|
21 | |
---|
22 | Author: Ettore Perazzoli <ettore@comm2000.it> */ |
---|
23 | |
---|
24 | #ifndef GNOME_VFS_SHELLPATTERN_FILTER_H |
---|
25 | #define GNOME_VFS_SHELLPATTERN_FILTER_H |
---|
26 | |
---|
27 | #include <libgnomevfs/gnome-vfs-directory-filter.h> |
---|
28 | |
---|
29 | typedef struct GnomeVFSShellpatternFilter GnomeVFSShellpatternFilter; |
---|
30 | |
---|
31 | GnomeVFSShellpatternFilter *gnome_vfs_shellpattern_filter_new (const gchar *pattern, |
---|
32 | GnomeVFSDirectoryFilterOptions options); |
---|
33 | void gnome_vfs_shellpattern_filter_destroy (GnomeVFSShellpatternFilter *filter); |
---|
34 | gboolean gnome_vfs_shellpattern_filter_apply (GnomeVFSShellpatternFilter *filter, |
---|
35 | GnomeVFSFileInfo *info); |
---|
36 | |
---|
37 | #endif /* GNOME_VFS_SHELLPATTERN_FILTER_H */ |
---|