home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 May / pcp151c.iso / misc / src / install / ls.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-07  |  573 b   |  21 lines

  1. #ifndef H_LS
  2. #define H_LS
  3.  
  4. #define SENDDIR_ALL        (1 << 0)
  5. #define SENDDIR_LONG        (1 << 1)
  6. #define SENDDIR_RECURSE        (1 << 2)
  7. #define SENDDIR_SIMPLEDIRS    (1 << 3)
  8. #define SENDDIR_NUMIDS        (1 << 4)
  9. #define SENDDIR_FILETYPE    (1 << 5)
  10. #define SENDDIR_FOLLOWLINKS    (1 << 6)
  11. #define SENDDIR_SORTNONE    (1 << 7)
  12. #define SENDDIR_SORTMTIME    (1 << 8)
  13. #define SENDDIR_SORTSIZE    (1 << 9)
  14. #define SENDDIR_SORTREVERSE    (1 << 9)
  15. #define SENDDIR_MULTICOLUMN    (1 << 10)
  16.  
  17. char * fileStatStr(char * dir, char * fn, struct stat * sbp, int flags);
  18. void listFiles(char * path, char * fn, int flags);
  19.  
  20. #endif
  21.