summaryrefslogtreecommitdiff
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.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h
index e8911b32..391987ab 100644
--- a/src/backend/taler-merchant-httpd.h
+++ b/src/backend/taler-merchant-httpd.h
@@ -268,6 +268,33 @@ struct TMH_OrderRefundEventP
/**
+ * Event generated when a client picks up a tip.
+ */
+struct TMH_TipPickupEventP
+{
+ /**
+ * Type is #TALER_DBEVENT_MERCHANT_TIP_PICKUP.
+ */
+ struct GNUNET_DB_EventHeaderP header;
+
+ /**
+ * Always zero (for alignment).
+ */
+ uint32_t reserved GNUNET_PACKED;
+
+ /**
+ * Tip ID.
+ */
+ struct TALER_TipIdentifierP tip_id;
+
+ /**
+ * Hash of the instance ID.
+ */
+ struct GNUNET_HashCode h_instance;
+
+};
+
+/**
* Possible flags indicating the state of an order.
*/
enum TMH_OrderStateFlags