Subversion Repositories HelenOS

Rev

Rev 3326 | Rev 3364 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3326 Rev 3346
1
#ifndef LS_H
1
#ifndef LS_H
2
#define LS_H
2
#define LS_H
3
 
3
 
4
/* Various values that can be returned by ls_scope() */
4
/* Various values that can be returned by ls_scope() */
5
#define LS_BOGUS 0
5
#define LS_BOGUS 0
6
#define LS_FILE  1
6
#define LS_FILE  1
7
#define LS_DIR   2
7
#define LS_DIR   2
8
 
8
 
9
/* Protoypes for non entry points, intrinsic to ls. Stuff like ls_scope()
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().
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 */
11
 * TODO make some more shared functions and don't expose the stuff below */
12
extern unsigned int ls_scope(const char *);
12
extern unsigned int ls_scope(const char *);
13
extern void ls_scan_dir(const char *, DIR *);
13
extern void ls_scan_dir(const char *, DIR *);
14
extern void ls_print_dir(const char *);
14
extern void ls_print_dir(const char *);
15
extern void ls_print_file(const char *);
15
extern void ls_print_file(const char *);
16
 
16
 
17
#endif /* LS_H */
17
#endif /* LS_H */
18
 
18
 
19
 
19