diff options
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 7383913a3..5512d3336 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2244,6 +2244,16 @@ struct TALER_EXCHANGEDB_Plugin enum GNUNET_GenericReturnValue (*drop_tables)(void *cls); + /** + * Drop the Taler tables on a shard. This should only be used in testcases. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param old_idx the index which was used then the database was initialized. + * @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure + */ + enum GNUNET_GenericReturnValue + (*drop_shard_tables)(void *cls, + uint32_t old_idx); /** * Create the necessary tables if they are not present |