From 8e6b086753d66f838a2cbdd207691c1fc5fb3a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Mon, 2 Jan 2023 17:47:06 +0100 Subject: mark parameter as const; free correct object --- src/include/taler_extensions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include/taler_extensions.h') diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h index fedc17d90..bd5b72480 100644 --- a/src/include/taler_extensions.h +++ b/src/include/taler_extensions.h @@ -128,13 +128,13 @@ struct TALER_Extension * @brief Handler to read an extension-specific configuration in JSON * encoding and enable the extension. Must be implemented by the extension. * - * @param ext The extension object. If NULL, the configuration will only be checked. - * @param config A JSON blob + * @param[in] ext The extension object. If NULL, the configuration will only be checked. + * @param[in,out] config A JSON blob * @return GNUNET_OK if the json was a valid configuration for the extension. */ enum GNUNET_GenericReturnValue (*load_config)( - struct TALER_Extension *ext, - json_t *config); + const json_t *config, + struct TALER_Extension *ext); /** * @brief Handler to return the manifest of the extension in JSON encoding. -- cgit v1.2.3