mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
|
||||
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD.
|
||||
* libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
|
||||
|
||||
|
||||
@@ -37,9 +37,16 @@ extern "C" {
|
||||
int
|
||||
rtems_rootfs_mkdir (const char *path, mode_t omode);
|
||||
|
||||
/*
|
||||
/**
|
||||
* 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
|
||||
@@ -48,8 +55,14 @@ rtems_rootfs_file_append (const char *file,
|
||||
const int line_cnt,
|
||||
const char **lines);
|
||||
|
||||
/*
|
||||
* Helper for bulding an /etc/hosts file.
|
||||
/**
|
||||
* @brief Helper for bulding an /etc/hosts file.
|
||||
*
|
||||
* @param cip
|
||||
* @param cname
|
||||
* @param dname
|
||||
*
|
||||
* @return 0 on success, -1 on error
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -57,10 +70,12 @@ rtems_rootfs_append_host_rec (in_addr_t cip,
|
||||
const char *cname,
|
||||
const char *dname);
|
||||
|
||||
/*
|
||||
* Create a few common directories, plus a :
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user