diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index f8a671e18..5e2f98638 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h | |||
@@ -182,17 +182,30 @@ TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, | |||
182 | 182 | ||
183 | 183 | ||
184 | /** | 184 | /** |
185 | * Send proof that a /deposit, /refresh/melt or /lock request is | ||
186 | * invalid to client. This function will create a message with all of | ||
187 | * the operations affecting the coin that demonstrate that the coin | ||
188 | * has insufficient value. | ||
189 | * | ||
190 | * @param connection connection to the client | ||
191 | * @param tl transaction list to use to build reply | ||
192 | * @return MHD result code | ||
193 | */ | ||
194 | int | ||
195 | TALER_MINT_reply_insufficient_funds (struct MHD_Connection *connection, | ||
196 | const struct TALER_MINT_DB_TransactionList *tl); | ||
197 | |||
198 | |||
199 | /** | ||
185 | * Send reserve status information to client. | 200 | * Send reserve status information to client. |
186 | * | 201 | * |
187 | * @param connection connection to the client | 202 | * @param connection connection to the client |
188 | * @param balance current reserve balance | 203 | * @param rh reserve history to return |
189 | * @param expiration when will the reserve expire | ||
190 | * @return MHD result code | 204 | * @return MHD result code |
191 | */ | 205 | */ |
192 | int | 206 | int |
193 | TALER_MINT_reply_withdraw_status_success (struct MHD_Connection *connection, | 207 | TALER_MINT_reply_withdraw_status_success (struct MHD_Connection *connection, |
194 | struct TALER_Amount balance, | 208 | const struct ReserveHistory *rh); |
195 | struct GNUNET_TIME_Absolute expiration); | ||
196 | 209 | ||
197 | 210 | ||
198 | /** | 211 | /** |