diff options
Diffstat (limited to 'src/include/readsubdir.h')
-rw-r--r-- | src/include/readsubdir.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/readsubdir.h b/src/include/readsubdir.h index 3910693..fc816f4 100644 --- a/src/include/readsubdir.h +++ b/src/include/readsubdir.h @@ -1,17 +1,17 @@ #ifndef READSUBDIR_H #define READSUBDIR_H -#include "direntry.h" +#include <dirent.h> typedef struct readsubdir { DIR *dir; int pos; char *name; - void (*pause)(); + void (*pause)(char *); } readsubdir; -void readsubdir_init(); -int readsubdir_next(); +extern void readsubdir_init(readsubdir *rs, char *name, void (*pause)(char *)); +extern int readsubdir_next(readsubdir *rs, unsigned long *id); #define READSUBDIR_NAMELEN 10 |