summaryrefslogtreecommitdiff
path: root/src/include/taler_extensions.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-01-02 17:47:06 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-01-02 17:47:06 +0100
commit8e6b086753d66f838a2cbdd207691c1fc5fb3a88 (patch)
tree54f2bda00e881e694f1f4442decf27dd3a94b7c5 /src/include/taler_extensions.h
parent4f0d85935f5577b9fc6feea5603ac7a0fa210625 (diff)
downloadexchange-8e6b086753d66f838a2cbdd207691c1fc5fb3a88.tar.gz
exchange-8e6b086753d66f838a2cbdd207691c1fc5fb3a88.tar.bz2
exchange-8e6b086753d66f838a2cbdd207691c1fc5fb3a88.zip
mark parameter as const; free correct object
Diffstat (limited to 'src/include/taler_extensions.h')
-rw-r--r--src/include/taler_extensions.h8
1 files changed, 4 insertions, 4 deletions
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.