diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-26 20:43:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-26 20:43:08 +0200 |
commit | 9a5030b993d74732f8fba2879cfca03ec070ad9a (patch) | |
tree | 7e47603cacc59d6c339484acdffb9aa0726da7f9 /src/include | |
parent | 35fe98a1657086af959e4512bb79b04e81ed3fc1 (diff) |
add test for json_wire.c logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 67ebc62fc..49aac827f 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1463,6 +1463,20 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_Session *session, const struct TALER_CoinPublicInfo *coin); + + /** + * Retrieve information about the given @a coin from the database. + * + * @param cls database connection plugin state + * @param session database session + * @param coin the coin that must be made known + * @return database transaction status, non-negative on success + */ + enum GNUNET_DB_QueryStatus + (*get_known_coin) (void *cls, + struct TALER_EXCHANGEDB_Session *session, + const struct TALER_CoinSpendPublicKeyP *coin_pub, + struct TALER_CoinPublicInfo *coin_info); /** * Check if we have the specified deposit already in the database. |