From 8eaddbb805c3ad31433b67c7d22f5c60e8ad286a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 4 May 2023 13:39:15 +0200 Subject: [PATCH] doxygen: Fix syntax for some output parameters --- src/libcharon/config/child_cfg.h | 4 ++-- src/libcharon/sa/redirect_manager.h | 4 ++-- src/libcharon/sa/redirect_provider.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libcharon/config/child_cfg.h b/src/libcharon/config/child_cfg.h index 9c4425275..4a9a699df 100644 --- a/src/libcharon/config/child_cfg.h +++ b/src/libcharon/config/child_cfg.h @@ -281,8 +281,8 @@ struct child_cfg_t { * * @param labels list of labels to match * @param log FALSE to avoid logging details about the selection - * @param label[out] selected label or NULL if no label necessary - * @param exact[out] TRUE if there was an exact match + * @param[out] label selected label or NULL if no label necessary + * @param[out] exact TRUE if there was an exact match * @return FALSE on failure */ bool (*select_label)(child_cfg_t *this, linked_list_t *labels, bool log, diff --git a/src/libcharon/sa/redirect_manager.h b/src/libcharon/sa/redirect_manager.h index 0e8258bdd..be0ddb7f3 100644 --- a/src/libcharon/sa/redirect_manager.h +++ b/src/libcharon/sa/redirect_manager.h @@ -57,7 +57,7 @@ struct redirect_manager_t { * IKE_SA_INIT message. * * @param ike_sa IKE_SA for which this is called - * @param gateway[out] new IKE gateway (IP or FQDN) + * @param[out] gateway new IKE gateway (IP or FQDN) * @return TRUE if client should be redirected, FALSE otherwise */ bool (*redirect_on_init)(redirect_manager_t *this, ike_sa_t *ike_sa, @@ -69,7 +69,7 @@ struct redirect_manager_t { * when the server authenticates itself. * * @param ike_sa IKE_SA for which this is called - * @param gateway[out] new IKE gateway (IP or FQDN) + * @param[out] gateway new IKE gateway (IP or FQDN) * @return TRUE if client should be redirected, FALSE otherwise */ bool (*redirect_on_auth)(redirect_manager_t *this, ike_sa_t *ike_sa, diff --git a/src/libcharon/sa/redirect_provider.h b/src/libcharon/sa/redirect_provider.h index 42c635166..5be124c60 100644 --- a/src/libcharon/sa/redirect_provider.h +++ b/src/libcharon/sa/redirect_provider.h @@ -38,7 +38,7 @@ struct redirect_provider_t { * IKE_SA_INIT message. * * @param ike_sa IKE_SA for which this is called - * @param gateway[out] new IKE gateway (IP or FQDN) + * @param[out] gateway new IKE gateway (IP or FQDN) * @return TRUE if client should be redirected, FALSE otherwise */ bool (*redirect_on_init)(redirect_provider_t *this, ike_sa_t *ike_sa, @@ -50,7 +50,7 @@ struct redirect_provider_t { * server authenticates itself. * * @param ike_sa IKE_SA for which this is called - * @param gateway[out] new IKE gateway (IP or FQDN) + * @param[out] gateway new IKE gateway (IP or FQDN) * @return TRUE if client should be redirected, FALSE otherwise */ bool (*redirect_on_auth)(redirect_provider_t *this, ike_sa_t *ike_sa,