axle OS
x86_32 UNIX-like hobby OS
src
user
shell
shell.h
1
#include <std/std.h>
2
3
#define MAX_COMMANDS 100
4
5
typedef
struct
{
6
char
* name;
7
char
* description;
8
void
*
function
;
9
}
command_table_t
;
10
11
void
add_new_command(
char
* name,
char
* description,
void
(*
function
)());
12
void
shell_init();
13
int
shell();
command_table_t
Definition:
shell.h:5
Generated by
1.8.14