]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3735] Fix up a number of warnigns in the Doxygen comments.
authorShawn Routhier <sar@isc.org>
Fri, 20 Mar 2015 19:10:37 +0000 (12:10 -0700)
committerShawn Routhier <sar@isc.org>
Fri, 20 Mar 2015 19:10:37 +0000 (12:10 -0700)
15 files changed:
src/bin/d2/d2_config.h
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp6/json_config_parser.cc
src/hooks/dhcp/user_chk/pkt_send_co.cc
src/hooks/dhcp/user_chk/user.h
src/hooks/dhcp/user_chk/user_file.h
src/lib/dhcp/option_int.h
src/lib/dhcpsrv/d2_client_mgr.h
src/lib/dhcpsrv/pgsql_lease_mgr.h
src/lib/dhcpsrv/subnet.h
src/lib/hooks/callout_manager.h
src/lib/hooks/hooks_manager.h
src/lib/log/compiler/message.cc
src/lib/util/csv_file.h
src/lib/util/optional_value.h

index 5e4f204f690ded42bebc710a3853c2a5a96452c8..0e95cca0976fcb13de5b194db0b14c912631b506 100644 (file)
@@ -887,8 +887,6 @@ public:
     /// Parses a configuration for the elements needed to instantiate a
     /// DnsServerInfo, validates those entries, creates a DnsServerInfo instance
     /// then attempts to add to a list of  servers.
-    /// @param pos position within the configuration text (or file) of element
-    /// to be parsed.  This is passed for error messaging.
     ///
     /// @param server_config is the "dns_server" configuration to parse
     ///
index f127c1630797dd55c242b218edeef243e7ce721b..df9f13ca66920ae8c7a0a2977d08d009392b2f02 100644 (file)
@@ -340,6 +340,7 @@ namespace dhcp {
 /// those that take format of Dhcp4/param1, Dhcp4/param2 and so forth.
 ///
 /// @param config_id pointer to received global configuration entry
+/// @param element pointer to the element to be parsed
 /// @return parser for specified global DHCPv4 parameter
 /// @throw NotImplemented if trying to create a parser for unknown
 /// config element
index 5e2675e5a8d877290bbc933b2c3b51bff35d4b7e..1da17a282acad7194bae6e227a6d82694f2e5787 100644 (file)
@@ -647,6 +647,7 @@ namespace dhcp {
 /// those that take format of Dhcp6/param1, Dhcp6/param2 and so forth.
 ///
 /// @param config_id pointer to received global configuration entry
+/// @param element pointer to the element to be parsed
 /// @return parser for specified global DHCPv6 parameter
 /// @throw NotImplemented if trying to create a parser for unknown config
 /// element
index 475ca9f4c652a841bef7978c2ef0e1bbb3bdf04b..1a5d3fcd10b565e3482de3ea93e17c594f32691c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013,2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -324,16 +324,16 @@ void add6Option(OptionPtr& vendor, uint8_t opt_code, std::string& opt_value) {
 ///
 /// id_type=&lt;id type&gt;<br/>
 /// client=&lt;id str&gt;<br/>
-/// subnet=&lt;subnet str&gt;<br/>
+/// subnet=&lt;addr str&gt;<br/>
 /// registered=&lt;is registered&gt;
 ///
 /// where:
-/// <id type> text label of the id type: "HW_ADDR" or "DUID"
-/// <id str> user's id formatted as either isc::dhcp::Hwaddr.toText() or
+/// &lt;id type&gt; text label of the id type: "HW_ADDR" or "DUID"
+/// &lt;id str&gt; user's id formatted as either isc::dhcp::Hwaddr.toText() or
 /// isc::dhcp::DUID.toText()
-/// <subnet str> selected subnet formatted as isc::dhcp::Subnet4::toText() or
+/// &lt;addr str&gt; selected subnet formatted as isc::dhcp::Subnet4::toText() or
 /// isc::dhcp::Subnet6::toText() as appropriate.
-/// <is registered> "yes" or "no"
+/// &lt;is registered&gt; "yes" or "no"
 ///
 /// Sample IPv4 entry would like this:
 ///
@@ -357,7 +357,7 @@ void add6Option(OptionPtr& vendor, uint8_t opt_code, std::string& opt_value) {
 ///
 /// @param id_type_str text label identify the id type
 /// @param id_val_str text representation of the user id
-/// @param subnet_str text representation  of the selected subnet
+/// @param addr_str text representation  of the selected subnet
 /// @param registered boolean indicating if the user is registered or not
 void generate_output_record(const std::string& id_type_str,
                             const std::string& id_val_str,
index b2d0f162f0682353beb9c30bb378fffd3a77e8bb..9d5770ca476206a6f2bb78a347fd8e57af82decc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013,2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -67,7 +67,7 @@ public:
     /// The string is expected to contain an even number of hex digits
     /// with or without colon (':') as a delimiter.
     ///
-    /// @param id a vector of unsigned bytes containing the id
+    /// @param id_str string of hex digits representing the user's id
     ///
     /// @throw isc::BadValue if the string is empty, contains non
     /// valid hex digits, or an odd number of hex digits.
@@ -134,8 +134,8 @@ private:
 ///
 /// The output string has the form "<type>=<id>" where:
 ///
-/// <type> is the text label returned by UserId::lookupTypeStr()
-/// <id> is the output of UserId::toText() without a delimiter.
+/// &lt;type&gt; is the text label returned by UserId::lookupTypeStr()
+/// &lt;id&gt; is the output of UserId::toText() without a delimiter.
 ///
 /// Examples:
 ///       HW_ADDR=0c0e0a01ff06
@@ -171,7 +171,7 @@ public:
     /// Constructs a new User from a given id type and vector containing the
     /// id data with an empty set of properties.
     ///
-    /// @param user_id Type of id contained in the id vector
+    /// @param id_type Type of id contained in the id vector
     /// @param id Vector of data representing the user's id
     ///
     /// @throw isc::BadValue if user id vector is empty.
@@ -182,8 +182,8 @@ public:
     /// Constructs a new User from a given id type and string containing the
     /// id data with an empty set of properties.
     ///
-    /// @param user_id Type of id contained in the id vector
-    /// @param id string of hex digits representing the user's id
+    /// @param id_type Type of id contained in the id vector
+    /// @param id_str string of hex digits representing the user's id
     ///
     /// @throw isc::BadValue if user id string is empty or invalid
     User(UserId::UserIdType id_type, const std::string& id_str);
index e394b47614fc62a26a3cb017e69cf49d828cb8cd..04bb38d159e4b991052ceaddacc0ddff05249fa0 100644 (file)
@@ -43,8 +43,8 @@ public:
 ///
 /// where:
 ///
-/// <user_type>  text label of the id type: "HW_ADDR" or "DUID"
-/// <user_id>  the user's id as a string of hex digits with or without
+/// &lt;user_type&gt;  text label of the id type: "HW_ADDR" or "DUID"
+/// &lt;user_id&gt;  the user's id as a string of hex digits with or without
 /// colons (':') as a delimiter
 /// (options) zero or more string elements as name-value pairs, separated by
 /// commas: "opt1" : "val1",  "other_opt", "77" ...
index b1c0f45e9acd0a62b632ecbce2481cef8e800be1..4d23c7382dcb10649a56a44112dbd53b2a41126b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -28,7 +28,7 @@ namespace dhcp {
 template<typename T>
 class OptionInt;
 
-/// @defgroup option_int_array_defs Typedefs for OptionInt class.
+/// @defgroup option_int_defs Typedefs for OptionInt class.
 ///
 /// @brief Classes that represent options comprising an integer.
 ///
index 1a589d9eb48ee3ed54b77554d7320f8078118b7a..a0869b400a46e4741280f248ce1fa8612949c913 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -218,7 +218,7 @@ public:
     /// * forward will be true if S_FLAG is true
     /// * reverse will be true if N_FLAG is false
     ///
-    /// @param fqdn FQDN option from which to read server (outbound) flags
+    /// @param fqdn_resp FQDN option from which to read server (outbound) flags
     /// @param [out] forward bool value will be set to true if forward udpates
     /// should be done, false if not.
     /// @param [out] reverse bool value will be set to true if reverse udpates
index 4ad973b7dca5e50638c87dae5f6be593a4ee182f..8b53f293d35e48ce1695317170709dd2d6e0f7ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -91,7 +91,7 @@ struct PsqlBindArray {
     /// Adds a BINARY_FMT value to the end of the bind array using the
     /// given vector as the data source.
     ///
-    /// @param value vector of binary bytes.
+    /// @param data vector of binary bytes.
     void add(const std::vector<uint8_t>& data);
 
     /// @brief Adds a boolean value to the bind array.
index fb7de0f2f0c2b0e1e3ffcc8edf833b5644796d5e..1a786bfc8065e109ebf5fc36ece3311d6e9ae84c 100644 (file)
@@ -337,7 +337,7 @@ public:
 
     /// @brief Sets host reservation mode.
     ///
-    /// See @getHostReservationMode for details.
+    /// See @ref getHostReservationMode for details.
     ///
     /// @param mode mode to be set
     void setHostReservationMode(HRMode mode) {
index ea6f34e99d2bfef25ba9ba0afce6213846a7720f..500b6cf03aa80f640abaab2fa00f24fdc5f60e52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013,2015  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -48,7 +48,7 @@ public:
 ///
 /// - The list of server hooks, which is used in two ways.  Firstly, when a
 ///   callout registers or deregisters a hook, it does so by name: the
-///   @ref isc::util::ServerHooks object supplies the names of registered
+///   @ref isc::hooks::ServerHooks object supplies the names of registered
 ///   hooks.  Secondly, when the callouts associated with a hook are called by
 ///   the server, the server supplies the index of the relevant hook: this is
 ///   validated by reference to the list of hook.
@@ -87,7 +87,7 @@ public:
 /// Indexes range between 1 and n (where n is the number of the libraries
 /// loaded) and are assigned to libraries based on the order the libraries
 /// presented to the hooks framework for loading (something that occurs in the
-/// isc::util::HooksManager) class.  However, two other indexes are recognized,
+/// isc::hooks::HooksManager) class.  However, two other indexes are recognized,
 /// 0 and INT_MAX.  These are used when the server itself registers callouts -
 /// the server is able to register callouts that get called before any
 /// user-library callouts, and ones that get called after user-library callouts.
index dacbef2c1bcfcc61426f671a74a793b77c820ef3..ada37b896296eb4654ae4f85245dd4b04e1bdd78 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013,2015  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -188,7 +188,7 @@ public:
     /// libraries is changed, each of the new libraries is checked before the
     /// change is committed.
     ///
-    /// @param List of libraries to be validated.
+    /// @param libraries List of libraries to be validated.
     ///
     /// @return An empty vector if all libraries validated.  Otherwise it
     ///         holds the names of the libraries that failed validation.
index 66149b775cf267daa76426fe5aaf47e46164727a..239882f97c85baeec9f1c4dc7f045ca3a255181f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011,2015  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -122,7 +122,7 @@ currentTime() {
 /// \brief Create Header Sentinel
 ///
 /// Given the name of a file, create an \#ifdef sentinel name.  The name is
-/// <name>_<ext>, where &lt;name&gt; is the name of the file, and &lt;ext&gt;
+/// &lt;name&gt;_&lt;ext&gt;, where &lt;name&gt; is the name of the file, and &lt;ext&gt;
 /// is the extension less the leading period.  The sentinel will be upper-case.
 ///
 /// \param file Filename object representing the file.
index 28673ca47660576adbcbfbc76e0fb0e1f8c08eb0..f83aa66e19b58f124d9d30f211d24c10aa52adea 100644 (file)
@@ -311,7 +311,7 @@ public:
 
     /// @brief Writes the CSV row into the file.
     ///
-    /// @param Object representing a CSV file row.
+    /// @param row Object representing a CSV file row.
     ///
     /// @throw CSVFileError When error occurred during IO operation or if the
     /// size of the row doesn't match the number of columns.
@@ -414,7 +414,7 @@ public:
     /// @c validate function can set a message after successful validation
     /// too. Such message could say "success", or something similar.
     ///
-    /// @param val_msg Error message to be set.
+    /// @param read_msg Error message to be set.
     void setReadMsg(const std::string& read_msg) {
         read_msg_ = read_msg;
     }
@@ -466,7 +466,7 @@ protected:
     /// compare that they exactly match (including order) the header read
     /// from the file.
     ///
-    /// This function is called internally by @CSVFile::open. Derived classes
+    /// This function is called internally by @ref CSVFile::open. Derived classes
     /// may add extra validation steps.
     ///
     /// @todo There should be a support for optional columns (see ticket #3626).
index bdd2083f187f2d63f3012eae5d55cf75baed77ee..81fce94fc2487abf3f7b72e6af381d8cf0c0046c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -76,8 +76,8 @@ public:
     /// Creates optional value. The value defaults to "unspecified".
     ///
     /// @param value Default explicit value.
-    /// @param specified Value which determines if the value is initially
-    // specified or not (default is false).
+    /// @param state Specifies bool which determines if the value is initially
+    /// specified or not (default is false).
     explicit OptionalValue(const T& value, const OptionalValueState& state =
                            OptionalValueState(false))
         : value_(value), specified_(state.specified_) {