aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-04-12 16:37:38 +0200
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-04-12 17:18:30 +0200
commit4f18e6d58517c1bca158231df018b17e858be9cc (patch)
treea50d196a42a4208a07d49e5920f52ef146c241c9 /src/include
parent32f9c81ec9d45d13cb0bcf3cf6d8a4a5e01210c9 (diff)
mintdb plugin: introduce insert_denomination
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_mintdb_plugin.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_mintdb_plugin.h b/src/include/taler_mintdb_plugin.h
index 307b75645..540cb88ca 100644
--- a/src/include/taler_mintdb_plugin.h
+++ b/src/include/taler_mintdb_plugin.h
@@ -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.