/******************************************************************************
* Procedures to print/change the current directory.			      *
* Both routine assume the usage of GraphGen.c graphic module, and use the     *
* MenuArea (MsgArea) as i/o (print and read).				      *
*				Ver 0.2		Gershon Elber	      May. 89 *
******************************************************************************/

#ifndef DIR_GRAF_H
#define DIR_GRAF_H

typedef char FileNameType[FILE_NAME_LEN];

#define DEFAULT_FILE_TO_DIR  "*.*"
#define DEFAULT_DIR_TO_DIR "."

typedef enum {		     /* Possible return values of ChangeDir routine. */
    CD_OK,
    CD_NO_SUCH_DIR,
    CD_NO_SUCH_DISK,
    CD_INVALID_DIR
} ChDirErrorType;

FileNameType *GetFileNamesDir(char *Mask, char *Directory, int *NumOfFiles);
ChDirErrorType ChangeDir(char *Directory);
char *GetDir(void);
void DosSystem(void);

#endif DIR_GRAF_H
