aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-02 06:36:58 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-02 06:36:58 +0200
commit1cbba4bec1551a4662029e2899e5120cc4793c4b (patch)
treea08bbdd6a87e4017cb598cf5028be188cc67cee0 /src/include/taler_exchangedb_plugin.h
parent53e7547aaf74a0d34584e221ea92bea85c452d66 (diff)
fixing #4462: avoid temporary schemata altogether
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 45553634c..ebcfe3757 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -717,36 +717,31 @@ struct TALER_EXCHANGEDB_Plugin
* Connect to the db if the connection does not exist yet.
*
* @param cls the @e cls of this struct with the plugin-specific state
- * @param temporary #GNUNET_YES to use a temporary schema; #GNUNET_NO to use the
- * database default one
* @param the database connection, or NULL on error
*/
struct TALER_EXCHANGEDB_Session *
- (*get_session) (void *cls,
- int temporary);
+ (*get_session) (void *cls);
/**
- * Drop the temporary taler schema. This is only useful for testcases.
+ * Drop the Taler tables. This should only be used in testcases.
*
* @param cls the @e cls of this struct with the plugin-specific state
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
*/
int
- (*drop_temporary) (void *cls,
- struct TALER_EXCHANGEDB_Session *db);
+ (*drop_tables) (void *cls,
+ struct TALER_EXCHANGEDB_Session *db);
/**
* Create the necessary tables if they are not present
*
* @param cls the @e cls of this struct with the plugin-specific state
- * @param temporary should we use a temporary schema
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
*/
int
- (*create_tables) (void *cls,
- int temporary);
+ (*create_tables) (void *cls);
/**