diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-28 19:49:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-28 19:49:28 +0000 |
commit | 4d94719cf982033183a5d641ef741f5e229d212d (patch) | |
tree | 6e4e30215926ce1f068e9e7738a470fc7dea18a1 /nuttx/examples/nsh/nsh.h | |
parent | 305d77e4688822294cd49112b4d8d73c48619979 (diff) | |
download | px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.tar.gz px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.tar.bz2 px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.zip |
Add wget command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1657 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r-- | nuttx/examples/nsh/nsh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h index 0ef0baaec..4a986a996 100644 --- a/nuttx/examples/nsh/nsh.h +++ b/nuttx/examples/nsh/nsh.h @@ -434,6 +434,11 @@ extern int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); extern int cmd_put(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); # endif #endif +#if defined(CONFIG_NET_TCP) && CONFIG_NFILE_DESCRIPTORS > 0 +# ifndef CONFIG_EXAMPLES_NSH_DISABLE_WGET + extern int cmd_wget(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); +# endif +#endif #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) # ifndef CONFIG_EXAMPLES_NSH_DISABLE_PING |