diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-10-08 17:13:57 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-10-08 17:13:57 +0200 |
commit | 4ba07b54e4ea2ac75c408f795cd806409450bc29 (patch) | |
tree | a9fe35d75de203450ea1eb16a83c3f2bcc527c65 /src/include/taler_extensions.h | |
parent | d3c509fcd91e5b7e430eda767108d961db196522 (diff) |
WIP: policy_*_fulfiment added and API changes
- policy_fulfilment table defined, handlers added
- policy_details_fulfilment table defined, handlers added
- TALER_extensions_serial_from_policy_details implemened
Diffstat (limited to 'src/include/taler_extensions.h')
-rw-r--r-- | src/include/taler_extensions.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h index 4685464a..b2d25678 100644 --- a/src/include/taler_extensions.h +++ b/src/include/taler_extensions.h @@ -390,16 +390,18 @@ TALER_extensions_get_age_restriction_mask (); * @brief Finds the extension for a given policy * * @param[in] policy_details JSON of the policy detail from a deposit request - * @param[out] extension On GNUNET_OK, the exentions handling the given policy + * @param[out] serial On GNUNET_OK, the hash code that should be used to save the policy_details in the policy_details table + * @param[out] deadline On GNUNET_OK, the deadline that should be saved in the policy_details table * @param[out] error_hint On GNUNET_SYSERR, will contain a hint for the reason why it failed * @return GNUNET_OK on success, with *extension set to the correct extension. * GNUNET_NO, when no extension was found. GNUNET_SYSERR when the JSON was * invalid, with *error_hint maybe non-NULL. */ enum GNUNET_GenericReturnValue -TALER_extensions_from_policy_details ( +TALER_extensions_serial_from_policy_details ( const json_t *policy_details, - const struct TALER_Extension **extension, + struct GNUNET_HashCode *serial, + struct GNUNET_TIME_Timestamp *deadline, const char **error_hint); /* |