diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_auditors.c | 1 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.c | 4 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-abort.c | 1 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-tips.c | 1 | ||||
-rw-r--r-- | src/lib/merchant_api_post_order_claim.c | 3 | ||||
-rw-r--r-- | src/lib/merchant_api_post_orders.c | 8 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_wallet_post_orders_refund.c | 3 |
7 files changed, 15 insertions, 6 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c index 1609e2b1..c7e7e584 100644 --- a/src/backend/taler-merchant-httpd_auditors.c +++ b/src/backend/taler-merchant-httpd_auditors.c @@ -216,6 +216,7 @@ parse_auditors (void *cls, auditor); } + int TMH_AUDITORS_init (const struct GNUNET_CONFIGURATION_Handle *cfg) { diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c index 1d5db7e5..e882f557 100644 --- a/src/backend/taler-merchant-httpd_exchanges.c +++ b/src/backend/taler-merchant-httpd_exchanges.c @@ -604,6 +604,7 @@ process_find_operations (struct Exchange *exchange) return need_wire; } + static void wire_task_cb (void *cls); @@ -940,6 +941,7 @@ return_result (void *cls) } } + struct TMH_EXCHANGES_FindOperation * TMH_EXCHANGES_find_exchange (const char *chosen_exchange, const char *wire_method, @@ -1169,6 +1171,7 @@ accept_exchanges (void *cls, exchange); } + int TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg) { @@ -1208,6 +1211,7 @@ TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg) return json_array_size (TMH_trusted_exchanges); } + void TMH_EXCHANGES_done () { diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c index 58c38b76..cfb5bb72 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c @@ -257,6 +257,7 @@ abort_refunds (struct AbortContext *ac) } } + void TMH_force_ac_resume () { diff --git a/src/backend/taler-merchant-httpd_private-get-tips.c b/src/backend/taler-merchant-httpd_private-get-tips.c index 74b9751b..4282ebe7 100644 --- a/src/backend/taler-merchant-httpd_private-get-tips.c +++ b/src/backend/taler-merchant-httpd_private-get-tips.c @@ -51,6 +51,7 @@ add_tip (void *cls, TALER_JSON_from_amount (&amount)))); } + MHD_RESULT TMH_private_get_tips (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/lib/merchant_api_post_order_claim.c b/src/lib/merchant_api_post_order_claim.c index 1389d8ee..f37e5978 100644 --- a/src/lib/merchant_api_post_order_claim.c +++ b/src/lib/merchant_api_post_order_claim.c @@ -190,7 +190,8 @@ TALER_MERCHANT_order_claim (struct GNUNET_CURL_Context *ctx, GNUNET_assert (0 == json_object_set_new (req_obj, "token", - GNUNET_JSON_from_data_auto (claim_token))); + GNUNET_JSON_from_data_auto ( + claim_token))); } och = GNUNET_new (struct TALER_MERCHANT_OrderClaimHandle); och->ctx = ctx; diff --git a/src/lib/merchant_api_post_orders.c b/src/lib/merchant_api_post_orders.c index baab8acd..20af444f 100644 --- a/src/lib/merchant_api_post_orders.c +++ b/src/lib/merchant_api_post_orders.c @@ -100,10 +100,10 @@ handle_post_order_finished (void *cls, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("order_id", &order_id), - (!has_token) ? - GNUNET_JSON_spec_end () : - GNUNET_JSON_spec_fixed_auto ("token", - &token), + (! has_token) ? + GNUNET_JSON_spec_end () : + GNUNET_JSON_spec_fixed_auto ("token", + &token), GNUNET_JSON_spec_end () }; diff --git a/src/testing/testing_api_cmd_wallet_post_orders_refund.c b/src/testing/testing_api_cmd_wallet_post_orders_refund.c index 912264a2..80e5e99e 100644 --- a/src/testing/testing_api_cmd_wallet_post_orders_refund.c +++ b/src/testing/testing_api_cmd_wallet_post_orders_refund.c @@ -138,7 +138,8 @@ refund_cb ( /* The most recent refunds are returned first */ GNUNET_assert (0 <= TALER_amount_add (&refunded_total, &refunded_total, - &refunds[refunds_length - 1 - i].refund_amount)); + &refunds[refunds_length - 1 + - i].refund_amount)); if ((GNUNET_OK != TALER_amount_cmp_currency (&expected_amount, &refunded_total)) || |