#include <stdio.h>
#include <ctype.h>
#include <time.h> 
#include <exec/types.h>
#include <exec/exec.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
#include <exec/memory.h>
#include <exec/tasks.h>

struct DPTR {                    /* Format of directory fetch pointer */
   struct FileLock *lock;        /* lock on directory   */
   struct FileInfoBlock *fib;    /* mod'd fib for entry */
};

struct dir_st {
	struct dir_st *next;
	char *filename;
	int dir;
	struct DateStamp date;
};

extern struct DPTR *dopen();
extern char *malloc(), *strcpy(), *AllocMem();
extern struct FileLock *Lock(), *DupLock(), *CurrentDir();

extern struct dir_st *getdir();
extern void freedir();
