changeset 527:3982e53923d5

* doc/dns.sgml: Use correct (and working!) docbook.
author jlarmour
date Wed, 22 Jan 2003 06:39:19 +0000
parents 1061ceceb720
children c3aae583b718
files packages/net/ns/dns/current/ChangeLog packages/net/ns/dns/current/doc/dns.sgml
diffstat 2 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/ns/dns/current/ChangeLog
+++ b/packages/net/ns/dns/current/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-22  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* doc/dns.sgml: Use correct (and working!) docbook.
+
 2003-01-18  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* include/dns_impl.inl (setdomainname): define with const name
--- a/packages/net/ns/dns/current/doc/dns.sgml
+++ b/packages/net/ns/dns/current/doc/dns.sgml
@@ -90,9 +90,20 @@ or user code my override this address by
 <PARA>The DNS client understands the concepts of the target being
 in a domain. By default no domain will be used. Host name lookups
 should be for fully qualified names. The domain name can be set
-and retrieved using the functions:<PARA> 
-<PROGRAMLISTING>setdomainname(const char *name, size_t len);
-getdomainname(char *name, size_t len);</PROGRAMLISTING>
+and retrieved using the functions:
+<funcsynopsis>
+  <funcprototype>
+    <funcdef>int <function>getdomainname</function></funcdef>
+    <paramdef>char *<parameter>name</parameter></paramdef>
+    <paramdef>size_t <parameter>len</parameter></paramdef>
+  </funcprototype>
+  <funcprototype>
+    <funcdef>int <function>setdomainname</function></funcdef>
+    <paramdef>const char *<parameter>name</parameter></paramdef>
+    <paramdef>size_t <parameter>len</parameter></paramdef>
+  </funcprototype>
+</funcsynopsis>
+</para>
 
 <PARA>Alternatively, a hard coded domain name can be set using CDL.
 The boolean <literal>CYGPKG_NS_DNS_DOMAINNAME</literal> enables this