diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/taler_exchange_service.h | 4 | ||||
| -rw-r--r-- | src/include/taler_exchangedb_plugin.h | 8 | ||||
| -rw-r--r-- | src/include/taler_extensions.h | 12 | 
3 files changed, 12 insertions, 12 deletions
| diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 6d4ca109..5fcfa403 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -3592,7 +3592,7 @@ enum GNUNET_GenericReturnValue  TALER_EXCHANGE_verify_coin_history (    const struct TALER_EXCHANGE_DenomPublicKey *dk,    const struct TALER_CoinSpendPublicKeyP *coin_pub, -  json_t *history, +  const json_t *history,    struct TALER_Amount *total); @@ -4498,7 +4498,7 @@ TALER_EXCHANGE_post_management_keys_cancel (   */  struct TALER_EXCHANGE_ManagementPostExtensionsData  { -  json_t *extensions; +  const json_t *extensions;    struct TALER_MasterSignatureP extensions_sig;  }; diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 92fb36fb..5404f0b1 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -5577,8 +5577,8 @@ struct TALER_EXCHANGEDB_Plugin    (*insert_wire)(void *cls,                   const char *payto_uri,                   const char *conversion_url, -                 json_t *debit_restrictions, -                 json_t *credit_restrictions, +                 const json_t *debit_restrictions, +                 const json_t *credit_restrictions,                   struct GNUNET_TIME_Timestamp start_date,                   const struct TALER_MasterSignatureP *master_sig); @@ -5600,8 +5600,8 @@ struct TALER_EXCHANGEDB_Plugin    (*update_wire)(void *cls,                   const char *payto_uri,                   const char *conversion_url, -                 json_t *debit_restrictions, -                 json_t *credit_restrictions, +                 const json_t *debit_restrictions, +                 const json_t *credit_restrictions,                   struct GNUNET_TIME_Timestamp change_date,                   bool enabled); diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h index 75f22534..cd9d7ddd 100644 --- a/src/include/taler_extensions.h +++ b/src/include/taler_extensions.h @@ -259,13 +259,13 @@ TALER_extensions_parse_manifest (   */  enum GNUNET_GenericReturnValue  TALER_extensions_load_manifests ( -  json_t *manifests); +  const json_t *manifests);  /*   * @brief Returns the head of the linked list of extensions.   */  const struct TALER_Extensions * -TALER_extensions_get_head (); +TALER_extensions_get_head (void);  /**   * @brief Finds and returns a supported extension by a given type. @@ -323,7 +323,7 @@ TALER_extensions_is_enabled (   */  enum GNUNET_GenericReturnValue  TALER_extensions_verify_manifests_signature ( -  json_t *manifests, +  const json_t *manifests,    struct TALER_MasterSignatureP *extensions_sig,    struct TALER_MasterPublicKeyP *master_pub); @@ -363,7 +363,7 @@ struct TALER_AgeRestrictionConfig   * @return age restriction configuration if present, otherwise NULL.   */  const struct TALER_AgeRestrictionConfig * -TALER_extensions_get_age_restriction_config (); +TALER_extensions_get_age_restriction_config (void);  /**   * @brief Check if age restriction is enabled @@ -371,7 +371,7 @@ TALER_extensions_get_age_restriction_config ();   * @return true, if age restriction is loaded, configured and enabled; otherwise false.   */  bool -TALER_extensions_is_age_restriction_enabled (); +TALER_extensions_is_age_restriction_enabled (void);  /**   * @brief Return the age mask for age restriction @@ -379,6 +379,6 @@ TALER_extensions_is_age_restriction_enabled ();   * @return configured age mask, if age restriction is loaded, configured and enabled; otherwise zero mask.   */  struct TALER_AgeMask -TALER_extensions_get_age_restriction_mask (); +TALER_extensions_get_age_restriction_mask (void);  #endif | 
