summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r--nuttx/examples/nsh/nsh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h
index a7a04a908..4f6811a6d 100644
--- a/nuttx/examples/nsh/nsh.h
+++ b/nuttx/examples/nsh/nsh.h
@@ -326,6 +326,12 @@ extern int nsh_archinitialize(void);
extern int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline);
+/* Application interface */
+
+#ifdef CONFIG_EXAMPLES_NSH_BUILTIN_APPS
+extern int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, const char *cmd, char *argv[]);
+#endif
+
/* I/O interfaces */
#ifdef CONFIG_EXAMPLES_NSH_CONSOLE