aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd.h')
-rw-r--r--src/backend/taler-merchant-httpd.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h
index 06f29e7a..6e8362a4 100644
--- a/src/backend/taler-merchant-httpd.h
+++ b/src/backend/taler-merchant-httpd.h
@@ -178,6 +178,34 @@ struct TMH_OrderPayEvent
/**
+ * Event triggered when a fulfillment URL is
+ * bound to a session (as paid).
+ */
+struct TMH_SessionEvent
+{
+ /**
+ * Type is #TALER_DBEVENT_MERCHANT_SESSION_CAPTURED
+ */
+ struct GNUNET_DB_EventHeaderP header;
+
+ /**
+ * Always zero (for alignment).
+ */
+ uint32_t reserved;
+
+ /**
+ * Hash of the fulfillment URL.
+ */
+ struct GNUNET_HashCode h_fulfillment_url;
+
+ /**
+ * Hash of the session ID
+ */
+ struct GNUNET_HashCode h_session_id;
+};
+
+
+/**
* Event triggered when an order's refund is increased.
*/
struct TMH_OrderRefundEvent