diff options
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 |
commit | 8e6b086753d66f838a2cbdd207691c1fc5fb3a88 (patch) | |
tree | 54f2bda00e881e694f1f4442decf27dd3a94b7c5 /src/include | |
parent | 4f0d85935f5577b9fc6feea5603ac7a0fa210625 (diff) | |
download | exchange-8e6b086753d66f838a2cbdd207691c1fc5fb3a88.tar.xz |
mark parameter as const; free correct object
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_extensions.h | 8 |
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. |