diff --git a/WEEK-8/dshlib.h b/WEEK-8/dshlib.h new file mode 100644 index 0000000000000000000000000000000000000000..2d9c12169eb4f535c3e8f17e760f215b850f28ff --- /dev/null +++ b/WEEK-8/dshlib.h @@ -0,0 +1,15 @@ +#ifndef __DSHLIB_H__ +#define __DSHLIB_H__ + +#include "rshlib.h" + + +#define SH_PROMPT "dsh4> " +#define EXIT_CMD "exit" + + +int exec_local_cmd_loop(); +int exec_builtin_command(Built_In_Cmds cmd_type, char *arg); +void free_command_list(command_list_t *clist); + +#endif // __DSHLIB_H__