r1566: Do double buffering manually. This has no advantage at the moment, but
[rox-filer.git] / ROX-Filer / src / find.h
bloba7656efafd92c77d2ad6e29b52dc0791a9baf76a
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
6 */
8 #include <sys/stat.h>
9 #include <time.h>
11 typedef struct _FindCondition FindCondition;
12 typedef struct _FindInfo FindInfo;
13 typedef gboolean (*FindTest)(FindCondition *condition, FindInfo *info);
14 typedef void (*FindFree)(FindCondition *condition);
16 struct _FindInfo
18 const guchar *fullpath;
19 const guchar *leaf;
20 struct stat stats;
21 time_t now;
22 gboolean prune;
25 FindCondition *find_compile(const gchar *string);
26 gboolean find_test_condition(FindCondition *condition, FindInfo *info);
27 void find_condition_free(FindCondition *condition);