From 36720053502337e98503a9170e3f0ae0b53fbbc1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Jun 2016 21:43:10 +0200 Subject: [PATCH] rename source files to match API URIs --- src/exchange-lib/Makefile.am | 6 +++--- ..._api_deposit_wtid.c => exchange_api_track_transaction.c} | 2 +- ...ge_api_wire_deposits.c => exchange_api_track_transfer.c} | 2 +- src/include/taler_exchange_service.h | 3 +-- 4 files changed, 6 insertions(+), 7 deletions(-) rename src/exchange-lib/{exchange_api_deposit_wtid.c => exchange_api_track_transaction.c} (99%) rename src/exchange-lib/{exchange_api_wire_deposits.c => exchange_api_track_transfer.c} (99%) diff --git a/src/exchange-lib/Makefile.am b/src/exchange-lib/Makefile.am index 3cab9d456..eed528e16 100644 --- a/src/exchange-lib/Makefile.am +++ b/src/exchange-lib/Makefile.am @@ -18,13 +18,13 @@ libtalerexchange_la_SOURCES = \ exchange_api_handle.c exchange_api_handle.h \ exchange_api_admin.c \ exchange_api_deposit.c \ - exchange_api_deposit_wtid.c \ exchange_api_refresh.c \ exchange_api_refresh_link.c \ exchange_api_refund.c \ exchange_api_reserve.c \ - exchange_api_wire.c \ - exchange_api_wire_deposits.c + exchange_api_track_transaction.c + exchange_api_track_trasnfer.c + exchange_api_wire.c libtalerexchange_la_LIBADD = \ $(top_builddir)/src/json/libtalerjson.la \ diff --git a/src/exchange-lib/exchange_api_deposit_wtid.c b/src/exchange-lib/exchange_api_track_transaction.c similarity index 99% rename from src/exchange-lib/exchange_api_deposit_wtid.c rename to src/exchange-lib/exchange_api_track_transaction.c index d8dfebdff..e9c38e488 100644 --- a/src/exchange-lib/exchange_api_deposit_wtid.c +++ b/src/exchange-lib/exchange_api_track_transaction.c @@ -15,7 +15,7 @@ */ /** - * @file exchange-lib/exchange_api_deposit_wtid.c + * @file exchange-lib/exchange_api_track_transaction.c * @brief Implementation of the /track/transaction request of the exchange's HTTP API * @author Christian Grothoff */ diff --git a/src/exchange-lib/exchange_api_wire_deposits.c b/src/exchange-lib/exchange_api_track_transfer.c similarity index 99% rename from src/exchange-lib/exchange_api_wire_deposits.c rename to src/exchange-lib/exchange_api_track_transfer.c index 71afa24d5..bb65d84a9 100644 --- a/src/exchange-lib/exchange_api_wire_deposits.c +++ b/src/exchange-lib/exchange_api_track_transfer.c @@ -15,7 +15,7 @@ */ /** - * @file exchange-lib/exchange_api_wire_deposits.c + * @file exchange-lib/exchange_api_track_transfer.c * @brief Implementation of the /track/transfer request of the exchange's HTTP API * @author Christian Grothoff */ diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 1d52481d7..ecfbc7253 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1110,8 +1110,7 @@ struct TALER_EXCHANGE_TrackTransferHandle; * @param sign_key exchange key used to sign @a json, or NULL * @param json original json reply (may include signatures, those have then been * validated already) - * @param wtid extracted wire transfer identifier, or NULL if the exchange could - * not provide any (set only if @a http_status is #MHD_HTTP_OK) + * @param h_wire hash of the wire transfer address the transfer went to, or NULL on error * @param total_amount total amount of the wire transfer, or NULL if the exchange could * not provide any @a wtid (set only if @a http_status is #MHD_HTTP_OK) * @param details_length length of the @a details array