aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_select_purse.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-28 23:44:17 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-28 23:44:17 +0100
commit880c14909bfdaf1199ffc5da989eccb52f6cac12 (patch)
treeb135e2ea69a1df8ec2d09492873e025e8b2d2a06 /src/exchangedb/pg_select_purse.h
parent5533bcbf651eafce682212ce635bdf8ce83d4bcb (diff)
add notification logic on purse deletion
Diffstat (limited to 'src/exchangedb/pg_select_purse.h')
-rw-r--r--src/exchangedb/pg_select_purse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchangedb/pg_select_purse.h b/src/exchangedb/pg_select_purse.h
index f522256df..db63f0c90 100644
--- a/src/exchangedb/pg_select_purse.h
+++ b/src/exchangedb/pg_select_purse.h
@@ -37,6 +37,7 @@
* @param[out] deposited set to actual amount put into the purse so far
* @param[out] h_contract_terms set to hash of the contract for the purse
* @param[out] merge_timestamp set to time when the purse was merged, or NEVER if not
+ * @param[out] purse_deleted set to true if purse was deleted
* @return transaction status code
*/
enum GNUNET_DB_QueryStatus
@@ -48,7 +49,8 @@ TEH_PG_select_purse (
struct TALER_Amount *amount,
struct TALER_Amount *deposited,
struct TALER_PrivateContractHashP *h_contract_terms,
- struct GNUNET_TIME_Timestamp *merge_timestamp);
+ struct GNUNET_TIME_Timestamp *merge_timestamp,
+ bool *purse_deleted);
#endif