summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/mkrootfs.h
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-02-24 19:06:38 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-07 16:15:38 -0600
commit2a13ad389af61429a184e1cfac53c69eb673ad76 (patch)
tree035aca3f29ec996074a55d22b028f29c1d0cc4ea /cpukit/libnetworking/rtems/mkrootfs.h
parentcpukit: Move ftpfs from libnetworking to libfs (diff)
downloadrtems-2a13ad389af61429a184e1cfac53c69eb673ad76.tar.bz2
cpukit: Remove libnetworking
Update #3850
Diffstat (limited to 'cpukit/libnetworking/rtems/mkrootfs.h')
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/cpukit/libnetworking/rtems/mkrootfs.h b/cpukit/libnetworking/rtems/mkrootfs.h
deleted file mode 100644
index 1b1cb29a47..0000000000
--- a/cpukit/libnetworking/rtems/mkrootfs.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * @file
- *
- * RTEMS Root FS creation support.
- */
-
-/*
- Copyright Cybertec Pty Ltd, 2000
- All rights reserved Cybertec Pty Ltd, 2000
-
- COPYRIGHT (c) 1989-1998.
- On-Line Applications Research Corporation (OAR).
-
- 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.
-
- This software with is provided ``as is'' and with NO WARRANTY.
-*/
-
-#ifndef _RTEMS_MKROOTFS_H
-#define _RTEMS_MKROOTFS_H
-
-#include <sys/types.h> /* in_addr_t */
-
-#include <rtems.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Appends the lines to the a file. Create the file
- * and builds the path if it does not exist.
- *
- * @param file
- * @param omode
- * @param line_cnt
- * @param lines
- *
- * @return 0 on success, -1 on error
- */
-
-int
-rtems_rootfs_file_append (const char *file,
- mode_t omode,
- const int line_cnt,
- const char **lines);
-
-/**
- * @brief Helper for bulding an /etc/hosts file.
- *
- * @param cip
- * @param cname
- * @param dname
- *
- * @return 0 on success, -1 on error
- */
-
-int
-rtems_rootfs_append_host_rec (in_addr_t cip,
- const char *cname,
- const char *dname);
-
-/**
- * Create a few common directories, plus a:
- * /etc/passwd, /etc/group, /etc/host.conf, and
- * /etc/hosts file.
- *
- * @return 0 on success, -1 on error
- */
-
-int
-rtems_create_root_fs ( void );
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif