summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 01:44:32 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 01:44:32 -0400
commit26d5adb7e9ea120b356f40b444f410973c8a83d4 (patch)
tree179c5625ba76c1b5cae36031b7f13ede9ae0223d /src/include
parent7a9c8b206332c3500ffd733b79aa56b0ea01338a (diff)
downloadmerchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.tar.gz
merchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.tar.bz2
merchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.zip
implementation of GET /private/tips
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_merchant_service.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 4c0fa0c7..9e7504aa 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -2833,7 +2833,7 @@ struct TALER_MERCHANT_TipEntry
/**
* Row number of the tip in the database.
*/
- unsigned int row_id;
+ uint64_t row_id;
/**
@@ -2886,7 +2886,7 @@ TALER_MERCHANT_tips_get (struct GNUNET_CURL_Context *ctx,
*
* @param ctx execution context
* @param backend_url base URL of the merchant backend
- * @param include_expired whether to return all tips or only unexpired tips
+ * @param expired yes for expired tips, no for unexpired tips, all for all tips
* @param limit number of results to return, negative for descending row id, positive for ascending
* @param offset row id to start returning results from
* @param cb function to call with the result
@@ -2896,9 +2896,9 @@ TALER_MERCHANT_tips_get (struct GNUNET_CURL_Context *ctx,
struct TALER_MERCHANT_TipsGetHandle *
TALER_MERCHANT_tips_get2 (struct GNUNET_CURL_Context *ctx,
const char *backend_url,
- bool include_expired,
- int limit,
- unsigned int offset,
+ enum TALER_MERCHANT_YesNoAll expired,
+ int64_t limit,
+ uint64_t offset,
TALER_MERCHANT_TipsGetCallback cb,
void *cb_cls);