diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-01-19 17:30:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-01-19 17:30:07 +0100 |
commit | 285e1ab3bd2754598da2bae802e8482c3f8b4f24 (patch) | |
tree | 7e897bd03a896223c0f8ed22e3061b10b854bec1 /src/reducer/anastasis_api_redux.h | |
parent | 21e28d6d049a948fe71817da7cb3e3b0f1639eb6 (diff) | |
download | anastasis-285e1ab3bd2754598da2bae802e8482c3f8b4f24.tar.gz anastasis-285e1ab3bd2754598da2bae802e8482c3f8b4f24.tar.bz2 anastasis-285e1ab3bd2754598da2bae802e8482c3f8b4f24.zip |
implement parallel deduplicating optional attribute brute-forcing discovery process on top of reducer state, but as a side-activity
Diffstat (limited to 'src/reducer/anastasis_api_redux.h')
-rw-r--r-- | src/reducer/anastasis_api_redux.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/reducer/anastasis_api_redux.h b/src/reducer/anastasis_api_redux.h index f161d61..81fbeed 100644 --- a/src/reducer/anastasis_api_redux.h +++ b/src/reducer/anastasis_api_redux.h @@ -168,6 +168,20 @@ ANASTASIS_recovery_state_to_string_ (enum ANASTASIS_RecoveryState rs); /** + * Lookup @a salt of @a provider_url in @a state. + * + * @param state the state to inspect + * @param provider_url provider to look into + * @param[out] salt value to extract + * @return #GNUNET_OK on success + */ +enum GNUNET_GenericReturnValue +ANASTASIS_reducer_lookup_salt_ (const json_t *state, + const char *provider_url, + struct ANASTASIS_CRYPTO_ProviderSaltP *salt); + + +/** * Function to return a json error response. * * @param cb callback to give error to |