diff options
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-shell.h')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-shell.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-shell.h b/cpukit/libfs/src/rfs/rtems-rfs-shell.h new file mode 100644 index 0000000000..c07b7c3167 --- /dev/null +++ b/cpukit/libfs/src/rfs/rtems-rfs-shell.h @@ -0,0 +1,44 @@ +/* + * COPYRIGHT (c) 2010 Chris Johns <chrisj@rtems.org> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ +/** + * @file + * + * @ingroup rtems-rfs + * + * RTEMS File Systems Shell commands provide a CLI interface to support and + * development od the RFS file system. + */ + +#if !defined (_RTEMS_RFS_SHELL_H_) +#define _RTEMS_RFS_SHELL_H_ + +#include <stddef.h> +#include <stdbool.h> +#include <stdint.h> + +/** + * The shell command for the RFS debugger. + * + * @param argc The argument count. + * @param argv The argument variables. + * @return int The exit code for the command. A 0 is no error. + */ +int rtems_shell_debugrfs (int argc, char *argv[]); + +/** + * The shell command for formatting an RFS file system. + * + * @param argc The argument count. + * @param argv The argument variables. + * @return int The exit code for the command. A 0 is no error. + */ +int rtems_shell_rfs_format (int argc, char* argv[]); + +#endif |