|
|
1.1 root 1: /*
2: Hatari - scandir.h
3:
1.1.1.4 ! root 4: This file is distributed under the GNU General Public License, version 2
! 5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7: #ifndef HATARI_SCANDIR_H
8: #define HATARI_SCANDIR_H
9:
1.1.1.3 root 10: #include "config.h"
1.1 root 11: #include <dirent.h>
12:
13: #ifdef QNX
14: #include <sys/types.h>
15: #include <sys/dir.h>
16: #define dirent direct
17: #endif
18:
1.1.1.3 root 19: #if !HAVE_ALPHASORT
1.1 root 20: extern int alphasort(const void *d1, const void *d2);
1.1.1.3 root 21: #endif
22:
23: #if !HAVE_SCANDIR
1.1 root 24: extern int scandir(const char *dirname, struct dirent ***namelist, int (*sdfilter)(struct dirent *), int (*dcomp)(const void *, const void *));
25: #endif
26:
27: #endif /* HATARI_SCANDIR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.