aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/perf_taler_mintdb_init.h
diff options
context:
space:
mode:
authorFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-06-10 14:59:14 +0200
committerFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-06-10 14:59:14 +0200
commit7e990741dfbeadbf13a5cea7423ae088a39494d4 (patch)
treefc350b8a770fcb0f83fe07a0ec2da67789d3a6f8 /src/mintdb/perf_taler_mintdb_init.h
parente40cbd96dde9ee6b103db165d1b7ccc5e304efd2 (diff)
Commenting, cleaning and checking for return values
Diffstat (limited to 'src/mintdb/perf_taler_mintdb_init.h')
-rw-r--r--src/mintdb/perf_taler_mintdb_init.h35
1 files changed, 24 insertions, 11 deletions
diff --git a/src/mintdb/perf_taler_mintdb_init.h b/src/mintdb/perf_taler_mintdb_init.h
index f313f8e9b..f1447b629 100644
--- a/src/mintdb/perf_taler_mintdb_init.h
+++ b/src/mintdb/perf_taler_mintdb_init.h
@@ -22,36 +22,49 @@
#define __PERF_TALER_MINTDB_INIT_H___
-#include <gnunet/platform.h>
-#include "taler_mintdb_lib.h"
-#include "taler_mintdb_plugin.h"
+#include "../include/platform.h"
+#include "../include/taler_mintdb_lib.h"
+#include "../include/taler_mintdb_plugin.h"
#define CURRENCY "EUR"
struct TALER_MINTDB_CollectableBlindcoin *
-init_collectable_blindcoin(void);
+collectable_blindcoin_init (void);
+
+
+int
+collectable_blindcoin_free (struct TALER_MINTDB_CollectableBlindcoin *NAME);
+
+
+struct TALER_MINTDB_Reserve *
+reserve_init (void);
+
+
+int
+reserve_free (struct TALER_MINTDB_Reserve);
+
struct TALER_MINTDB_RefreshSession *
-init_refresh_session(void);
+refresh_session_init (void);
+
struct TALER_MINTDB_Deposit *
-init_deposit(int transaction_id);
+deposit_init (int transaction_id);
+
struct TALER_MINTDB_DenominationKeyIssueInformation *
init_denomination(void);
-
int
-free_deposit(struct TALER_MINTDB_Deposit *deposit);
+deposit_free (struct TALER_MINTDB_Deposit *deposit);
-int
-free_collectable_blindcoin(struct TALER_MINTDB_CollectableBlindcoin *NAME);
int
-free_denomination(struct TALER_MINTDB_DenominationKeyIssueInformation *dki);
+denomination_free (struct TALER_MINTDB_DenominationKeyIssueInformation *dki);
+
#endif