Subversion Repositories HelenOS

Rev

Rev 3293 | Rev 3346 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3277 post 1
#ifndef LS_H
2
#define LS_H
3
 
3326 post 4
/* Various values that can be returned by ls_scope() */
3293 post 5
#define LS_BOGUS 0
6
#define LS_FILE  1
7
#define LS_DIR   2
3277 post 8
 
3326 post 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 */
3293 post 12
extern unsigned int ls_scope(const char *);
3326 post 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 *);
3293 post 16
 
3277 post 17
#endif /* LS_H */
18