summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-19 18:37:31 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-19 18:37:31 +0200
commit9391ed529c5b20dd8ad1114e28ca1e6dcb1de190 (patch)
treed0034b6e4f91ce420429ac4cf1bc121088e4abec /src/include
parent7d8a74adf1a0b2451140aa07c183b12d16ae6a38 (diff)
downloadexchange-9391ed529c5b20dd8ad1114e28ca1e6dcb1de190.tar.gz
exchange-9391ed529c5b20dd8ad1114e28ca1e6dcb1de190.tar.bz2
exchange-9391ed529c5b20dd8ad1114e28ca1e6dcb1de190.zip
export function to free commit coin data
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h12
1 files changed, 12 insertions, 0 deletions
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