summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd/ftpd-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/ftpd/ftpd-init.c')
-rw-r--r--cpukit/ftpd/ftpd-init.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/cpukit/ftpd/ftpd-init.c b/cpukit/ftpd/ftpd-init.c
new file mode 100644
index 0000000000..35546ff553
--- /dev/null
+++ b/cpukit/ftpd/ftpd-init.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2018 embedded brains GmbH. All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/ftpd.h>
+
+int rtems_initialize_ftpd( void )
+{
+ rtems_ftpd_configuration.verbose = true;
+ return rtems_ftpd_start( &rtems_ftpd_configuration );
+}