From 87d053adf7dc216fa5afb1e597ef1b94fe5b87b1 Mon Sep 17 00:00:00 2001 From: Vanshika Mohan Bongade <vb525@drexel.edu> Date: Fri, 28 Feb 2025 18:17:57 +0000 Subject: [PATCH] Upload New File --- WEEK-8/dshlib.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 WEEK-8/dshlib.h diff --git a/WEEK-8/dshlib.h b/WEEK-8/dshlib.h new file mode 100644 index 0000000..2d9c121 --- /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__ -- GitLab