home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / PROGRAM / DJDEV106.ZIP / INCLUDE / DIR.H < prev    next >
C/C++ Source or Header  |  1992-03-09  |  559b  |  33 lines

  1. #ifndef _DIR_H_
  2. #define _DIR_H_
  3.  
  4. struct ffblk {
  5.   char ff_reserved[21];
  6.   char ff_attrib;
  7.   short ff_ftime;
  8.   short ff_fdate;
  9.   short ff_filler;
  10.   long ff_fsize;
  11.   char ff_name[16];
  12. };
  13.  
  14. #define FA_RDONLY       1
  15. #define FA_HIDDEN       2
  16. #define FA_SYSTEM       4
  17. #define FA_LABEL        8
  18. #define FA_DIREC        16
  19. #define FA_ARCH         32
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. int findfirst(const char *pathname, struct ffblk *ffblk, int attrib);
  26. int findnext(struct ffblk *ffblk);
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.  
  32. #endif
  33.