aboutsummaryrefslogtreecommitdiff
path: root/src/mint/mint_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/mint_db.h')
-rw-r--r--src/mint/mint_db.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h
index b36823803..b80f750b0 100644
--- a/src/mint/mint_db.h
+++ b/src/mint/mint_db.h
@@ -169,6 +169,22 @@ struct CollectableBlindcoin
169}; 169};
170 170
171 171
172/**
173 * Get the summary of a reserve.
174 *
175 * @param db the database connection handle
176 * @param reserve_pub the public key identifying the reserve
177 * @param balance the amount existing in the reserve (will be filled)
178 * @param expiry expiration of the reserve (will be filled)
179 * @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
180 */
181int
182TALER_MINT_DB_reserve_get (PGconn *db,
183 struct GNUNET_CRYPTO_EddsaPublicKey *reserve_pub,
184 struct TALER_Amount *balance,
185 struct GNUNET_TIME_Absolute *expiry);
186
187
172/* FIXME: need call to convert CollectableBlindcoin to JSON (#3527) */ 188/* FIXME: need call to convert CollectableBlindcoin to JSON (#3527) */
173 189
174 190