Added an array of structs describing builtins, so as to not have to add
[simpleshell.git] / builtins.h
blob56afdeb9a455b9658ce15002a80454a7ec8f085b
1 #ifndef _BUILTINS_H
2 #define _BUILTIN_H
3 struct SH_BUILTIN {
4 char *name;
5 int (*command)(char **);
6 char *help;
7 };
9 int help_cmd(char **argv);
10 int exit_cmd(char **argv);
11 int kill_cmd(char **argv);
12 int cd_cmd(char **argv);
13 #endif