Browse Source

[2017] folded long lines as a result of the fixes

also fixed one typo that I happened to find.
JINMEI Tatuya 13 years ago
parent
commit
e0d617df81
3 changed files with 20 additions and 16 deletions
  1. 2 1
      src/bin/auth/auth_srv.cc
  2. 14 11
      src/lib/dns/rdata/any_255/tsig_250.cc
  3. 4 4
      src/lib/dns/rdata/in_1/srv_33.cc

+ 2 - 1
src/bin/auth/auth_srv.cc

@@ -390,7 +390,8 @@ private:
     AuthSrv* server_;
 };
 
-AuthSrv::AuthSrv(const bool use_cache, isc::xfr::AbstractXfroutClient& xfrout_client,
+AuthSrv::AuthSrv(const bool use_cache,
+                 isc::xfr::AbstractXfroutClient& xfrout_client,
                  isc::util::io::BaseSocketSessionForwarder& ddns_forwarder)
 {
     impl_ = new AuthSrvImpl(use_cache, xfrout_client, ddns_forwarder);

+ 14 - 11
src/lib/dns/rdata/any_255/tsig_250.cc

@@ -76,19 +76,22 @@ struct TSIG::TSIGImpl {
 /// where
 /// - <Alg> is a valid textual representation of domain name.
 /// - <Time> is an unsigned 48-bit decimal integer.
-/// - <MACSize>, <OrigID>, and <OtherLen> are an unsigned 16-bit decimal
+/// - <MACSize>, <OrigID>, and <OtherLen> are an unsigned
+///   16-bit decimal
 ///   integer.
-/// - <Error> is an unsigned 16-bit decimal integer or a valid mnemonic for
-///   the Error field specified in RFC2845.  Currently, "BADSIG", "BADKEY",
+/// - <Error> is an unsigned 16-bit decimal integer or a valid mnemonic
+///   for the Error field specified in RFC2845.  Currently, "BADSIG", "BADKEY",
 ///   and "BADTIME" are supported (case sensitive).  In future versions
 ///   other representations that are compatible with the DNS RCODE will be
 ///   supported.
-/// - <MAC> and <OtherData> is a BASE-64 encoded string that does not contain
-///   space characters.
-///   When <MACSize> and <OtherLen> is 0, <MAC> and <OtherData> must not
-///   appear in \c tsgi_str, respectively.
-/// - The decoded data of <MAC> is <MACSize> bytes of binary stream.
-/// - The decoded data of <OtherData> is <OtherLen> bytes of binary stream.
+/// - <MAC> and <OtherData> is a BASE-64 encoded string that does
+///   not contain space characters.
+///   When <MACSize> and <OtherLen> is 0, <MAC> and
+///   <OtherData> must not appear in \c tsig_str, respectively.
+/// - The decoded data of <MAC> is <MACSize> bytes of binary
+///   stream.
+/// - The decoded data of <OtherData> is <OtherLen> bytes of
+///   binary stream.
 ///
 /// An example of valid string is:
 /// \code "hmac-sha256. 853804800 300 3 AAAA 2845 0 0" \endcode
@@ -103,8 +106,8 @@ struct TSIG::TSIGImpl {
 ///
 /// If <Alg> is not a valid domain name, a corresponding exception from
 /// the \c Name class will be thrown;
-/// if <MAC> or <OtherData> is not validly encoded in BASE-64, an exception
-/// of class \c isc::BadValue will be thrown;
+/// if <MAC> or <OtherData> is not validly encoded in BASE-64, an
+/// exception of class \c isc::BadValue will be thrown;
 /// if %any of the other bullet points above is not met, an exception of
 /// class \c InvalidRdataText will be thrown.
 /// This constructor internally involves resource allocation, and if it fails

+ 4 - 4
src/lib/dns/rdata/in_1/srv_33.cc

@@ -52,8 +52,8 @@ struct SRVImpl {
 /// \code <Priority> <Weight> <Port> <Target>
 /// \endcode
 /// where
-/// - &lt;Priority&gt;, &lt;Weight&gt;, and &lt;Port&gt; are an unsigned 16-bit decimal
-///   integer.
+/// - &lt;Priority&gt;, &lt;Weight&gt;, and &lt;Port&gt; are an unsigned
+///   16-bit decimal integer.
 /// - &lt;Target&gt; is a valid textual representation of domain name.
 ///
 /// An example of valid string is:
@@ -61,8 +61,8 @@ struct SRVImpl {
 ///
 /// <b>Exceptions</b>
 ///
-/// If &lt;Target&gt; is not a valid domain name, a corresponding exception from
-/// the \c Name class will be thrown;
+/// If &lt;Target&gt; is not a valid domain name, a corresponding exception
+/// from the \c Name class will be thrown;
 /// if %any of the other bullet points above is not met, an exception of
 /// class \c InvalidRdataText will be thrown.
 /// This constructor internally involves resource allocation, and if it fails