Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

shell.h

Go to the documentation of this file.
00001 /*!     \file include/kernel/shell.h
00002  *      \brief MiniShell header.
00003  *      \author Andrea Righi <drizzt@inwind.it>
00004  *      \date Last update: 2003-11-05
00005  *      \note Copyright (C) 2003 Andrea Righi
00006  */
00007 
00008 #ifndef SHELL_H
00009 #define SHELL_H
00010 
00011 //! The name & version of the shell.
00012 #define SH_VERSION      "MiniShell version 0.03.01"
00013 
00014 //! The number of commands supported.
00015 #define SH_COMMANDS     ( sizeof(commands)/sizeof(CMD_t) )
00016 
00017 //! A command format structure.
00018 typedef struct CMD {
00019         byte index;
00020         char *name;
00021         char *usage;
00022         char *help;
00023 } CMD_t;
00024 
00025 
00026 // --- Prototypes ----------------------------------------------------- //
00027 
00028 void shell();
00029 
00030 #endif
00031 

Generated on Fri Feb 20 15:32:16 2004 for Minirighi by doxygen1.2.18