Converted README to markdown
[rox-filer.git] / ROX-Filer / src / find.h
blobda5ddf88918e41cf95431d92e386c33b1ef4d890
1 /*
2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
4 */
6 #include <sys/stat.h>
7 #include <time.h>
9 typedef struct _FindCondition FindCondition;
10 typedef struct _FindInfo FindInfo;
11 typedef gboolean (*FindTest)(FindCondition *condition, FindInfo *info);
12 typedef void (*FindFree)(FindCondition *condition);
14 struct _FindInfo
16 const guchar *fullpath;
17 const guchar *leaf;
18 struct stat stats;
19 time_t now;
20 gboolean prune;
23 FindCondition *find_compile(const gchar *string);
24 gboolean find_test_condition(FindCondition *condition, FindInfo *info);
25 void find_condition_free(FindCondition *condition);