From 79c316f0d55ef404fbb2c2eea6182eb31e865c79 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 May 2016 07:57:49 +0200 Subject: enable multiple wire methods to be used with aggregator, add command to run aggregator in testcase --- src/include/taler_exchangedb_plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 ebcfe375..8e00be75 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -684,12 +684,14 @@ typedef void * * @param cls closure * @param rowid row identifier used to mark prepared transaction as done + * @param wire_method which wire method is this preparation data for * @param buf transaction data that was persisted, NULL on error * @param buf_size number of bytes in @a buf, 0 on error */ typedef void (*TALER_EXCHANGEDB_WirePreparationCallback) (void *cls, unsigned long long rowid, + const char *wire_method, const char *buf, size_t buf_size); @@ -1479,7 +1481,6 @@ struct TALER_EXCHANGEDB_Plugin * * @param cls closure * @param session database connection - * @param type type fo the wire transfer (i.e. "sepa") * @param cb function to call for ONE unfinished item * @param cb_cls closure for @a cb * @return #GNUNET_OK on success, @@ -1489,7 +1490,6 @@ struct TALER_EXCHANGEDB_Plugin int (*wire_prepare_data_get)(void *cls, struct TALER_EXCHANGEDB_Session *session, - const char *type, TALER_EXCHANGEDB_WirePreparationCallback cb, void *cb_cls); -- cgit v1.2.3