summaryrefslogtreecommitdiff
path: root/rtemsbsd/telnetd/telnetd-init.c
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-03-22 21:05:25 -0600
committerVijay Kumar Banerjee <vijay@rtems.org>2021-03-23 00:22:29 -0600
commit6bda703964e8cbbf73cb21f52fb7ceeb3cb3a541 (patch)
treed1b143bd1dd9c76d190a416ebc4503022b692f7d /rtemsbsd/telnetd/telnetd-init.c
parent3cdf2894241d87795f0840b9ce281a89404e361b (diff)
Import telnetd from RTEMS repositoryHEADmaster
The files have been taken from RTEMS repository with head commit at bd9e45d91f77657445400bc2c814f251c9e37cef
Diffstat (limited to 'rtemsbsd/telnetd/telnetd-init.c')
-rw-r--r--rtemsbsd/telnetd/telnetd-init.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/rtemsbsd/telnetd/telnetd-init.c b/rtemsbsd/telnetd/telnetd-init.c
new file mode 100644
index 00000000..586aaef7
--- /dev/null
+++ b/rtemsbsd/telnetd/telnetd-init.c
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/telnetd.h>
+
+rtems_status_code rtems_telnetd_initialize( void )
+{
+ return rtems_telnetd_start( &rtems_telnetd_config );
+}