source: mainline/uspace/app/bdsh/cmds/modules/ls/ls.h@ 216d6fc

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 216d6fc was 216d6fc, checked in by Tim Post <echo@…>, 17 years ago

Merge with shell @ 3241 for bdsh

  • Property mode set to 100644
File size: 554 bytes
Line 
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 */
12extern unsigned int ls_scope(const char *);
13extern void ls_scan_dir(const char *, DIR *);
14extern void ls_print_dir(const char *);
15extern void ls_print_file(const char *);
16
17#endif /* LS_H */
18
Note: See TracBrowser for help on using the repository browser.