From f84e64b593c6e6fda9e2a907d25ed99d8742d619 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sat, 1 Nov 2025 15:18:03 -0400 Subject: Added support for required builtins --- include/builtin.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/builtin.h (limited to 'include') diff --git a/include/builtin.h b/include/builtin.h new file mode 100644 index 0000000..1c99ef5 --- /dev/null +++ b/include/builtin.h @@ -0,0 +1,20 @@ +/* + * + */ +#ifndef H_HUSH_BUILTIN +#define H_HUSH_BUILTIN + +#include +#include + +#include "command.h" +#include "variables.h" + +/* + * Check if the provided command corresponds with a known built-in + * function. If so, run the builtin and return true. If not, return + * false. + */ +bool run_builtin(command *cmd); + +#endif -- cgit v1.2.3