diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_db.h')
-rw-r--r-- | src/mint/taler-mint-httpd_db.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_db.h b/src/mint/taler-mint-httpd_db.h index 2a03812aa..dd82cbcb1 100644 --- a/src/mint/taler-mint-httpd_db.h +++ b/src/mint/taler-mint-httpd_db.h | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <microhttpd.h> | 25 | #include <microhttpd.h> |
26 | #include <gnunet/gnunet_util_lib.h> | 26 | #include <gnunet/gnunet_util_lib.h> |
27 | #include "taler_util.h" | 27 | #include "taler_util.h" |
28 | #include "taler_rsa.h" | ||
29 | #include "taler-mint-httpd_keys.h" | 28 | #include "taler-mint-httpd_keys.h" |
30 | #include "mint.h" | 29 | #include "mint.h" |
31 | 30 | ||
@@ -62,12 +61,20 @@ TALER_MINT_db_execute_withdraw_status (struct MHD_Connection *connection, | |||
62 | * Execute a /withdraw/sign. | 61 | * Execute a /withdraw/sign. |
63 | * | 62 | * |
64 | * @param connection the MHD connection to handle | 63 | * @param connection the MHD connection to handle |
65 | * @param wsrd details about the withdraw request | 64 | * @param reserve public key of the reserve |
65 | * @param denomination_pub public key of the denomination requested | ||
66 | * @param blinded_msg blinded message to be signed | ||
67 | * @param blinded_msg_len number of bytes in @a blinded_msg | ||
68 | * @param signature signature over the withdraw request, to be stored in DB | ||
66 | * @return MHD result code | 69 | * @return MHD result code |
67 | */ | 70 | */ |
68 | int | 71 | int |
69 | TALER_MINT_db_execute_withdraw_sign (struct MHD_Connection *connection, | 72 | TALER_MINT_db_execute_withdraw_sign (struct MHD_Connection *connection, |
70 | const struct TALER_WithdrawRequest *wsrd); | 73 | const struct GNUNET_CRYPTO_EddsaPublicKey *reserve, |
74 | const struct GNUNET_CRYPTO_rsa_PublicKey *denomination_pub, | ||
75 | const char *blinded_msg, | ||
76 | size_t blinded_msg_len, | ||
77 | const struct GNUNET_CRYPTO_EddsaSignature *signature); | ||
71 | 78 | ||
72 | 79 | ||
73 | 80 | ||
@@ -86,7 +93,7 @@ int | |||
86 | TALER_MINT_db_execute_refresh_melt (struct MHD_Connection *connection, | 93 | TALER_MINT_db_execute_refresh_melt (struct MHD_Connection *connection, |
87 | const struct GNUNET_CRYPTO_EddsaPublicKey *refresh_session_pub, | 94 | const struct GNUNET_CRYPTO_EddsaPublicKey *refresh_session_pub, |
88 | unsigned int num_new_denoms, | 95 | unsigned int num_new_denoms, |
89 | const struct TALER_RSA_PublicKeyBinaryEncoded *denom_pubs, | 96 | const struct GNUNET_CRYPTO_rsa_PublicKey *denom_pubs, |
90 | unsigned int coin_count, | 97 | unsigned int coin_count, |
91 | const struct TALER_CoinPublicInfo *coin_public_infos); | 98 | const struct TALER_CoinPublicInfo *coin_public_infos); |
92 | 99 | ||