r291: Improved theme support (pixmap backgrounds work now).
[rox-filer/dt.git] / ROX-Filer / src / find.h
blob2d494485a0abbeaa4656d0af6abb21cc7fee0551
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
6 */
8 #include <glib.h>
9 #include <sys/stat.h>
10 #include <time.h>
12 typedef struct _FindCondition FindCondition;
13 typedef struct _FindInfo FindInfo;
14 typedef gboolean (*FindTest)(FindCondition *condition, FindInfo *info);
15 typedef void (*FindFree)(FindCondition *condition);
17 struct _FindInfo
19 guchar *fullpath;
20 guchar *leaf;
21 struct stat stats;
22 time_t now;
23 gboolean prune;
26 FindCondition *find_compile(guchar *string);
27 gboolean find_test_condition(FindCondition *condition, FindInfo *info);
28 void find_condition_free(FindCondition *condition);