summaryrefslogtreecommitdiff
path: root/src/search.h
blob: 9a5a0866b03e33ffd86293fce8ac3cf2470e60ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __SLOTS__SEARCH_H__1863390513307
#define __SLOTS__SEARCH_H__1863390513307

#include <dirent.h>

// scandir filter: filter out anything that isn't a directory
int folderonly(const struct dirent64 *tester);

// scandir filter: filter out anything that isn't a regular file
int fileonly(const struct dirent64 *tester);

#endif