diff options
Diffstat (limited to 'apps/include/ftpc.h')
-rw-r--r-- | apps/include/ftpc.h | 8 |
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); |