home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource5 / 376_01 / os2tool.000 / DIRSCAN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-02  |  695 b   |  24 lines

  1. /*
  2. * DIRSCAN.C -        General directory scanner function. Definitions.
  3. *
  4. *
  5. * PROGRAMMER:        Martti Ylikoski
  6. * CREATED:        30.10.1991
  7. * VERSION:        1.0
  8. *
  9. */
  10. #define SC_RECURSIVE    -1
  11. #define SC_NONRECURSIVE  0
  12. #define SC_BEFORESUBDIRS 0x0001
  13. #define SC_AFTERSUBDIRS  0x0002
  14.  
  15. #ifdef MSDOS
  16. int DirScan( int fcount, char *fname[], unsigned findattr, int no_default,
  17.     int (*DirInit)(char *), int (*DirExitFn)(char *),
  18.     int (*FileHandlerFn)(char *), int DownCnt, int sc_flags    ) ;
  19. #else
  20. int DirScan( int fcount, char *fname[], USHORT findattr, int no_default,
  21.     int (*DirInit)(char *), int (*DirExitFn)(char *),
  22.     int (*FileHandlerFn)(char *), int DownCnt, int sc_flags ) ;
  23. #endif
  24.