summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-18 10:03:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-18 10:03:49 +0000
commit8d3088716d969a35e2a359050fe116e08df358f3 (patch)
treeed8f5d2ff0d5924d0034a728576a81f85112f5c0 /cpukit/libnetworking
parent2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8d3088716d969a35e2a359050fe116e08df358f3.tar.bz2
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/cpukit/libnetworking/rtems/mkrootfs.h b/cpukit/libnetworking/rtems/mkrootfs.h
index 0f24fae273..e3e50d55d1 100644
--- a/cpukit/libnetworking/rtems/mkrootfs.h
+++ b/cpukit/libnetworking/rtems/mkrootfs.h
@@ -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