This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Make tcpip.sgml happy with Jade
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Thu, 24 Apr 2003 00:45:25 +0100
- Subject: Make tcpip.sgml happy with Jade
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/ChangeLog,v
retrieving revision 1.31
diff -u -5 -p -r1.31 ChangeLog
--- ChangeLog 23 Apr 2003 08:52:08 -0000 1.31
+++ ChangeLog 23 Apr 2003 23:45:24 -0000
@@ -1,5 +1,10 @@
+2003-04-24 Jonathan Larmour <jifl at eCosCentric dot com>
+
+ * doc/tcpip.sgml: Fix some docbook errors only reported by certain
+ Jade versions.
+
2003-04-12 Andrew Lunn <andrew dot lunn at ascom dot ch>
* src/network_support.c (init_loopback_interface): Close the
socket when things go wrong otherwise we leak sockets.
Index: doc/tcpip.sgml
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/doc/tcpip.sgml,v
retrieving revision 1.5
diff -u -5 -p -r1.5 tcpip.sgml
--- doc/tcpip.sgml 23 Apr 2003 08:52:08 -0000 1.5
+++ doc/tcpip.sgml 23 Apr 2003 23:45:24 -0000
@@ -416,13 +416,13 @@ it — or it comes pre-set from the
<title>Support Features</title>
<SECT1 id="net-common-tftp">
<TITLE>TFTP</TITLE>
<PARA>The TFTP client and server are described in
<filename>tftp_support.h</filename>;
-
-<PARA>The TFTP client has and new and an older, depreciated, API. The
-new API works for both IPv4 and IPv6 where as the depreciated API is
+</PARA>
+<PARA>The TFTP client has and new and an older, deprecated, API. The
+new API works for both IPv4 and IPv6 where as the deprecated API is
IPv4 only.
</PARA>
<PARA>
The new API is as follows:
</PARA>
@@ -447,11 +447,11 @@ IPv6 address. The resolver is currently
add this feature (patches welcome). If <varname>port</varname> is zero
the client connects to the default TFTP port on the server. Otherwise
the specified port is used.
</PARA>
<PARA>
-The depreciated API is:
+The deprecated API is:
<PROGRAMLISTING>int tftp_client_get(char *filename,
struct sockaddr_in *server,
char *buf,
int len,
int mode,
@@ -462,10 +462,11 @@ int tftp_client_put(char *filename,
char *buf,
int len,
int mode,
int *err);
</PROGRAMLISTING>
+</PARA>
<PARA>
The <varname>server</varname> should contain the address of the
server to contact. If the <varname>sin_port</varname> member of the
structure is zero the default TFTP port is used. Otherwise the
specified port is used.
@@ -506,10 +507,11 @@ of a vector of function pointers:</PARA>
describing the filesystem is an argument to the <function>tftpd_start</function>:
<PROGRAMLISTING>
int tftp_start(int port,
struct tftpd_fileops *ops);
</PROGRAMLISTING>
+</PARA>
<PARA>The first argument is the port to use for the server. If this
port number is zero, the default TFTP port number will be used. The
return value from <function>tftpd_start</function> is a handle which
can be passed to <function>tftpd_stop</function>. This will kill the
tftpd thread. Note that this is not a clean shutdown. The thread will