#ifndef __KANDR_DIRENT_H
#define __KANDR_DIRENT_H

#define NAME_MAX  14

typedef struct {
	long ino;
	char name[NAME_MAX+1];
} Dirent;

typedef struct {
	int fd;
	Dirent d;
} DIR;

DIR *opendir(char *dirname);
Dirent *readdir (DIR *dfd);
void closedir(DIR *dfd);

#endif
