Rev 3346 | Rev 3945 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3346 | Rev 3364 | ||
---|---|---|---|
Line 4... | Line 4... | ||
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() |
- | |
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 */ |
- | |
- | 9 | ||
12 | extern unsigned int ls_scope(const char *); |
10 | static unsigned int ls_scope(const char *); |
13 | extern void ls_scan_dir(const char *, DIR *); |
11 | static void ls_scan_dir(const char *, DIR *); |
14 | extern void ls_print_dir(const char *); |
12 | static void ls_print_dir(const char *); |
15 | extern void ls_print_file(const char *); |
13 | static void ls_print_file(const char *); |
16 | 14 | ||
17 | #endif /* LS_H */ |
15 | #endif /* LS_H */ |
18 | 16 |