/*
   local/ndir.h
*/
#define MAXNAMLEN 10
struct direct {
   short d_reclen;
   short d_namlen;
   char  d_name[MAXNAMLEN + 1];
};

typedef struct _dirdesc {
  int handle;
} DIR;

#ifndef _ndir
extern DIR *opendir(char *file);
extern struct direct *readdir(DIR *dir);
extern void closedir(DIR *dir);
#endif
