<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-06-09)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c:  Added
        rtems_ftpfs_mount() again.  Documentation.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2361&r2=text&tr2=1.2362&diff_format=h">M</a></td><td width='1%'>1.2362</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/lib/ftpfs.c.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>cpukit/libnetworking/lib/ftpfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/rtems/ftpfs.h.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>cpukit/libnetworking/rtems/ftpfs.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2361 rtems/cpukit/ChangeLog:1.2362
--- rtems/cpukit/ChangeLog:1.2361       Wed Jun  9 04:38:09 2010
+++ rtems/cpukit/ChangeLog      Wed Jun  9 06:36:06 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-06-09        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c:  Added
+       rtems_ftpfs_mount() again.  Documentation.
+
+2010-06-09     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   * libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added
        and use defines for file system types.
 

<font color='#006600'>diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.29 rtems/cpukit/libnetworking/lib/ftpfs.c:1.30
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.29 Mon May 31 08:56:37 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c      Wed Jun  9 06:36:08 2010
</font><font color='#997700'>@@ -99,6 +99,8 @@
</font>   struct timeval timeout;
 } rtems_ftpfs_mount_entry;
 
<font color='#000088'>+static const rtems_filesystem_operations_table rtems_ftpfs_ops;
+
</font> static const rtems_filesystem_file_handlers_r rtems_ftpfs_handlers;
 
 static const rtems_filesystem_file_handlers_r rtems_ftpfs_root_handlers;
<font color='#997700'>@@ -130,8 +132,6 @@
</font>   return 0;
 }
 
<font color='#880000'>-#if 0
-CCJ_REMOVE_MOUNT
</font> rtems_status_code rtems_ftpfs_mount(const char *mount_point)
 {
   int rv = 0;
<font color='#997700'>@@ -140,17 +140,17 @@
</font>     mount_point = RTEMS_FTPFS_MOUNT_POINT_DEFAULT;
   }
 
<font color='#880000'>-  rv = mkdir(mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
</font><font color='#000088'>+  rv = rtems_mkdir(mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
</font>   if (rv != 0) {
     return RTEMS_IO_ERROR;
   }
 
   rv = mount(
     NULL,
<font color='#880000'>-    &rtems_ftpfs_ops,
</font><font color='#000088'>+    mount_point,
+    RTEMS_FILESYSTEM_TYPE_FTPFS,
</font>     RTEMS_FILESYSTEM_READ_WRITE,
<font color='#880000'>-    NULL,
-    mount_point
</font><font color='#000088'>+    NULL
</font>   );
   if (rv != 0) {
     return RTEMS_IO_ERROR;
<font color='#997700'>@@ -158,7 +158,6 @@
</font> 
   return RTEMS_SUCCESSFUL;
 }
<font color='#880000'>-#endif
</font> 
 static rtems_status_code rtems_ftpfs_do_ioctl(
   const char *mount_point,
<font color='#997700'>@@ -1318,7 +1317,7 @@
</font>   return 0;
 }
 
<font color='#880000'>-const rtems_filesystem_operations_table rtems_ftpfs_ops = {
</font><font color='#000088'>+static const rtems_filesystem_operations_table rtems_ftpfs_ops = {
</font>   .evalpath_h = rtems_ftpfs_eval_path,
   .evalformake_h = NULL,
   .link_h = NULL,

<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/ftpfs.h:1.10 rtems/cpukit/libnetworking/rtems/ftpfs.h:1.11
--- rtems/cpukit/libnetworking/rtems/ftpfs.h:1.10       Mon May 31 08:56:37 2010
+++ rtems/cpukit/libnetworking/rtems/ftpfs.h    Wed Jun  9 06:36:09 2010
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /**
  * @file
  *
<font color='#880000'>- * File Transfer Protocol file system (FTP client).
</font><font color='#000088'>+ * @brief File Transfer Protocol file system (FTP client).
</font>  */
 
 /*
<font color='#997700'>@@ -46,12 +46,11 @@
</font> /**
  * @defgroup rtems_ftpfs File Transfer Protocol File System
  *
<font color='#880000'>- * The FTP file system (FTP client) can be used to transfer files from or to
- * remote hosts.
</font><font color='#000088'>+ * @brief The FTP file system (FTP client) can be used to transfer files from
+ * or to remote hosts.
</font>  *
  * You can mount the FTP file system with a call to rtems_ftpfs_mount().
<font color='#880000'>- * Alternatively you can use mount() with the @ref rtems_ftpfs_ops operations
- * table.
</font><font color='#000088'>+ * Alternatively you can use mount() directly.
</font>  *
  * You can open files either read-only or write-only.  A seek is not allowed.
  * A close terminates the control and data connections.
<font color='#997700'>@@ -74,17 +73,17 @@
</font>  */
 
 /**
<font color='#880000'>- * Well-known port number for FTP control connection.
</font><font color='#000088'>+ * @brief Well-known port number for FTP control connection.
</font>  */
 #define RTEMS_FTPFS_CTRL_PORT 21
 
 /**
<font color='#880000'>- * Default mount point for FTP file system.
</font><font color='#000088'>+ * @brief Default mount point for FTP file system.
</font>  */
 #define RTEMS_FTPFS_MOUNT_POINT_DEFAULT "/FTP"
 
 /**
<font color='#880000'>- * FTP file system IO control requests.
</font><font color='#000088'>+ * @brief FTP file system IO control requests.
</font>  */
 typedef enum {
   RTEMS_FTPFS_IOCTL_GET_VERBOSE = _IOR( 'd', 1, bool *),
<font color='#997700'>@@ -94,13 +93,19 @@
</font> } rtems_ftpfs_ioctl_numbers;
 
 /**
<font color='#880000'>- * FTP file system operations table.
- */
-extern const rtems_filesystem_operations_table rtems_ftpfs_ops;
</font><font color='#000088'>+ * @brief Creates the mount point @a mount_point and mounts the FTP file
+ * system.
+ *<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>        </span>
+ * If @a mount_point is @c NULL the default mount point<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>   </span>
+ * @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT will be used.<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>     </span>
+ *<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>        </span>
+ * It is mounted with read and write access.<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>      </span>
+ */<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span>       </span>
+rtems_status_code rtems_ftpfs_mount( const char *mount_point);
</font> 
 /**
<font color='#880000'>- * Returns in @a verbose if the verbose mode is enabled or disabled for the
- * file system at @a mount_point.
</font><font color='#000088'>+ * @brief Returns in @a verbose if the verbose mode is enabled or disabled for
+ * the file system at @a mount_point.
</font>  *
  * If @a mount_point is @c NULL the default mount point
  * @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT will be used.
<font color='#997700'>@@ -108,7 +113,7 @@
</font> rtems_status_code rtems_ftpfs_get_verbose( const char *mount_point, bool *verbose);
 
 /**
<font color='#880000'>- * Enables or disables the verbose mode if @a verbose is @c true or
</font><font color='#000088'>+ * @brief Enables or disables the verbose mode if @a verbose is @c true or
</font>  * @c false respectively for the file system at @a mount_point.
  *
  * In the enabled verbose mode the commands and replies of the FTP control
<font color='#997700'>@@ -120,8 +125,8 @@
</font> rtems_status_code rtems_ftpfs_set_verbose( const char *mount_point, bool verbose);
 
 /**
<font color='#880000'>- * Returns the current timeout value in @a timeout for the file system at
- * @a mount_point.
</font><font color='#000088'>+ * @brief Returns the current timeout value in @a timeout for the file system
+ * at @a mount_point.
</font>  *
  * If @a mount_point is @c NULL the default mount point
  * @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT will be used.
<font color='#997700'>@@ -132,7 +137,8 @@
</font> );
 
 /**
<font color='#880000'>- * Sets the timeout value to @a timeout for the file system at @a mount_point.
</font><font color='#000088'>+ * @brief Sets the timeout value to @a timeout for the file system at
+ * @a mount_point.
</font>  *
  * The timeout value will be used during connection establishment of active
  * data connections.  It will be also used for send and receive operations on
<font color='#997700'>@@ -149,13 +155,12 @@
</font> /** @} */
 
 /**
<font color='#880000'>- * Creates the default mount point @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT and
- * mounts the FTP file system. Do not call directly, use mount.xs
- *
- * It is mounted with read and write access.
</font><font color='#000088'>+ * Do not call directly, use rtems_ftpfs_mount() or mount().
</font>  */
<font color='#880000'>-int rtems_ftpfs_initialize(rtems_filesystem_mount_table_entry_t *e,
-                           const void                           *d);
</font><font color='#000088'>+int rtems_ftpfs_initialize(
+  rtems_filesystem_mount_table_entry_t *mt_entry,
+  const void *data
+);
</font> 
 #ifdef __cplusplus
 }
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>