Annotation of hatari/src/includes/scandir.h, revision 1.1.1.5

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.1.5 ! root       20: extern int alphasort(const struct dirent **d1, const struct dirent **d2);
1.1.1.3   root       21: #endif
                     22: 
                     23: #if !HAVE_SCANDIR
1.1.1.5 ! root       24: extern int scandir(const char *dirname, struct dirent ***namelist,
        !            25:                    int (*sdfilter)(const struct dirent *),
        !            26:                    int (*comp)(const struct dirent **, const struct dirent **));
1.1       root       27: #endif
                     28: 
                     29: #endif /* HATARI_SCANDIR_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.