diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index e2a20243d..cd03ba767 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -39,10 +39,9 @@ * @return json representation of the @a rh, NULL on error */ json_t * -TEH_RESPONSE_compile_transaction_history (const struct - TALER_CoinSpendPublicKeyP *coin_pub, - const struct - TALER_EXCHANGEDB_TransactionList *tl) +TEH_RESPONSE_compile_transaction_history ( + const struct TALER_CoinSpendPublicKeyP *coin_pub, + const struct TALER_EXCHANGEDB_TransactionList *tl) { json_t *history; @@ -421,12 +420,11 @@ TEH_RESPONSE_compile_transaction_history (const struct * @return MHD result code */ int -TEH_RESPONSE_reply_coin_insufficient_funds (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, - const struct - TALER_CoinSpendPublicKeyP *coin_pub, - const struct - TALER_EXCHANGEDB_TransactionList *tl) +TEH_RESPONSE_reply_coin_insufficient_funds ( + struct MHD_Connection *connection, + enum TALER_ErrorCode ec, + const struct TALER_CoinSpendPublicKeyP *coin_pub, + const struct TALER_EXCHANGEDB_TransactionList *tl) { json_t *history; @@ -458,9 +456,9 @@ TEH_RESPONSE_reply_coin_insufficient_funds (struct MHD_Connection *connection, * @return json representation of the @a rh, NULL on error */ json_t * -TEH_RESPONSE_compile_reserve_history (const struct - TALER_EXCHANGEDB_ReserveHistory *rh, - struct TALER_Amount *balance) +TEH_RESPONSE_compile_reserve_history ( + const struct TALER_EXCHANGEDB_ReserveHistory *rh, + struct TALER_Amount *balance) { struct TALER_Amount deposit_total; struct TALER_Amount withdraw_total; |