commit 7fa58f66193611491f5aa6cafab6a85845ede01f
parent 483c223a856b6d37bb601c4d0a626449da1cd085
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Tue, 3 Sep 2024 14:57:12 +0200
extensions: mark name and version as const
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h
@@ -88,7 +88,7 @@ struct TALER_Extension
* The name of the extension, must be unique among all loaded extensions. It
* is used in URLs for /extension/$NAME as well.
*/
- char *name;
+ const char *name;
/**
* Criticality of the extension. It has the same semantics as "critical" has
@@ -103,7 +103,7 @@ struct TALER_Extension
* Version of the extension must be provided in Taler's protocol version ranges notation, see
* https://docs.taler.net/core/api-common.html#protocol-version-ranges
*/
- char *version;
+ const char *version;
/**
* If the extension is marked as enabled, it will be listed in the