]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Doxygen fix ups
authorNick Porter <nick@portercomputing.co.uk>
Wed, 27 Nov 2024 08:47:01 +0000 (08:47 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 27 Nov 2024 08:47:01 +0000 (08:47 +0000)
src/modules/rlm_sql/drivers/rlm_sql_db2/rlm_sql_db2.c
src/modules/rlm_sql/drivers/rlm_sql_firebird/rlm_sql_firebird.c
src/modules/rlm_sql/drivers/rlm_sql_freetds/rlm_sql_freetds.c
src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c
src/modules/rlm_sql/drivers/rlm_sql_oracle/rlm_sql_oracle.c
src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
src/modules/rlm_sql/drivers/rlm_sql_unixodbc/rlm_sql_unixodbc.c
src/modules/rlm_sql/rlm_sql.h

index 809d3162fb7c500f8a8afd9db4bd2c7a1d46d329..36e29ce5368cec04b81fc4aac182d602e198d389 100644 (file)
@@ -256,7 +256,6 @@ static sql_rcode_t sql_free_result(fr_sql_query_t *query_ctx, UNUSED rlm_sql_con
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index 13d9338b2b36205a56ee061162c9f98dac785272..03e43903e020e30f25fa290d814cd01522b168e8 100644 (file)
@@ -268,7 +268,6 @@ static sql_rcode_t sql_free_result(fr_sql_query_t *query_ctx, UNUSED rlm_sql_con
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(UNUSED TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index d01c3fa293f730fa30a62e9112b70cb92108d9b9..ed4de9c4164a97ec5ccf853635b3da01252391f2 100644 (file)
@@ -382,7 +382,6 @@ static sql_rcode_t sql_fields(char const **out[], fr_sql_query_t *query_ctx, UNU
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(UNUSED TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index 73812a120870fc647539a42bf4108b22d3a00aec..7e5bdc2e986ba62a4cc43632ec52e14538ed4e7c 100644 (file)
@@ -629,7 +629,6 @@ static sql_rcode_t sql_free_result(fr_sql_query_t *query_ctx, UNUSED rlm_sql_con
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param conn MySQL connection the query was run on.
- * @param config rlm_sql config.
  * @return
  *     - Number of errors written to the #sql_log_entry_t array.
  *     - -1 on failure.
@@ -695,7 +694,6 @@ static size_t sql_warnings(TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen,
index b23c1f3c7b80a3ce7996c933e7a5715817339c8f..d157225b289f1663a7b8789b9e94d794c69dd40a 100644 (file)
@@ -112,7 +112,6 @@ static int sql_snprint_error(char *out, size_t outlen, rlm_sql_oracle_conn_t *co
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index d05bbb7ba89b95c75279910894ee08b974119b57..7a5534a5772ab818bcb58228827cbd2db0a3fc86 100644 (file)
@@ -620,7 +620,6 @@ static sql_rcode_t sql_free_result(fr_sql_query_t *query_ctx, UNUSED rlm_sql_con
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen,
index 37c93e5756757f674ce6a590a2e62c2631c8beb5..1c1adacf775bb9a83a180c0d08a84873f0470e13 100644 (file)
@@ -569,7 +569,6 @@ static sql_rcode_t sql_free_result(fr_sql_query_t *query_ctx, UNUSED rlm_sql_con
  * @param out Array of sql_log_entrys to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(UNUSED TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index b7788adf44b74771edddab17e5224995b96ef1de..dca8006a55390d3463346974a3ec41adba12b4d8 100644 (file)
@@ -648,7 +648,6 @@ static sql_rcode_t sql_finish_query(fr_sql_query_t *query_ctx, UNUSED rlm_sql_co
  * @param out Array of #sql_log_entry_t to fill.
  * @param outlen Length of out array.
  * @param query_ctx Query context to retrieve error for.
- * @param config rlm_sql config.
  * @return number of errors written to the #sql_log_entry_t array.
  */
 static size_t sql_error(TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen,
index a03e0ee70dac50319864241c7fa2991544e89080..ef2cf6c2891e86194ad659cbc1f43b053b1ae7c8 100644 (file)
@@ -179,13 +179,12 @@ extern size_t sql_rcode_table_len;
  * @param[out] out a pre-allocated array of log entries to fill. Need not be NULL terminated.
  * @param[in] outlen Number of log entries available for populating. Do not write to index
  *     out[outlen] or higher.
- * @param[in] handle to retrieve errors from.
- * @param[in] config of the SQL instance.
+ * @param[in] query_ctx to retrieve errors from.
  * @return
  *     0  - If no error messages are available.
  *     >0 - Number of log entries
  */
-typedef size_t (*sql_error_t)(TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen, fr_sql_query_t *handle);
+typedef size_t (*sql_error_t)(TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen, fr_sql_query_t *query_ctx);
 
 typedef struct {
        rlm_sql_t const         *sql;