From 9391ed529c5b20dd8ad1114e28ca1e6dcb1de190 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 May 2016 18:37:31 +0200 Subject: export function to free commit coin data --- src/include/taler_exchangedb_plugin.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 4c6f546f9..56e226071 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1189,6 +1189,18 @@ struct TALER_EXCHANGEDB_Plugin uint16_t num_coins, struct TALER_EXCHANGEDB_RefreshCommitCoin *commit_coins); + /** + * Free refresh @a commit_coins data obtained via @e get_refresh_commit_coins. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param num_coins size of the @a commit_coins array + * @param commit_coins array of coin commitments to free + */ + void + (*free_refresh_commit_coins) (void *cls, + unsigned int num_coins, + struct TALER_EXCHANGEDB_RefreshCommitCoin *commit_coins); + /** * Store the commitment to the given (encrypted) refresh link data -- cgit v1.2.3