Commit eab5b84d authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[2017] Many Doxygen warnings removed.

parent 91164ce5
......@@ -390,8 +390,8 @@ private:
AuthSrv* server_;
};
AuthSrv::AuthSrv(const bool use_cache, AbstractXfroutClient& xfrout_client,
BaseSocketSessionForwarder& ddns_forwarder)
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);
checkin_ = new ConfigChecker(this);
......
......@@ -168,8 +168,8 @@ public:
///
/// This method converts the address and port of the endpoint in the textual
/// format that other BIND 10 modules would use in logging, i.e.,
/// - For IPv6 address: [<address>]:port (e.g., [2001:db8::5300]:53)
/// - For IPv4 address: <address>:port (e.g., 192.0.2.53:5300)
/// - For IPv6 address: [&lt;address&gt;]:port (e.g., [2001:db8::5300]:53)
/// - For IPv4 address: &lt;address&gt;:port (e.g., 192.0.2.53:5300)
///
/// If it's neither IPv6 nor IPv4, it converts the endpoint into text in the
/// same format as that for IPv4, although in practice such a case is not
......
......@@ -1747,7 +1747,7 @@ generateRRsetFromIterator(ZoneIterator* iterator, LoadCallback callback) {
}
void
InMemoryZoneFinder::load(const string& filename) {
InMemoryZoneFinder::load(const std::string& filename) {
LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_MEM_LOAD).arg(getOrigin()).
arg(filename);
......
......@@ -101,7 +101,7 @@ public:
/// \note No actual memory is changed, this operation merely updates the
/// internal pointers based on the offsets in the Name object.
///
/// \exeption OutOfRange if i is greater than or equal to the number
/// \exception OutOfRange if i is greater than or equal to the number
/// of labels currently pointed to by this LabelSequence
///
/// \param i The number of labels to remove.
......@@ -112,7 +112,7 @@ public:
/// \note No actual memory is changed, this operation merely updates the
/// internal pointers based on the offsets in the Name object.
///
/// \exeption OutOfRange if i is greater than or equal to the number
/// \exception OutOfRange if i is greater than or equal to the number
/// of labels currently pointed to by this LabelSequence
///
/// \param i The number of labels to remove.
......
......@@ -119,7 +119,7 @@ Generic::Generic(isc::util::InputBuffer& buffer, size_t rdata_len) {
impl_ = new GenericImpl(data);
}
Generic::Generic(const string& rdata_string) {
Generic::Generic(const std::string& rdata_string) {
istringstream iss(rdata_string);
string unknown_mark;
iss >> unknown_mark;
......
......@@ -74,25 +74,25 @@ struct TSIG::TSIGImpl {
/// \code <Alg> <Time> <Fudge> <MACsize> [<MAC>] <OrigID> <Error> <OtherLen> [<OtherData>]
/// \endcode
/// 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
/// - &lt;Alg&gt; is a valid textual representation of domain name.
/// - &lt;Time&gt; is an unsigned 48-bit decimal integer.
/// - &lt;MACSize&gt;, &lt;OrigID&gt;, and &lt;OtherLen&gt; are an unsigned 16-bit decimal
/// integer.
/// - <Error> is an unsigned 16-bit decimal integer or a valid mnemonic for
/// - &lt;Error&gt; 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
/// - &lt;MAC&gt; and &lt;OtherData&gt; is a BASE-64 encoded string that does not contain
/// space characters.
/// When <MACSize> and <OtherLen> is 0, <MAC> and <OtherData> must not
/// When &lt;MACSize&gt; and &lt;OtherLen&gt; is 0, &lt;MAC&gt; and &lt;OtherData&gt; 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.
/// - The decoded data of &lt;MAC&gt; is &lt;MACSize&gt; bytes of binary stream.
/// - The decoded data of &lt;OtherData&gt; is &lt;OtherLen&gt; bytes of binary stream.
///
/// An example of valid string is:
/// \code "hmac-sha256. 853804800 300 3 AAAA 2845 0 0" \endcode
/// In this example <OtherData> is missing because <OtherLen> is 0.
/// In this example &lt;OtherData&gt; is missing because &lt;OtherLen&gt; is 0.
///
/// Note that RFC2845 does not define the standard presentation format
/// of %TSIG RR, so the above syntax is implementation specific.
......@@ -101,9 +101,9 @@ struct TSIG::TSIGImpl {
///
/// <b>Exceptions</b>
///
/// If <Alg> is not a valid domain name, a corresponding exception from
/// If &lt;Alg&gt; 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
/// if &lt;MAC&gt; or &lt;OtherData&gt; 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.
......
......@@ -27,7 +27,7 @@ using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
A::A(const string&) {
A::A(const std::string&) {
// TBD
}
......
......@@ -34,7 +34,7 @@ using namespace isc::dns::rdata::generic::detail;
/// \brief Constructor from string.
///
/// A copy of the implementation object is allocated and constructed.
DLV::DLV(const string& ds_str) :
DLV::DLV(const std::string& ds_str) :
impl_(new DLVImpl(ds_str))
{}
......
......@@ -51,7 +51,7 @@ struct DNSKEYImpl {
const vector<uint8_t> keydata_;
};
DNSKEY::DNSKEY(const string& dnskey_str) :
DNSKEY::DNSKEY(const std::string& dnskey_str) :
impl_(NULL)
{
istringstream iss(dnskey_str);
......
......@@ -31,7 +31,7 @@ using namespace isc::dns::rdata::generic::detail;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
DS::DS(const string& ds_str) :
DS::DS(const std::string& ds_str) :
impl_(new DSImpl(ds_str))
{}
......
......@@ -37,7 +37,7 @@ using namespace isc::dns::characterstr;
// BEGIN_RDATA_NAMESPACE
HINFO::HINFO(const string& hinfo_str) {
HINFO::HINFO(const std::string& hinfo_str) {
string::const_iterator input_iterator = hinfo_str.begin();
cpu_ = getNextCharacterString(hinfo_str, input_iterator);
......
......@@ -64,7 +64,7 @@ struct NSEC3Impl {
const vector<uint8_t> typebits_;
};
NSEC3::NSEC3(const string& nsec3_str) :
NSEC3::NSEC3(const std::string& nsec3_str) :
impl_(NULL)
{
istringstream iss(nsec3_str);
......
......@@ -46,7 +46,7 @@ struct NSEC3PARAMImpl {
const vector<uint8_t> salt_;
};
NSEC3PARAM::NSEC3PARAM(const string& nsec3param_str) :
NSEC3PARAM::NSEC3PARAM(const std::string& nsec3param_str) :
impl_(NULL)
{
istringstream iss(nsec3param_str);
......
......@@ -49,7 +49,7 @@ struct NSECImpl {
vector<uint8_t> typebits_;
};
NSEC::NSEC(const string& nsec_str) :
NSEC::NSEC(const std::string& nsec_str) :
impl_(NULL)
{
istringstream iss(nsec_str);
......
......@@ -27,7 +27,7 @@ using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
OPT::OPT(const string&) {
OPT::OPT(const std::string&) {
isc_throw(InvalidRdataText, "OPT RR cannot be constructed from text");
}
......
......@@ -28,7 +28,7 @@ using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
PTR::PTR(const string& type_str) :
PTR::PTR(const std::string& type_str) :
ptr_name_(type_str)
{}
......
......@@ -72,7 +72,7 @@ struct RRSIGImpl {
const vector<uint8_t> signature_;
};
RRSIG::RRSIG(const string& rrsig_str) :
RRSIG::RRSIG(const std::string& rrsig_str) :
impl_(NULL)
{
istringstream iss(rrsig_str);
......
......@@ -41,7 +41,7 @@ SOA::SOA(InputBuffer& buffer, size_t) :
buffer.readData(numdata_, sizeof(numdata_));
}
SOA::SOA(const string& soastr) :
SOA::SOA(const std::string& soastr) :
mname_("."), rname_(".") // quick hack workaround
{
istringstream iss(soastr);
......
......@@ -80,7 +80,7 @@ SSHFP::SSHFP(const std::string& sshfp_str)
decodeHex(fingerprintbuf.str(), fingerprint_);
}
SSHFP::SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const string& fingerprint)
SSHFP::SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const std::string& fingerprint)
{
if ((algorithm < 1) || (algorithm > 2)) {
isc_throw(InvalidRdataText, "SSHFP algorithm number out of range");
......
......@@ -27,7 +27,7 @@ using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
A::A(const string&) {
A::A(const std::string&) {
// TBD
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment