[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 03/03: backenddb pending webhook test
From: |
gnunet |
Subject: |
[taler-merchant] 03/03: backenddb pending webhook test |
Date: |
Tue, 07 Feb 2023 15:19:25 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
commit 95d712067c01eeeebe0f86e3e802eabf0379e293
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Feb 7 09:18:58 2023 -0500
backenddb pending webhook test
---
src/include/taler_merchantdb_plugin.h | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/src/include/taler_merchantdb_plugin.h
b/src/include/taler_merchantdb_plugin.h
index 9b9d1505..a1208859 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -420,8 +420,7 @@ typedef void
typedef void
(*TALER_MERCHANTDB_PendingWebhooksCallback)(void *cls,
uint64_t webhook_pending_serial,
- struct GNUNET_TIME_Absolute
- next_attempt,
+ struct GNUNET_TIME_Absolute
next_attempt,
uint32_t retries,
const char *url,
const char *http_method,
@@ -434,6 +433,7 @@ typedef void
*/
struct TALER_MERCHANTDB_PendingWebhookDetails
{
+
/**
* Identifies when we should make the next request to the webhook. 0 for
unknown,
* #GNUNET_TIME_UNIT_FOREVER_ABS for never.
@@ -2752,22 +2752,6 @@ struct TALER_MERCHANTDB_Plugin
const char *http_method,
const char *header,
const char *body);
-
- /**
- * Lookup details about a particular pending webhook.
- *
- * @param cls closure
- * @param instance_id instance to lookup webhook for
- * @param webhook_serial webhook to lookup
- * @param[out] pwb set to the pending webhook details on success, can be NULL
- * (in that case we only want to check if the webhook exists)
- * @return database result code
- */
- enum GNUNET_DB_QueryStatus
- (*lookup_pending_webhook)(void *cls,
- const char *instance_id,
- uint64_t *webhook_serial,
- struct TALER_MERCHANTDB_PendingWebhookDetails
*pwb);
/**
* Lookup the webhook that need to be send in priority. These webhooks are
not successfully
* send.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.