class FileName{

public:
	long FileNames;
	FileName ();
	char Name[13];
	FileName *Next;
	long AddName (void);
	long FreeNames (void);
	long CopyName (char CopyName[13]);
	char *GetName (long FN_index);
	long FindName (char *seekname);
	long SelectName (long nameindex);
};

extern FileName *XFN;
extern FileName *First;
extern FileName *Last;
extern FileName *Current;
extern FileName *Selected;

long InitFileNames (void);
long FreeFileNames (void);
long ReadDirectoryList (char *seek);




