r345: Fixed a bug that prevented i18n from working.
[rox-filer/dt.git] / ROX-Filer / src / find.h
blobb19d2c9850f731f99b20534d305810e7118315bc
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 guchar *fullpath;
19 guchar *leaf;
20 struct stat stats;
21 time_t now;
22 gboolean prune;
25 FindCondition *find_compile(guchar *string);
26 gboolean find_test_condition(FindCondition *condition, FindInfo *info);
27 void find_condition_free(FindCondition *condition);