From bf8c5982a2e79f0b5198a0033dd41e9702d093f9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Apr 2020 22:05:38 +0200 Subject: make exchange API more uniform in how information is returned --- src/lib/exchange_api_handle.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/lib/exchange_api_handle.h') diff --git a/src/lib/exchange_api_handle.h b/src/lib/exchange_api_handle.h index 63f789c8..b4b8ccf5 100644 --- a/src/lib/exchange_api_handle.h +++ b/src/lib/exchange_api_handle.h @@ -79,15 +79,11 @@ typedef struct TEAH_AuditorInteractionEntry * * auditor's /deposit-confirmation handler. * * @param cls closure of type `struct TEAH_AuditorInteractionEntry *` - * @param http_status HTTP status code, 200 on success - * @param ec taler protocol error status code, 0 on success - * @param json raw json response + * @param hr HTTP response */ void TEAH_acc_confirmation_cb (void *cls, - unsigned int http_status, - enum TALER_ErrorCode ec, - const json_t *json); + const struct TALER_AUDITOR_HttpResponse *hr); /** -- cgit v1.2.3