aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-25 21:40:46 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-25 21:40:46 +0200
commit3bda4367fb168dc63ddc5f79e4dd9be452dd162d (patch)
treef564cd38152c384a9a1527597faed2e31c31c23e /src/backend
parenta6c9e653f0d46b0d0c3acc39e16cc35f2dd627cf (diff)
-doxygen fixes
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd.h4
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-pay.c15
-rw-r--r--src/backend/taler-merchant-httpd_private-delete-transfers-ID.c8
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c3
-rw-r--r--src/backend/taler-merchant-httpd_private-get-products.c8
5 files changed, 5 insertions, 33 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h
index 8d009b26..da1a6127 100644
--- a/src/backend/taler-merchant-httpd.h
+++ b/src/backend/taler-merchant-httpd.h
@@ -51,7 +51,7 @@ struct TMH_WireMethod
struct TMH_WireMethod *prev;
/**
- * Which wire method / payment target identifier is @e j_wire using?
+ * Which wire method / payment target identifier is @e payto_uri using?
*/
char *wire_method;
@@ -66,7 +66,7 @@ struct TMH_WireMethod
struct TALER_WireSaltP wire_salt;
/**
- * Hash of our wire format details as given in #j_wire.
+ * Hash of our wire format details as given in @e payto_uri
*/
struct TALER_MerchantWireHashP h_wire;
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 5104e850..1521a4ac 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -708,8 +708,7 @@ execute_pay_transaction (struct PayContext *pc);
* Function called with detailed wire transfer data.
*
* @param cls a `struct KycContext *`
- * @param hr HTTP response data
- * @param dd details about the deposit (NULL on errors)
+ * @param dr HTTP response data
*/
static void
deposit_get_callback (
@@ -912,10 +911,7 @@ check_kyc (struct PayContext *pc,
* in that array). That way, the last executed callback can detect
* that no other confirmations are on the way, and can pack a response
* for the wallet
- * @param hr HTTP response code details
- * @param deposit_timestamp time when the exchange generated the deposit confirmation
- * @param exchange_sig signature from the exchange over the deposit confirmation
- * @param exchange_pub which key did the exchange use to create the @a exchange_sig
+ * @param dr HTTP response code details
*/
static void
deposit_cb (void *cls,
@@ -1776,11 +1772,6 @@ generate_success_response (struct PayContext *pc)
}
-/**
- * Actually perform the payment transaction.
- *
- * @param pc payment transaction to run
- */
static void
execute_pay_transaction (struct PayContext *pc)
{
@@ -2365,8 +2356,6 @@ handle_contract_paid (struct PayContext *pc)
/**
* Check the database state for the given order. * Schedules an error response in the connection on failure.
*
- * @param connection HTTP connection we are receiving payment on
- * @param[in,out] hc context with further information about the request
* @param pc context we use to handle the payment
* @return #GNUNET_OK on success,
* #GNUNET_NO on failure (response was queued with MHD)
diff --git a/src/backend/taler-merchant-httpd_private-delete-transfers-ID.c b/src/backend/taler-merchant-httpd_private-delete-transfers-ID.c
index 93656f4a..1e191eb6 100644
--- a/src/backend/taler-merchant-httpd_private-delete-transfers-ID.c
+++ b/src/backend/taler-merchant-httpd_private-delete-transfers-ID.c
@@ -23,14 +23,6 @@
#include <taler/taler_json_lib.h>
-/**
- * Handle a DELETE "/private/transfers/$ID" request.
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] hc context with further information about the request
- * @return MHD result code
- */
MHD_RESULT
TMH_private_delete_transfers_ID (const struct TMH_RequestHandler *rh,
struct MHD_Connection *connection,
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index bc5bcfd9..6caa3060 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -448,8 +448,7 @@ exchange_timeout_cb (void *cls)
* Function called with detailed wire transfer data.
*
* @param cls closure with a `struct TransferQuery *`
- * @param hr HTTP response data
- * @param dd details about the deposit (NULL on errors)
+ * @param dr HTTP response data
*/
static void
deposit_get_cb (void *cls,
diff --git a/src/backend/taler-merchant-httpd_private-get-products.c b/src/backend/taler-merchant-httpd_private-get-products.c
index 6c683887..bc90c94d 100644
--- a/src/backend/taler-merchant-httpd_private-get-products.c
+++ b/src/backend/taler-merchant-httpd_private-get-products.c
@@ -43,14 +43,6 @@ add_product (void *cls,
}
-/**
- * Handle a GET "/private/products" request.
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] hc context with further information about the request
- * @return MHD result code
- */
MHD_RESULT
TMH_private_get_products (const struct TMH_RequestHandler *rh,
struct MHD_Connection *connection,