summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-29 18:23:51 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-29 18:23:51 -0400
commit26085c8712c509d1384d1de99fec1bc9d3d15386 (patch)
treefb37abf5e692ae0f32889ca03133e3ca10682f2b /src/include
parent91c676ddc756cdebd374a9c4fe3e40afba643a00 (diff)
downloadmerchant-26085c8712c509d1384d1de99fec1bc9d3d15386.tar.gz
merchant-26085c8712c509d1384d1de99fec1bc9d3d15386.tar.bz2
merchant-26085c8712c509d1384d1de99fec1bc9d3d15386.zip
remove allocations and pointers from claim token client/test code
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_merchant_service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 783520c1..f706ada9 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 (NULL if
+ * @param token the claim token generated by the merchant (zeroed 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,
- const struct TALER_ClaimTokenP *token);
+ struct TALER_ClaimTokenP token);
/**
@@ -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);