diff options
Diffstat (limited to 'src/search.h')
| -rw-r--r-- | src/search.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h new file mode 100644 index 0000000..9a5a086 --- /dev/null +++ b/src/search.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #ifndef __SLOTS__SEARCH_H__1863390513307 | ||
| 2 | #define __SLOTS__SEARCH_H__1863390513307 | ||
| 3 | |||
| 4 | #include <dirent.h> | ||
| 5 | |||
| 6 | // scandir filter: filter out anything that isn't a directory | ||
| 7 | int folderonly(const struct dirent64 *tester); | ||
| 8 | |||
| 9 | // scandir filter: filter out anything that isn't a regular file | ||
| 10 | int fileonly(const struct dirent64 *tester); | ||
| 11 | |||
| 12 | #endif \ No newline at end of file | ||
