summaryrefslogtreecommitdiff
path: root/src/include/taler_extensions.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-04-21 12:54:59 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-04-21 12:54:59 +0200
commit137bd971544f3b0332af32e68ae37fb9e74bae69 (patch)
treedddda27b440a775e289a419cc3ead054a095c816 /src/include/taler_extensions.h
parent4af1772f1205de93cbf04e20c6dd2d309c7fe0df (diff)
downloadexchange-137bd971544f3b0332af32e68ae37fb9e74bae69.tar.gz
exchange-137bd971544f3b0332af32e68ae37fb9e74bae69.tar.bz2
exchange-137bd971544f3b0332af32e68ae37fb9e74bae69.zip
cleanup of extension API
- removed TALER_extensions_init() - added TALER_extension_age_restriction_register()
Diffstat (limited to 'src/include/taler_extensions.h')
-rw-r--r--src/include/taler_extensions.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h
index b7b93e178..32821e500 100644
--- a/src/include/taler_extensions.h
+++ b/src/include/taler_extensions.h
@@ -71,9 +71,6 @@ struct TALER_Extension
* Generic functions for extensions
*/
-void
-TALER_extensions_init ();
-
/*
* Sets the configuration of the extensions from the given TALER configuration
*
@@ -200,6 +197,12 @@ TALER_extensions_verify_json_config_signature (
#define TALER_EXTENSION_AGE_RESTRICTION_DEFAULT_AGE_GROUPS "8:10:12:14:16:18:21"
/**
+ * @brief Registers the extension for age restriction to the list extensions
+ */
+enum GNUNET_GenericReturnValue
+TALER_extension_age_restriction_register ();
+
+/**
* @brief Parses a string as a list of age groups.
*
* The string must consist of a colon-separated list of increasing integers