summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-01 23:09:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-01 23:09:29 +0000
commit67861ab4bc9411a36319f48f9aaad1a129fcde9b (patch)
tree97e2fb1cca991511cd55c2f7899fc6dcd612a2ab /apps/include
parent17b27f51ace2d8529e6bf5ac5c84d01c08d8dbf5 (diff)
downloadnuttx-67861ab4bc9411a36319f48f9aaad1a129fcde9b.tar.gz
nuttx-67861ab4bc9411a36319f48f9aaad1a129fcde9b.tar.bz2
nuttx-67861ab4bc9411a36319f48f9aaad1a129fcde9b.zip
Add a simple shell and configuration to verify the FTP client library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3656 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/ftpc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/include/ftpc.h b/apps/include/ftpc.h
index 77122ddae..211edbad4 100644
--- a/apps/include/ftpc.h
+++ b/apps/include/ftpc.h
@@ -43,7 +43,9 @@
#include <nuttx/config.h>
#include <stdbool.h>
+#include <signal.h>
#include <time.h>
+
#include <netinet/in.h>
/****************************************************************************
@@ -79,6 +81,10 @@
# define CONFIG_FTP_MAXPATH 256
#endif
+#ifndef CONFIG_FTP_SIGNAL
+# define CONFIG_FTP_SIGNAL SIGUSR1
+#endif
+
/* Interface arguments ******************************************************/
/* These definitions describe how a put operation should be performed */
@@ -185,7 +191,7 @@ EXTERN int ftpc_idle(SESSION handle, unsigned int idletime);
EXTERN int ftpc_noop(SESSION handle);
EXTERN int ftpc_help(SESSION handle, FAR const char *arg);
-/* Director listings ********************************************************/
+/* Directory listings *******************************************************/
EXTERN FAR struct ftpc_dirlist_s *ftpc_listdir(SESSION handle,
FAR const char *dirpath);