Rev 3364 | Rev 4344 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3364 | Rev 3403 | ||
---|---|---|---|
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 | 9 | ||
10 | static unsigned int ls_scope(const char *); |
10 | static unsigned int ls_scope(const char *); |
11 | static void ls_scan_dir(const char *, DIR *); |
11 | static void ls_scan_dir(const char *, DIR *); |
12 | static void ls_print_dir(const char *); |
12 | static void ls_print_dir(const char *); |
13 | static void ls_print_file(const char *); |
13 | static void ls_print_file(const char *); |
14 | 14 | ||
15 | #endif /* LS_H */ |
15 | #endif /* LS_H */ |
16 | 16 | ||
17 | 17 |