[svn] commit: r780 - /branches/jinmei-dnsrdata2/src/lib/dns/cpp/rdata.h

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Feb 10 09:46:50 UTC 2010


Author: jinmei
Date: Wed Feb 10 09:46:49 2010
New Revision: 780

Log:
style/cleanup

Modified:
    branches/jinmei-dnsrdata2/src/lib/dns/cpp/rdata.h

Modified: branches/jinmei-dnsrdata2/src/lib/dns/cpp/rdata.h
==============================================================================
--- branches/jinmei-dnsrdata2/src/lib/dns/cpp/rdata.h (original)
+++ branches/jinmei-dnsrdata2/src/lib/dns/cpp/rdata.h Wed Feb 10 09:46:49 2010
@@ -167,6 +167,9 @@
 /// This function is publicly open, however, for the convenience of
 /// external developers who want to implement new or experimental RR types.
 ///
+/// This function never throws an exception as long as the given names are
+/// valid \c Name objects.
+///
 /// Additional note about applicability: In fact, BIND9's similar function,
 /// \c dns_name_rdatacompare(), is only used in rdata implementations and
 /// for testing purposes.
@@ -176,8 +179,7 @@
 /// \return 0 if \c n1 is identical to \c n2 in terms of sorting order.
 /// \return 1 if \c n1 would be sorted after \c n2.
 ///
-int
-compareNames(const Name& n1, const Name& n2);
+int compareNames(const Name& n1, const Name& n2);
 
 } // end of namespace "rdata"
 }




More information about the bind10-changes mailing list