]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clean up doxygen complaints
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2023 16:53:50 +0000 (11:53 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2023 17:14:57 +0000 (12:14 -0500)
21 files changed:
src/lib/server/cf_parse.h
src/lib/server/cond_eval.c
src/lib/server/method.c
src/lib/server/method.h
src/lib/server/module_ctx.h
src/lib/server/tmpl_dcursor.c
src/lib/server/tmpl_eval.c
src/lib/server/tmpl_tokenize.c
src/lib/tls/base.c
src/lib/tls/verify.c
src/lib/util/pair.h
src/lib/util/pair_legacy.c
src/lib/util/pair_legacy.h
src/lib/util/pair_list_perf_test.c
src/lib/util/rb_tests.c
src/lib/util/udp_queue.h
src/lib/util/value.c
src/listen/control/radmin.c
src/modules/rlm_ocsp/ocsp.c
src/process/tacacs/base.c
src/protocols/tftp/encode.c

index 952f0bed0623feea6d30e6909ca7ba19ecda9735..eb71a1cdd58788a643613d51e16badf1c5a1436a 100644 (file)
@@ -85,7 +85,7 @@ typedef void conf_type_invalid;               //!< Dummy type used to indicate invalid FR_TYP
 
 /** Check the #fr_type_t matches the destination data type
  *
- * Validation macro to check the type of the pointer or offset #_p passed in
+ * Validation macro to check the type of the pointer or offset _p passed in
  * matches the #fr_type_t of the configuration item.
  *
  * Uses various magic builtin precompilation functions, so will likely only
index c7879f293a3943099c2790dd838da64190e0048c..4f6c83621c71a82efe788d4bc2c9354df40b92e3 100644 (file)
@@ -46,7 +46,7 @@ static int cond_realize_tmpl(request_t *request,
                             fr_value_box_t **out, fr_value_box_t **to_free,
                             tmpl_t *in, tmpl_t *other, fr_value_box_t *async);
 
-/** Map keywords to #pair_list_t values
+/** Map keywords to #fr_pair_list_t values
  */
 static fr_table_num_sorted_t const cond_type_table[] = {
        { L("child"),           COND_TYPE_CHILD         },
@@ -335,7 +335,7 @@ done:
        return p - out;
 }
 
-/** Turn a raw #tmpl_t into #fr_value_data_t, mostly.
+/** Turn a raw #tmpl_t into #fr_value_box_t, mostly.
  *
  *  It does nothing for lists, attributes, and precompiled regexes.
  *
index a806e54689e57d05816ff3225451de5b5ae1386c..90f8695ba1a7bb3263c5cfdd5977b466caee2e66 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * $Id$
  *
- * @file src/lib/server/methods.c
+ * @file src/lib/server/method.c
  * @brief Cannonical definition of abstract module methods.
  *
  * @copyright 2021 The FreeRADIUS server project
index e367a8a5c151d029abf6a08ec21920a5282ba024..7bbcc062b8136b0a8391c78d90f2cd33593df745 100644 (file)
@@ -18,7 +18,7 @@
 /**
  * $Id$
  *
- * @file lib/server/methods.h
+ * @file lib/server/method.h
  * @brief Cannonical definition of abstract module methods.
  *
  * Multiple schemes have been used to try and pick the default module
index 60ec5bf0393c4d5e42128aa394b7e3d89ffe8ab1..50d1f600bc484bd1cd30c3c086c6320405d06e92 100644 (file)
@@ -18,7 +18,7 @@
 /**
  * $Id$
  *
- * @file lib/server/module_call_ctx.h
+ * @file lib/server/module_ctx.h
  * @brief Temporary argument structures for module calls.
  *
  * These get used in various places where we may not want to include
index 01770af83133c7d65d8e07f2d9acd0ee76d97122..bbc95337091f6a22dbbde57b86ae75e1732f24d6 100644 (file)
@@ -18,7 +18,7 @@
  * $Id$
  *
  * @brief #fr_pair_t template functions
- * @file src/lib/server/tmpl_cursor.c
+ * @file src/lib/server/tmpl_dcursor.c
  *
  * @ingroup AVP
  *
@@ -47,7 +47,7 @@ void _tmpl_cursor_pool_init(tmpl_dcursor_ctx_t *cc)
  *
  * @param[in] list     being traversed.
  * @param[in] curr     item in the list to start tests from.
- * @param[in] uctx     Context for evaluation - in this instance a #tmpl_nested_dcursor_t
+ * @param[in] uctx     Context for evaluation - in this instance a #tmpl_dcursor_t
  * @return
  *     - the next matching attribute
  *     - NULL if none found
index 99c59c9dcd6ac31b03d44e793e8ed572333e0409..e1e4fdcb41702a3ebd9f7f73e2b8c99e894e0ed1 100644 (file)
@@ -87,13 +87,13 @@ static fr_dict_attr_autoload_t tmpl_dict_attr[] = {
 };
 
 
-/** Resolve attribute #pair_list_t value to an attribute list.
+/** Resolve attribute #fr_pair_list_t value to an attribute list.
  *
  * The value returned is a pointer to the pointer of the HEAD of a #fr_pair_t list in the
  * #request_t. If the head of the list changes, the pointer will still be valid.
  *
  * @param[in] request containing the target lists.
- * @param[in] list #pair_list_t value to resolve to #fr_pair_t list. Will be NULL if list
+ * @param[in] list #fr_pair_list_t value to resolve to #fr_pair_t list. Will be NULL if list
  *     name couldn't be resolved.
  * @return a pointer to the HEAD of a list in the #request_t.
  *
@@ -130,7 +130,7 @@ fr_pair_list_t *tmpl_list_head(request_t *request, fr_dict_attr_t const *list)
  * freed too.
  *
  * @param[in] request containing the target lists.
- * @param[in] list #pair_list_t value to resolve to TALLOC_CTX.
+ * @param[in] list #fr_pair_list_t value to resolve to TALLOC_CTX.
  * @return
  *     - TALLOC_CTX on success.
  *     - NULL on failure.
@@ -158,7 +158,7 @@ TALLOC_CTX *tmpl_list_ctx(request_t *request, fr_dict_attr_t const *list)
  * for the current #request_t.
  *
  * @param[in] request To resolve list in.
- * @param[in] list #pair_list_t value to resolve to #fr_radius_packet_t.
+ * @param[in] list #fr_pair_list_t value to resolve to #fr_radius_packet_t.
  * @return
  *     - #fr_radius_packet_t on success.
  *     - NULL on failure.
index 2cb83955be3bc95dd4fdb45c91347015835eef55..3fceeb91aefaa6c28105fa4de21f5473ab4895c1 100644 (file)
@@ -369,9 +369,9 @@ void tmpl_debug(tmpl_t const *vpt)
        }
 }
 
-/** @name Parse list and request qualifiers to #pair_list_t and #tmpl_request_ref_t values
+/** @name Parse list and request qualifiers to #fr_pair_list_t and #tmpl_request_ref_t values
  *
- * These functions also resolve #pair_list_t and #tmpl_request_ref_t values to #request_t
+ * These functions also resolve #fr_pair_list_t and #tmpl_request_ref_t values to #request_t
  * structs and the head of #fr_pair_t lists in those structs.
  *
  * For adding new #fr_pair_t to the lists, the #tmpl_list_ctx function can be used
@@ -1964,14 +1964,14 @@ do_suffix:
  * @param[out] err             May be NULL.  Provides the exact error that the parser hit
  *                             when processing the attribute ref.
  * @param[out] out             Where to write pointer to new #tmpl_t.
- * @param[in] name             of attribute including #tmpl_request_ref_t and #pair_list_t qualifiers.
+ * @param[in] name             of attribute including #tmpl_request_ref_t and #fr_pair_list_t qualifiers.
  * @param[in] p_rules          Formatting rules used to check for trailing garbage.
  * @param[in] t_rules          Rules which control parsing:
  *                             - dict_def              The default dictionary to use if attributes
  *                                                     are unqualified.
  *                             - request_def           The default #request_t to set if no
  *                                                     #tmpl_request_ref_t qualifiers are found in name.
- *                             - list_def              The default list to set if no #pair_list_t
+ *                             - list_def              The default list to set if no #fr_pair_list_t
  *                                                     qualifiers are found in the name.
  *                             - allow_unknown         If true attributes in the format accepted by
  *                                                     #fr_dict_unknown_afrom_oid_substr will be allowed,
@@ -2198,7 +2198,7 @@ ssize_t tmpl_afrom_attr_substr(TALLOC_CTX *ctx, tmpl_attr_error_t *err,
  * @param[out] err             May be NULL.  Provides the exact error that the parser hit
  *                             when processing the attribute ref.
  * @param[out] out             Where to write pointer to new #tmpl_t.
- * @param[in] name             of attribute including #tmpl_request_ref_t and #pair_list_t qualifiers.
+ * @param[in] name             of attribute including #tmpl_request_ref_t and #fr_pair_list_t qualifiers.
  * @param[in] t_rules          Rules which control parsing.  See tmpl_afrom_attr_substr() for details.
  *
  * @note Unlike #tmpl_afrom_attr_substr this function will error out if the entire
index 0ee6583bcf1fc128aeed6783c7c3162d52c652a6..2b74bf7c8c642163ea261cfd51f75ba3dd7ee5a8 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * $Id$
  *
- * @file tls/base.c
+ * @file src/lib/tls/base.c
  * @brief Initialise OpenSSL
  *
  * @copyright 2001 hereUare Communications, Inc. (raghud@hereuare.com)
index 3f68cc3f0119156eeb0b43d961dd38f5c3ccf9cf..3903553b74c9ef9660c976a43e0ced349d8a1525 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * $Id$
  *
- * @file tls/validate.c
+ * @file tls/verify.c
  * @brief Expose certificate OIDs as attributes, and call validation virtual
  *     server to check cert is valid.
  *
index fe44edfe25290ce31c94333393edde13751c0dc0..5d6ffc3edd9293dc2f1070bbeeb08257a7bab7da 100644 (file)
@@ -256,7 +256,7 @@ static inline bool vp_da_data_type_check(fr_pair_t *vp)
        return false;
 }
 
-/** Iterate over the contents of a #pair_list_t
+/** Iterate over the contents of a #fr_pair_list_t
  *
  *  The iteration variable can be safely removed from the list at each pass.
  *
index c69c7529437a3085e8082940e04f0815eef75b35..88266a5e8c92136058a5cdaa7b36b192c8cd10d3 100644 (file)
@@ -16,7 +16,7 @@
 
 /** AVP manipulation and search API
  *
- * @file src/lib/util/pair.c
+ * @file src/lib/util/pair_legacy.c
  *
  * @copyright 2000,2006,2015 The FreeRADIUS server project
  */
index c0ba33607a0e4068ac664dd9ca9912d3f63fa9d8..105fda81ffc47ee8dc3176da291323cc29697a72 100644 (file)
@@ -17,7 +17,7 @@
 
 /** Legacy API functions - DO NOT USE IN NEW CODE
  *
- * @file src/lib/util/dpair.h
+ * @file src/lib/util/pair_legacy.h
  *
  * @copyright 2015 The FreeRADIUS server project
  */
index 574b829d75edebcc140f86b884088a43465d2e7c..a2a57af5db4f95753f0c1f2513b617cd8abeb488 100644 (file)
@@ -16,7 +16,7 @@
 
 /** Performance tests for lists of fr_pair_t
  *
- * @file src/bin/pair_list_perf_test.c
+ * @file src/lib/util/pair_list_perf_test.c
  * @author Nick Porter <nick.porter@networkradius.com>
  *
  * @copyright 2021 Network RADIUS SAS <legal@networkradius.com>
index f87e6855e8aeec312c37d6c8ba8f7ae8a7f079b3..11e84054e7061405fd61c25bcd5982ca066d6b84 100644 (file)
@@ -16,7 +16,7 @@
 
 /** Tests for rbtrees
  *
- * @file src/lib/util/fr_rb_tree_tests.c
+ * @file src/lib/util/rb_tests.c
  *
  * @copyright 2021 Arran Cudbard-Bell <a.cudbardb@freeradius.org>
  */
index 5e51a17858ed3616967f08b5865a1eb23b324158..24fda9b6eb6eb81d7c489c544db1f5441b764f73 100644 (file)
@@ -18,7 +18,7 @@
 /**
  * $Id$
  *
- * @file lib/server/udp_queue.h
+ * @file lib/util/udp_queue.h
  * @brief Handle queues of outgoing UDP packets
  *
  * @copyright 2021 Network RADIUS SAS (legal@networkradius.com)
index ee4beef5f45ccc26f0267149f2e363ba9c59cb92..5b79cf1d702d9abd6fd7d84ba2ee531cc65faebb 100644 (file)
@@ -5314,7 +5314,7 @@ ssize_t fr_value_box_print_quoted(fr_sbuff_t *out, fr_value_box_t const *data, f
  *                             they've been processed.
  * @param[in] flatten          If true and we encounter a #FR_TYPE_GROUP,
  *                             we concat the contents of its children together.
- *                             If false, the contents will be cast to #type.
+ *                             If false, the contents will be cast to #FR_TYPE_STRING.
  * @param[in] printable                Convert 'octets' to printable strings.
  * @return
  *      - >=0 the number of bytes written to the sbuff.
@@ -5404,7 +5404,7 @@ ssize_t fr_value_box_list_concat_as_string(bool *tainted, fr_sbuff_t *sbuff, FR_
  *                             they've been processed.
  * @param[in] flatten          If true and we encounter a #FR_TYPE_GROUP,
  *                             we concat the contents of its children together.
- *                             If false, the contents will be cast to #type.
+ *                             If false, the contents will be cast to #FR_TYPE_OCTETS.
  * @return
  *      - >=0 the number of bytes written to the sbuff.
  *     - <0 how many additional bytes we would have needed to
@@ -5500,7 +5500,7 @@ ssize_t fr_value_box_list_concat_as_octets(bool *tainted, fr_dbuff_t *dbuff, FR_
  *                             they've been processed.
  * @param[in] flatten          If true and we encounter a #FR_TYPE_GROUP,
  *                             we concat the contents of its children together.
- *                             If false, the contents will be cast to #type.
+ *                             If false, the contents will be cast to the given type.
  * @param[in] max_size         of the value.
  * @return
  *     - 0 on success.
index f4f94e383d28d605703411287e9d00d9d20bea1d..3f8ab61a296994b276efb68adce24e90681a261e 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * $Id$
  *
- * @file proto_control/radmin.c
+ * @file src/listen/control/radmin.c
  * @brief Control a running radiusd process.
  *
  * @copyright 2012-2016 The FreeRADIUS server project
index b927a6da2076a365af50bb8591493bdf030b6ab5..3a89e86d32c418b8358b7fbaa6090022c256b9f2 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * $Id$
  *
- * @file tls/ocsp.c
+ * @file rlm_ocsp/ocsp.c
  * @brief Validate client certificates using an OCSP service.
  *
  * @copyright 2006-2016 The FreeRADIUS server project
index 5945a692029fdcfa91808e5496c3953bbedc456a..b6f45e7cb7b0354ed10de96657f272c5f5aa94c7 100644 (file)
@@ -16,7 +16,7 @@
 
 /**
  * $Id$
- * @file src/lib/process/tacacs/base.c
+ * @file src/process/tacacs/base.c
  * @brief TACACS+ handler.
  * @author Jorge Pereira <jpereira@freeradius.org>
  *
index 4cd4fe87531aaeaa9644708af02e52c1df48efaa..e02b937132c02775fd7ae4e5aaab700799b09a5a 100644 (file)
@@ -16,7 +16,7 @@
 
 /**
  * $Id$
- * @file src/protocols/tftp/enoce.c
+ * @file src/protocols/tftp/encode.c
  * @brief Functions to encode TFTP packets.
  * @author Jorge Pereira <jpereira@freeradius.org>
  *