diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auditordb/Makefile.am | 1 | ||||
-rw-r--r-- | src/auditordb/pg_insert_historic_denom_revenue.h | 5 | ||||
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/auditordb/Makefile.am b/src/auditordb/Makefile.am index 265ec52a5..a38691b1c 100644 --- a/src/auditordb/Makefile.am +++ b/src/auditordb/Makefile.am @@ -160,6 +160,7 @@ pg_insert_purses.c pg_insert_purses.h \ pg_update_purses.c pg_update_purses.h \ pg_get_historic_denomination_revenue.c pg_get_historic_denomination_revenue.h \ pg_del_historic_denomination_revenue.c pg_del_historic_denomination_revenue.h \ +pg_insert_historic_denom_revenue.c pg_insert_historic_denom_revenue.h \ pg_insert_historic_denomination_revenue.c pg_insert_historic_denomination_revenue.h \ pg_update_historic_denomination_revenue.c pg_update_historic_denomination_revenue.h \ pg_get_denomination_pending.c pg_get_denomination_pending.h \ diff --git a/src/auditordb/pg_insert_historic_denom_revenue.h b/src/auditordb/pg_insert_historic_denom_revenue.h index abc19f868..02567119b 100644 --- a/src/auditordb/pg_insert_historic_denom_revenue.h +++ b/src/auditordb/pg_insert_historic_denom_revenue.h @@ -18,7 +18,6 @@ * @brief implementation of the insert_historic_denom_revenue function * @author Christian Grothoff */ -/* #ifndef PG_INSERT_HISTORIC_DENOM_REVENUE_H #define PG_INSERT_HISTORIC_DENOM_REVENUE_H @@ -26,7 +25,7 @@ #include "taler_json_lib.h" #include "taler_auditordb_plugin.h" -*/ + /** * Insert information about an exchange's historic * revenue about a denomination key. @@ -40,7 +39,6 @@ * @param loss_balance total losses suffered by the exchange at the time * @return transaction status code */ -/* enum GNUNET_DB_QueryStatus TAH_PG_insert_historic_denom_revenue ( void *cls, @@ -50,4 +48,3 @@ TAH_PG_insert_historic_denom_revenue ( const struct TALER_Amount *loss_balance); #endif -*/
\ No newline at end of file diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 0e8c6ed44..8db88ca6e 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -687,10 +687,10 @@ libtaler_plugin_auditordb_postgres_init (void *cls) = &TAH_PG_del_denomination_balance; plugin->get_denomination_balance = &TAH_PG_get_denomination_balance; -/* + plugin->insert_historic_denom_revenue = &TAH_PG_insert_historic_denom_revenue; - */ + plugin->select_historic_denom_revenue = &TAH_PG_select_historic_denom_revenue; |