diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2012-06-01 16:51:04 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2012-06-01 16:51:04 +0200 |
commit | eab5b84db6c5a0db2e7cc9c53b5433797905a599 (patch) | |
tree | 9f51ec50d7fac4186cee75107a134505bbee6b0c /src/lib | |
parent | Merge branch 'master' into trac1735_2 (diff) | |
download | kea-eab5b84db6c5a0db2e7cc9c53b5433797905a599.tar.xz kea-eab5b84db6c5a0db2e7cc9c53b5433797905a599.zip |
[2017] Many Doxygen warnings removed.
Diffstat (limited to 'src/lib')
31 files changed, 54 insertions, 54 deletions
diff --git a/src/lib/asiolink/io_endpoint.h b/src/lib/asiolink/io_endpoint.h index dd740361c0..973fc8b4dd 100644 --- a/src/lib/asiolink/io_endpoint.h +++ b/src/lib/asiolink/io_endpoint.h @@ -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: [<address>]:port (e.g., [2001:db8::5300]:53) +/// - For IPv4 address: <address>: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 diff --git a/src/lib/datasrc/memory_datasrc.cc b/src/lib/datasrc/memory_datasrc.cc index 8e834cb747..68a42ddecd 100644 --- a/src/lib/datasrc/memory_datasrc.cc +++ b/src/lib/datasrc/memory_datasrc.cc @@ -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); diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h index 6b10b6782a..b17eeb43ad 100644 --- a/src/lib/dns/labelsequence.h +++ b/src/lib/dns/labelsequence.h @@ -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. diff --git a/src/lib/dns/rdata.cc b/src/lib/dns/rdata.cc index c1ece52970..59a58871b8 100644 --- a/src/lib/dns/rdata.cc +++ b/src/lib/dns/rdata.cc @@ -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; diff --git a/src/lib/dns/rdata/any_255/tsig_250.cc b/src/lib/dns/rdata/any_255/tsig_250.cc index 4eb72bcf0b..6115d2d57c 100644 --- a/src/lib/dns/rdata/any_255/tsig_250.cc +++ b/src/lib/dns/rdata/any_255/tsig_250.cc @@ -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 +/// - <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 /// integer. -/// - <Error> is an unsigned 16-bit decimal integer or a valid mnemonic for +/// - <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 +/// - <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 +/// 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. +/// - 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 -/// In this example <OtherData> is missing because <OtherLen> is 0. +/// In this example <OtherData> is missing because <OtherLen> 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 <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 +/// 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. diff --git a/src/lib/dns/rdata/ch_3/a_1.cc b/src/lib/dns/rdata/ch_3/a_1.cc index 65378a1f84..3d13a9e446 100644 --- a/src/lib/dns/rdata/ch_3/a_1.cc +++ b/src/lib/dns/rdata/ch_3/a_1.cc @@ -27,7 +27,7 @@ using namespace isc::util; // BEGIN_ISC_NAMESPACE // BEGIN_RDATA_NAMESPACE -A::A(const string&) { +A::A(const std::string&) { // TBD } diff --git a/src/lib/dns/rdata/generic/dlv_32769.cc b/src/lib/dns/rdata/generic/dlv_32769.cc index 9887aa88bd..a3db998ebd 100644 --- a/src/lib/dns/rdata/generic/dlv_32769.cc +++ b/src/lib/dns/rdata/generic/dlv_32769.cc @@ -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)) {} diff --git a/src/lib/dns/rdata/generic/dnskey_48.cc b/src/lib/dns/rdata/generic/dnskey_48.cc index 7bdbd0514d..054ac18a52 100644 --- a/src/lib/dns/rdata/generic/dnskey_48.cc +++ b/src/lib/dns/rdata/generic/dnskey_48.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/ds_43.cc b/src/lib/dns/rdata/generic/ds_43.cc index 20b62dca83..4234f9d575 100644 --- a/src/lib/dns/rdata/generic/ds_43.cc +++ b/src/lib/dns/rdata/generic/ds_43.cc @@ -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)) {} diff --git a/src/lib/dns/rdata/generic/hinfo_13.cc b/src/lib/dns/rdata/generic/hinfo_13.cc index 45f4209863..b1aeaa1f37 100644 --- a/src/lib/dns/rdata/generic/hinfo_13.cc +++ b/src/lib/dns/rdata/generic/hinfo_13.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/nsec3_50.cc b/src/lib/dns/rdata/generic/nsec3_50.cc index b569d91ef5..89f188af26 100644 --- a/src/lib/dns/rdata/generic/nsec3_50.cc +++ b/src/lib/dns/rdata/generic/nsec3_50.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/nsec3param_51.cc b/src/lib/dns/rdata/generic/nsec3param_51.cc index ac09b57e63..6614bdc5f7 100644 --- a/src/lib/dns/rdata/generic/nsec3param_51.cc +++ b/src/lib/dns/rdata/generic/nsec3param_51.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/nsec_47.cc b/src/lib/dns/rdata/generic/nsec_47.cc index 08825db298..aeb6da81a7 100644 --- a/src/lib/dns/rdata/generic/nsec_47.cc +++ b/src/lib/dns/rdata/generic/nsec_47.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/opt_41.cc b/src/lib/dns/rdata/generic/opt_41.cc index 62cfc175e3..d64effb6af 100644 --- a/src/lib/dns/rdata/generic/opt_41.cc +++ b/src/lib/dns/rdata/generic/opt_41.cc @@ -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"); } diff --git a/src/lib/dns/rdata/generic/ptr_12.cc b/src/lib/dns/rdata/generic/ptr_12.cc index 86ddeb4a3c..b76fc7fcbb 100644 --- a/src/lib/dns/rdata/generic/ptr_12.cc +++ b/src/lib/dns/rdata/generic/ptr_12.cc @@ -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) {} diff --git a/src/lib/dns/rdata/generic/rrsig_46.cc b/src/lib/dns/rdata/generic/rrsig_46.cc index 59ff030541..e0137b9fc6 100644 --- a/src/lib/dns/rdata/generic/rrsig_46.cc +++ b/src/lib/dns/rdata/generic/rrsig_46.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/soa_6.cc b/src/lib/dns/rdata/generic/soa_6.cc index e473bca158..e70db0fb23 100644 --- a/src/lib/dns/rdata/generic/soa_6.cc +++ b/src/lib/dns/rdata/generic/soa_6.cc @@ -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); diff --git a/src/lib/dns/rdata/generic/sshfp_44.cc b/src/lib/dns/rdata/generic/sshfp_44.cc index 6320fd93ce..6fa8609ab6 100644 --- a/src/lib/dns/rdata/generic/sshfp_44.cc +++ b/src/lib/dns/rdata/generic/sshfp_44.cc @@ -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"); diff --git a/src/lib/dns/rdata/hs_4/a_1.cc b/src/lib/dns/rdata/hs_4/a_1.cc index 65378a1f84..3d13a9e446 100644 --- a/src/lib/dns/rdata/hs_4/a_1.cc +++ b/src/lib/dns/rdata/hs_4/a_1.cc @@ -27,7 +27,7 @@ using namespace isc::util; // BEGIN_ISC_NAMESPACE // BEGIN_RDATA_NAMESPACE -A::A(const string&) { +A::A(const std::string&) { // TBD } diff --git a/src/lib/dns/rdata/in_1/a_1.cc b/src/lib/dns/rdata/in_1/a_1.cc index fa46f9042b..3b15a4c4de 100644 --- a/src/lib/dns/rdata/in_1/a_1.cc +++ b/src/lib/dns/rdata/in_1/a_1.cc @@ -34,7 +34,7 @@ using namespace isc::util; // BEGIN_ISC_NAMESPACE // BEGIN_RDATA_NAMESPACE -A::A(const string& addrstr) { +A::A(const std::string& addrstr) { // RFC1035 states textual representation of IN/A RDATA is // "four decimal numbers separated by dots without any embedded spaces". // This is exactly what inet_pton() accepts for AF_INET. In particular, diff --git a/src/lib/dns/rdata/in_1/aaaa_28.cc b/src/lib/dns/rdata/in_1/aaaa_28.cc index e9fc122544..ce49a04c51 100644 --- a/src/lib/dns/rdata/in_1/aaaa_28.cc +++ b/src/lib/dns/rdata/in_1/aaaa_28.cc @@ -34,7 +34,7 @@ using namespace isc::util; // BEGIN_ISC_NAMESPACE // BEGIN_RDATA_NAMESPACE -AAAA::AAAA(const string& addrstr) { +AAAA::AAAA(const std::string& addrstr) { if (inet_pton(AF_INET6, addrstr.c_str(), &addr_) != 1) { isc_throw(InvalidRdataText, "IN/AAAA RDATA construction from text failed: " diff --git a/src/lib/dns/rdata/in_1/dhcid_49.cc b/src/lib/dns/rdata/in_1/dhcid_49.cc index f0c4acae3b..77451619af 100644 --- a/src/lib/dns/rdata/in_1/dhcid_49.cc +++ b/src/lib/dns/rdata/in_1/dhcid_49.cc @@ -47,7 +47,7 @@ using namespace isc::util; /// < n octets > Digest (length depends on digest type) /// If the data is less than 3 octets (i.e. it cannot contain id type code and /// digest type code), an exception of class \c InvalidRdataLength is thrown. -DHCID::DHCID(const string& dhcid_str) { +DHCID::DHCID(const std::string& dhcid_str) { istringstream iss(dhcid_str); stringbuf digestbuf; diff --git a/src/lib/dns/rdata/in_1/srv_33.cc b/src/lib/dns/rdata/in_1/srv_33.cc index 93b5d4d60a..dd47c57972 100644 --- a/src/lib/dns/rdata/in_1/srv_33.cc +++ b/src/lib/dns/rdata/in_1/srv_33.cc @@ -52,9 +52,9 @@ struct SRVImpl { /// \code <Priority> <Weight> <Port> <Target> /// \endcode /// where -/// - <Priority>, <Weight>, and <Port> are an unsigned 16-bit decimal +/// - <Priority>, <Weight>, and <Port> are an unsigned 16-bit decimal /// integer. -/// - <Target> is a valid textual representation of domain name. +/// - <Target> is a valid textual representation of domain name. /// /// An example of valid string is: /// \code "1 5 1500 example.com." \endcode @@ -67,7 +67,7 @@ struct SRVImpl { /// class \c InvalidRdataText will be thrown. /// This constructor internally involves resource allocation, and if it fails /// a corresponding standard exception will be thrown. -SRV::SRV(const string& srv_str) : +SRV::SRV(const std::string& srv_str) : impl_(NULL) { istringstream iss(srv_str); diff --git a/src/lib/dns/rrclass.cc b/src/lib/dns/rrclass.cc index a28e5cff99..ac5823cf62 100644 --- a/src/lib/dns/rrclass.cc +++ b/src/lib/dns/rrclass.cc @@ -30,7 +30,7 @@ using namespace isc::util; namespace isc { namespace dns { -RRClass::RRClass(const string& classstr) { +RRClass::RRClass(const std::string& classstr) { classcode_ = RRParamRegistry::getRegistry().textToClassCode(classstr); } diff --git a/src/lib/dns/rrparamregistry-placeholder.cc b/src/lib/dns/rrparamregistry-placeholder.cc index 8b01e419a0..f7f3a1a930 100644 --- a/src/lib/dns/rrparamregistry-placeholder.cc +++ b/src/lib/dns/rrparamregistry-placeholder.cc @@ -224,7 +224,7 @@ RRParamRegistry::getRegistry() { } void -RRParamRegistry::add(const string& typecode_string, uint16_t typecode, +RRParamRegistry::add(const std::string& typecode_string, uint16_t typecode, RdataFactoryPtr rdata_factory) { bool type_added = false; @@ -242,8 +242,8 @@ RRParamRegistry::add(const string& typecode_string, uint16_t typecode, } void -RRParamRegistry::add(const string& typecode_string, uint16_t typecode, - const string& classcode_string, uint16_t classcode, +RRParamRegistry::add(const std::string& typecode_string, uint16_t typecode, + const std::string& classcode_string, uint16_t classcode, RdataFactoryPtr rdata_factory) { // Rollback logic on failure is complicated. If adding the new type or @@ -470,7 +470,7 @@ RRParamRegistry::codeToClassText(uint16_t code) const { RdataPtr RRParamRegistry::createRdata(const RRType& rrtype, const RRClass& rrclass, - const string& rdata_string) + const std::string& rdata_string) { // If the text indicates that it's rdata of an "unknown" type (beginning // with '\# n'), parse it that way. (TBD) diff --git a/src/lib/dns/rrttl.cc b/src/lib/dns/rrttl.cc index ecd8cc60c3..49c63be20a 100644 --- a/src/lib/dns/rrttl.cc +++ b/src/lib/dns/rrttl.cc @@ -28,7 +28,7 @@ using namespace isc::util; namespace isc { namespace dns { -RRTTL::RRTTL(const string& ttlstr) { +RRTTL::RRTTL(const std::string& ttlstr) { // Some systems (at least gcc-4.4) flow negative values over into // unsigned integer, where older systems failed to parse. We want // that failure here, so we extract into int64 and check the value diff --git a/src/lib/dns/rrtype.cc b/src/lib/dns/rrtype.cc index af077d45ef..4ef4e675f4 100644 --- a/src/lib/dns/rrtype.cc +++ b/src/lib/dns/rrtype.cc @@ -31,7 +31,7 @@ using isc::dns::RRType; namespace isc { namespace dns { -RRType::RRType(const string& typestr) { +RRType::RRType(const std::string& typestr) { typecode_ = RRParamRegistry::getRegistry().textToTypeCode(typestr); } diff --git a/src/lib/log/compiler/message.cc b/src/lib/log/compiler/message.cc index 66dc9c7dbc..1b0c57aad3 100644 --- a/src/lib/log/compiler/message.cc +++ b/src/lib/log/compiler/message.cc @@ -58,14 +58,14 @@ static const char* VERSION = "1.0-0"; /// \b Invocation<BR> /// The program is invoked with the command: /// -/// <tt>message [-v | -h | -p | -d <dir> | <message-file>]</tt> +/// <tt>message [-v | -h | -p | -d <dir> | <message-file>]</tt> /// /// It reads the message file and writes out two files of the same /// name in the current working directory (unless -d is used) but /// with extensions of .h and .cc, or .py if -p is used. /// /// -v causes it to print the version number and exit. -h prints a help -/// message (and exits). -p sets the output to python. -d <dir> will make +/// message (and exits). -p sets the output to python. -d <dir> will make /// it write the output file(s) to dir instead of current working /// directory @@ -120,8 +120,8 @@ currentTime() { /// \brief Create Header Sentinel /// /// Given the name of a file, create an #ifdef sentinel name. The name is -/// __<name>_<ext>, where <name> is the name of the file, and <ext> is the -/// extension less the leading period. The sentinel will be upper-case. +/// __<name>_<ext>, where <name> is the name of the file, and <ext> +/// is the extension less the leading period. The sentinel will be upper-case. /// /// \param file Filename object representing the file. /// diff --git a/src/lib/log/message_dictionary.cc b/src/lib/log/message_dictionary.cc index deb82328fc..3bfc56cd82 100644 --- a/src/lib/log/message_dictionary.cc +++ b/src/lib/log/message_dictionary.cc @@ -29,7 +29,7 @@ MessageDictionary::~MessageDictionary() { // Add message and note if ID already exists bool -MessageDictionary::add(const string& ident, const string& text) { +MessageDictionary::add(const std::string& ident, const std::string& text) { Dictionary::iterator i = dictionary_.find(ident); bool not_found = (i == dictionary_.end()); if (not_found) { @@ -44,7 +44,7 @@ MessageDictionary::add(const string& ident, const string& text) { // Add message and note if ID does not already exist bool -MessageDictionary::replace(const string& ident, const string& text) { +MessageDictionary::replace(const std::string& ident, const std::string& text) { Dictionary::iterator i = dictionary_.find(ident); bool found = (i != dictionary_.end()); if (found) { @@ -87,7 +87,7 @@ MessageDictionary::load(const char* messages[]) { // output. const string& -MessageDictionary::getText(const string& ident) const { +MessageDictionary::getText(const std::string& ident) const { static const string empty(""); Dictionary::const_iterator i = dictionary_.find(ident); if (i == dictionary_.end()) { diff --git a/src/lib/testutils/socket_request.h b/src/lib/testutils/socket_request.h index 5c76d3064a..0ae15f3310 100644 --- a/src/lib/testutils/socket_request.h +++ b/src/lib/testutils/socket_request.h @@ -55,7 +55,7 @@ public: /// \param expect_port The port which is expected to be requested. If /// the application requests a different port, it is considered /// a failure. - /// \param expeted_app The share name for which all the requests should + /// \param expected_app The share name for which all the requests should /// be made. This is not the usual app_name - the requestSocket does /// not fall back to this value if its share_name is left empty, if /// you want to check the code relies on the requestor to use the diff --git a/src/lib/util/buffer.h b/src/lib/util/buffer.h index 1263636c73..7e881089cd 100644 --- a/src/lib/util/buffer.h +++ b/src/lib/util/buffer.h @@ -206,8 +206,8 @@ public: /// If specified buffer is too short, it will be expanded /// using vector::resize() method. /// - /// @param Reference to a buffer (data will be stored there). - /// @param Size specified number of bytes to read in a vector. + /// @param data Reference to a buffer (data will be stored there). + /// @param len Size specified number of bytes to read in a vector. /// void readVector(std::vector<uint8_t>& data, size_t len) { if (position_ + len > len_) { |