This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: [ECOS] build_bootp_record() support dns server address
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Sat, 18 Jan 2003 04:22:42 GMT
- Subject: Re: [ECOS] build_bootp_record() support dns server address
Oops. This too.
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/ns/dns/current/ChangeLog,v
retrieving revision 1.9
diff -u -5 -p -r1.9 ChangeLog
--- ChangeLog 18 Jan 2003 04:18:48 -0000 1.9
+++ ChangeLog 18 Jan 2003 04:22:17 -0000
@@ -1,10 +1,11 @@
2003-01-18 Jonathan Larmour <jifl@eCosCentric.com>
* include/dns_impl.inl (setdomainname): define with const name
argument.
* include/dns.h: Ditto.
+ * doc/dns.sgml: Document const in setdomainname proto here.
2003-01-10 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/dns.cdl: Added the ability to hard code a domain name.
Inspired by Motoya Kurotsu.
Index: doc/dns.sgml
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/ns/dns/current/doc/dns.sgml,v
retrieving revision 1.3
diff -u -5 -p -r1.3 dns.sgml
--- doc/dns.sgml 18 Jan 2003 03:47:03 -0000 1.3
+++ doc/dns.sgml 18 Jan 2003 04:22:17 -0000
@@ -89,11 +89,11 @@ 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(char *name, size_t len);
+<PROGRAMLISTING>setdomainname(const char *name, size_t len);
getdomainname(char *name, size_t len);</PROGRAMLISTING>
<PARA>Alternatively, a hard coded domain name can be set using CDL.
The boolean <literal>CYGPKG_NS_DNS_DOMAINNAME</literal> enables this
and the domain name is taken from