/**************************************************************
*
*  header file for undel program
*
**************************************************************/

typedef enum { FALSE = (0!=0), TRUE = (0==0) } BOOL;

#define PRIVATE  static

#define AND             &&
#define OR              ||
#define NOT             !

#define HIGH(array)     (sizeof(array)/sizeof(array[0]) - 1)


short d_First(char *drvp, char *pathp, short attr);
short d_Next();

int
fsel(const char *title,    /* I  display title for box */
     char *path,      /* IO initial path spec \ ... \ no drive; returns selected path */
     int  *driv,      /* IO selects drive -1=default 0=A: .. 5=F: */
     int  *sextn,     /* IO bitmap selected extn boxes :
                       *    0x0001 = extn0    0x0002 = extn1    0x0004 = extn2
                       *    0x0008 = extn3    0x0010 = extn4
                       */
     char *extn0,
     char *extn1,     /* I  extension text not including "." for each of 1st 3 extn boxes  */
     char *extn2,     /*    NOTE for all 5 boxes this should be 3 chars long, even if spaces   */
     char *extn3,
     char *extn4,     /* IO extension text for last 2 extn boxes (editable) */
     char *fullname); /* O  returns complete path and file */

 /************************ end of undel.h ************************/
