From c176ce9d0402195ee19a1bcae792ee2ccbd33e3b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 12 Apr 2023 15:44:47 +0200 Subject: add wirewatch CRU(D) functions to merchant DB API --- src/backenddb/plugin_merchantdb_postgres.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/backenddb/plugin_merchantdb_postgres.c') 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; -- cgit v1.2.3