summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-11 17:37:41 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-11 17:37:41 +0000
commit1924debc29cbc64094cf41bbdf878c6c53dd4d7b (patch)
tree440984e28c0c277108279ddd73686e8e34cf8d99 /nuttx/examples/nsh/nsh.h
parentfaa4bb28e9f5e2e3c060ecb1ad7e5bc62f023292 (diff)
downloadpx4-nuttx-1924debc29cbc64094cf41bbdf878c6c53dd4d7b.tar.gz
px4-nuttx-1924debc29cbc64094cf41bbdf878c6c53dd4d7b.tar.bz2
px4-nuttx-1924debc29cbc64094cf41bbdf878c6c53dd4d7b.zip
More apps/ updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3366 42af7a65-404d-4744-a932-0658087f49c3
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