summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-06-10 23:19:04 -0500
committer@syxhe <https://t.me/syxhe>2024-06-10 23:19:04 -0500
commit1e9915d2ce9baa31506a8c04929d6e44a29f106b (patch)
treece659689a424f63481151cf726fb4f34491c9bc0 /src/search.h
Initial Commit
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h12
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
7int folderonly(const struct dirent64 *tester);
8
9// scandir filter: filter out anything that isn't a regular file
10int fileonly(const struct dirent64 *tester);
11
12#endif \ No newline at end of file