summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-12 15:44:47 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-12 15:44:47 +0200
commitc176ce9d0402195ee19a1bcae792ee2ccbd33e3b (patch)
tree57cbde9f7c8abeb24cf01f6302a48b52c86b995d /src/backenddb/plugin_merchantdb_postgres.c
parentfc27666623c28fedf272495881ee63d7580cd589 (diff)
downloadmerchant-c176ce9d0402195ee19a1bcae792ee2ccbd33e3b.tar.gz
merchant-c176ce9d0402195ee19a1bcae792ee2ccbd33e3b.tar.bz2
merchant-c176ce9d0402195ee19a1bcae792ee2ccbd33e3b.zip
add wirewatch CRU(D) functions to merchant DB API
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 5553c059..6f3789a6 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -31,6 +31,9 @@
#include "taler_merchantdb_plugin.h"
#include "pg_helper.h"
#include "pg_lookup_transfers.h"
+#include "pg_insert_wirewatch_progress.h"
+#include "pg_update_wirewatch_progress.h"
+#include "pg_select_wirewatch_progress.h"
/**
@@ -10201,6 +10204,12 @@ libtaler_plugin_merchantdb_postgres_init (void *cls)
plugin->lookup_transfer_details = &postgres_lookup_transfer_details;
plugin->lookup_transfers
= &TMH_PG_lookup_transfers;
+ plugin->insert_wirewatch_progress
+ = &TMH_PG_insert_wirewatch_progress;
+ plugin->update_wirewatch_progress
+ = &TMH_PG_update_wirewatch_progress;
+ plugin->select_wirewatch_progress
+ = &TMH_PG_select_wirewatch_progress;
plugin->store_wire_fee_by_exchange = &postgres_store_wire_fee_by_exchange;
plugin->insert_reserve = &postgres_insert_reserve;
plugin->activate_reserve = &postgres_activate_reserve;