summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-10-15 19:44:54 +0200
committerMS <ms@taler.net>2020-10-15 19:44:54 +0200
commit68582108ffb74401649f7eccb9c8f1a5ff381b1f (patch)
tree091342a479e15206e3d42ee9a3782e9c3c813138
parentd08fc12e9c78de9e5c203260a3f2f1a806b40774 (diff)
downloadmerchant-68582108ffb74401649f7eccb9c8f1a5ff381b1f.tar.gz
merchant-68582108ffb74401649f7eccb9c8f1a5ff381b1f.tar.bz2
merchant-68582108ffb74401649f7eccb9c8f1a5ff381b1f.zip
Doxygen fixes
-rw-r--r--src/include/taler_merchant_service.h15
-rw-r--r--src/include/taler_merchant_testing_lib.h8
-rw-r--r--src/testing/testing_api_cmd_tip_authorize.c4
3 files changed, 13 insertions, 14 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 1d0f166e..bd0d2302 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -1165,7 +1165,7 @@ TALER_MERCHANT_product_lock (
* Cancel POST /products/$ID/lock operation. Note that the
* lock may or may not be acquired despite the cancellation.
*
- * @param pdh operation to cancel
+ * @param plh operation to cancel
*/
void
TALER_MERCHANT_product_lock_cancel (
@@ -1299,7 +1299,7 @@ struct TALER_MERCHANT_InventoryProduct
* @param payment_target desired payment target identifier (to select merchant bank details)
* @param inventory_products_length length of the @a inventory_products array
* @param inventory_products products to add to the order from the inventory
- * @param lock_uuids_length length of the @a uuids array
+ * @param uuids_length length of the @a uuids array
* @param uuids array of UUIDs with locks on @a inventory_products
* @param create_token whether to create a claim token
* @param cb the callback to call when a reply for this request is available
@@ -2129,7 +2129,6 @@ struct TALER_MERCHANT_PayCoin
* @param order_id order id
* @param num_coins number of coins used to pay
* @param coins array of coins we use to pay
- * @param coin_sig the signature made with purpose #TALER_SIGNATURE_WALLET_COIN_DEPOSIT made by the customer with the coin’s private key.
* @param pay_cb the callback to call when a reply for this request is available
* @param pay_cb_cls closure for @a pay_cb
* @return a handle for this request
@@ -2433,7 +2432,7 @@ TALER_MERCHANT_post_order_refund (struct GNUNET_CURL_Context *ctx,
/**
* Cancel a POST /refund request.
*
- * @param rio the refund increasing operation to cancel
+ * @param orh the refund increasing operation to cancel
*/
void
TALER_MERCHANT_post_order_refund_cancel (
@@ -2605,7 +2604,7 @@ typedef void
* @param payto_uri which account was credited by the wire transfer
* @param exchange_url what is the URL of the exchange that made the transfer
* @param cb the callback to call when a reply for this request is available
- * @param cb_cls closure for @a cb
+ * @param cls closure for @a cb
* @return a handle for this request
*/
struct TALER_MERCHANT_PostTransfersHandle *
@@ -3202,7 +3201,7 @@ TALER_MERCHANT_wallet_tip_get (struct GNUNET_CURL_Context *ctx,
/**
* Cancel a GET /tips/$TIP_ID request.
*
- * @param tqo handle to the request to be canceled
+ * @param tgh handle to the request to be canceled
*/
void
TALER_MERCHANT_wallet_tip_get_cancel (struct
@@ -3428,7 +3427,7 @@ struct TALER_MERCHANT_PlanchetData
* @param ctx execution context
* @param backend_url base URL of the merchant backend
* @param tip_id unique identifier for the tip
- * @param num_planches number of planchets provided in @a pds
+ * @param num_planchets number of planchets provided in @a pds
* @param planchets array of planchet secrets to be signed into existence for the tip
* @param pickup_cb callback which will work the response gotten from the backend
* @param pickup_cb_cls closure to pass to @a pickup_cb
@@ -3447,7 +3446,7 @@ TALER_MERCHANT_tip_pickup (struct GNUNET_CURL_Context *ctx,
/**
* Cancel a pending /tips/$TIP_ID/pickup request
*
- * @param tp handle from the operation to cancel
+ * @param tph handle from the operation to cancel
*/
void
TALER_MERCHANT_tip_pickup_cancel (struct TALER_MERCHANT_TipPickupHandle *tph);
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h
index 27a49f19..c3248949 100644
--- a/src/include/taler_merchant_testing_lib.h
+++ b/src/include/taler_merchant_testing_lib.h
@@ -127,7 +127,7 @@ TALER_TESTING_cmd_merchant_post_instances (const char *label,
* @param merchant_url base URL of the merchant serving the
* POST /instances request.
* @param instance_id the ID of the instance to query
- * @param payto_uris_length length of the @a accounts array
+ * @param accounts_length length of the @a accounts array
* @param payto_uris URIs of the bank accounts of the merchant instance
* @param name name of the merchant instance
* @param address physical address of the merchant instance
@@ -913,10 +913,10 @@ TALER_TESTING_cmd_merchant_delete_order (const char *label,
* @a credit_amount to the @a merchant_url.
*
* @param label command label.
+ * @param auth credentials to access the exchange's bank account
+ * @param payto_uri URL of the exchange's bank account
* @param merchant_url base URL of the backend serving the
* "refund increase" request.
- * @param auth credentials to access the exchange's bank account
- * @param payto_rui URL of the exchange's bank account
* @param credit_amount amount credited
* @param http_code expected HTTP response code
* @param ... NULL-terminated list of labels (const char *) of
@@ -1235,7 +1235,7 @@ struct TALER_TESTING_Command
TALER_TESTING_cmd_tip_authorize_from_reserve (const char *label,
const char *merchant_url,
const char *exchange_url,
- const char *reserve_refernce,
+ const char *reserve_reference,
unsigned int http_status,
const char *justification,
const char *amount);
diff --git a/src/testing/testing_api_cmd_tip_authorize.c b/src/testing/testing_api_cmd_tip_authorize.c
index a34ba123..be38e98b 100644
--- a/src/testing/testing_api_cmd_tip_authorize.c
+++ b/src/testing/testing_api_cmd_tip_authorize.c
@@ -384,7 +384,7 @@ struct TALER_TESTING_Command
TALER_TESTING_cmd_tip_authorize_from_reserve (const char *label,
const char *merchant_url,
const char *exchange_url,
- const char *reserve_refernce,
+ const char *reserve_reference,
unsigned int http_status,
const char *justification,
const char *amount)
@@ -393,7 +393,7 @@ TALER_TESTING_cmd_tip_authorize_from_reserve (const char *label,
tas = GNUNET_new (struct TipAuthorizeState);
tas->merchant_url = merchant_url;
- tas->reserve_reference = reserve_refernce;
+ tas->reserve_reference = reserve_reference;
tas->justification = justification;
tas->http_status = http_status;
GNUNET_assert (GNUNET_OK ==