summaryrefslogtreecommitdiff
path: root/src/include/taler_merchant_service.h
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-29 21:38:21 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-29 21:38:21 -0400
commit5bdbbd68c4e11a322fe5c1b92c5ccc962863dbb1 (patch)
treefc52eb9ae5251e557693b725f9e240d22712e661 /src/include/taler_merchant_service.h
parent26085c8712c509d1384d1de99fec1bc9d3d15386 (diff)
downloadmerchant-5bdbbd68c4e11a322fe5c1b92c5ccc962863dbb1.tar.gz
merchant-5bdbbd68c4e11a322fe5c1b92c5ccc962863dbb1.tar.bz2
merchant-5bdbbd68c4e11a322fe5c1b92c5ccc962863dbb1.zip
revert to use pointers for claim token client lib
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r--src/include/taler_merchant_service.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index f706ada9..73901031 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -1114,7 +1114,7 @@ struct TALER_MERCHANT_PostOrdersOperation;
* @param cls closure
* @param hr HTTP response details
* @param order_id order id of the newly created order
- * @param token the claim token generated by the merchant (zeroed if
+ * @param token the claim token generated by the merchant (NULL if
* it wasn't generated).
*/
typedef void
@@ -1122,7 +1122,7 @@ typedef void
void *cls,
const struct TALER_MERCHANT_HttpResponse *hr,
const char *order_id,
- struct TALER_ClaimTokenP token);
+ const struct TALER_ClaimTokenP *token);
/**
@@ -1814,7 +1814,7 @@ typedef void
* @param backend_url base URL of the merchant backend
* @param order_id order id used to perform the lookup
* @param nonce nonce to use to claim the proposal
- * @param claim_token the token used to verify the claim
+ * @param claim_token the token used to verify the claim (NULL for none)
* @param cb callback which will work the response gotten from the backend
* @param cb_cls closure to pass to @a cb
* @return handle for this handle, NULL upon errors
@@ -1824,7 +1824,7 @@ TALER_MERCHANT_order_claim (struct GNUNET_CURL_Context *ctx,
const char *backend_url,
const char *order_id,
const struct GNUNET_CRYPTO_EddsaPublicKey *nonce,
- const struct TALER_ClaimTokenP claim_token,
+ const struct TALER_ClaimTokenP *claim_token,
TALER_MERCHANT_OrderClaimCallback cb,
void *cb_cls);