summaryrefslogtreecommitdiff
path: root/src/include/anastasis_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/anastasis_service.h')
-rw-r--r--src/include/anastasis_service.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/anastasis_service.h b/src/include/anastasis_service.h
index 5a8ca21..ee24b7a 100644
--- a/src/include/anastasis_service.h
+++ b/src/include/anastasis_service.h
@@ -192,7 +192,7 @@ struct ANASTASIS_MetaDownloadDetails
/**
* Number of entries in @e metas.
*/
- unsigned int metas_length;
+ size_t metas_length;
};
@@ -473,6 +473,8 @@ typedef void
* @param anastasis_priv private key of the user's account
* @param recovery_data policy data to be stored
* @param recovery_data_size number of bytes in @a recovery_data
+ * @param recovery_meta_data policy meta data to be stored, can be NULL
+ * @param recovery_meta_data_size number of bytes in @a recovery_meta_data
* @param payment_years_requested for how many years would the client like the service to store the truth?
* @param payment_secret payment identifier of last payment
* @param payment_timeout how long to wait for the payment, use
@@ -488,6 +490,8 @@ ANASTASIS_policy_store (
const struct ANASTASIS_CRYPTO_AccountPrivateKeyP *anastasis_priv,
const void *recovery_data,
size_t recovery_data_size,
+ const void *recovery_meta_data,
+ size_t recovery_meta_data_size,
uint32_t payment_years_requested,
const struct ANASTASIS_PaymentSecretP *payment_secret,
struct GNUNET_TIME_Relative payment_timeout,