aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_extensions.h')
-rw-r--r--src/include/taler_extensions.h8
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);
/*