diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-09-06 01:06:03 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-09-06 01:06:03 +0200 |
commit | c317eb88f9bac0e59f5bbbb8ba2eb99af49f40b3 (patch) | |
tree | 0a015ab30c4dfb70e4847efd4c71414db3563056 /src/backenddb/plugin_merchantdb_postgres.c | |
parent | 631ba9db07f0613fd3ec673932dae1f68e86ae80 (diff) | |
download | merchant-c317eb88f9bac0e59f5bbbb8ba2eb99af49f40b3.tar.gz merchant-c317eb88f9bac0e59f5bbbb8ba2eb99af49f40b3.tar.bz2 merchant-c317eb88f9bac0e59f5bbbb8ba2eb99af49f40b3.zip |
add DB functions for login tokens
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index c4074c98..51298334 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -36,6 +36,9 @@ #include "pg_update_otp.h" #include "pg_select_otp.h" #include "pg_select_otp_serial.h" +#include "pg_insert_login_token.h" +#include "pg_delete_login_token.h" +#include "pg_select_login_token.h" #include "pg_insert_account.h" #include "pg_update_account.h" #include "pg_lookup_instances.h" @@ -3684,6 +3687,12 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) plugin->start_read_committed = &TMH_PG_start_read_committed; plugin->rollback = &TMH_PG_rollback; plugin->commit = &TMH_PG_commit; + plugin->insert_login_token + = &TMH_PG_insert_login_token; + plugin->delete_login_token + = &TMH_PG_delete_login_token; + plugin->select_login_token + = &TMH_PG_select_login_token; plugin->lookup_instance_auth = &TMH_PG_lookup_instance_auth; plugin->insert_instance |