mintdb plugin: introduce insert_denomination
This commit is contained in:
parent
32f9c81ec9
commit
4f18e6d585
@ -25,6 +25,7 @@
|
||||
#include <gnunet/gnunet_util_lib.h>
|
||||
#include "taler_util.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_mintdb_lib.h"
|
||||
|
||||
|
||||
/**
|
||||
@ -652,6 +653,19 @@ struct TALER_MINTDB_Plugin
|
||||
(*rollback) (void *cls,
|
||||
struct TALER_MINTDB_Session *sesssion);
|
||||
|
||||
/**
|
||||
* Insert a denomination key
|
||||
*
|
||||
* @param cls the @e cls of this struct with the plugin-specific state
|
||||
* @param sesssion connection to use
|
||||
* @param dki the denomination key information
|
||||
* @return #GNUNET_OK on success; #GNUNET_SYSERR on failure
|
||||
*/
|
||||
int
|
||||
(*insert_denomination) (void *cls,
|
||||
struct TALER_MINTDB_Session *session,
|
||||
const struct TALER_MINTDB_DenominationKeyIssueInformation *dki);
|
||||
|
||||
|
||||
/**
|
||||
* Get the summary of a reserve.
|
||||
|
Loading…
Reference in New Issue
Block a user