home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / disk / undelete / undel.h < prev    next >
Text File  |  1993-02-14  |  1KB  |  37 lines

  1. /**************************************************************
  2. *
  3. *  header file for undel program
  4. *
  5. **************************************************************/
  6.  
  7. typedef enum { FALSE = (0!=0), TRUE = (0==0) } BOOL;
  8.  
  9. #define PRIVATE  static
  10.  
  11. #define AND             &&
  12. #define OR              ||
  13. #define NOT             !
  14.  
  15. #define HIGH(array)     (sizeof(array)/sizeof(array[0]) - 1)
  16.  
  17.  
  18. short d_First(char *drvp, char *pathp, short attr);
  19. short d_Next();
  20.  
  21. int
  22. fsel(const char *title,    /* I  display title for box */
  23.      char *path,      /* IO initial path spec \ ... \ no drive; returns selected path */
  24.      int  *driv,      /* IO selects drive -1=default 0=A: .. 5=F: */
  25.      int  *sextn,     /* IO bitmap selected extn boxes :
  26.                        *    0x0001 = extn0    0x0002 = extn1    0x0004 = extn2
  27.                        *    0x0008 = extn3    0x0010 = extn4
  28.                        */
  29.      char *extn0,
  30.      char *extn1,     /* I  extension text not including "." for each of 1st 3 extn boxes  */
  31.      char *extn2,     /*    NOTE for all 5 boxes this should be 3 chars long, even if spaces   */
  32.      char *extn3,
  33.      char *extn4,     /* IO extension text for last 2 extn boxes (editable) */
  34.      char *fullname); /* O  returns complete path and file */
  35.  
  36.  /************************ end of undel.h ************************/
  37.