Subversion Repositories HelenOS

Rev

Rev 3326 | Rev 3364 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef LS_H
  2. #define LS_H
  3.  
  4. /* Various values that can be returned by ls_scope() */
  5. #define LS_BOGUS 0
  6. #define LS_FILE  1
  7. #define LS_DIR   2
  8.  
  9. /* Protoypes for non entry points, intrinsic to ls. Stuff like ls_scope()
  10.  * is also duplicated in rm, while rm sort of duplicates ls_scan_dir().
  11.  * TODO make some more shared functions and don't expose the stuff below */
  12. extern unsigned int ls_scope(const char *);
  13. extern void ls_scan_dir(const char *, DIR *);
  14. extern void ls_print_dir(const char *);
  15. extern void ls_print_file(const char *);
  16.  
  17. #endif /* LS_H */
  18.  
  19.