diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-19 21:53:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-19 21:53:23 +0100 |
commit | ed51946442e5e22a7dea68f14ff2bf563503c755 (patch) | |
tree | bcdca621df102a52337ff7348dc262be43a48514 /src/mint/taler-mint-httpd_responses.h | |
parent | f9347d23953f771689d339b544370d3f9fdd97ba (diff) |
more code refactoring to separate parsing, db and response generation nicely
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index 6dd8cda90..ce7557e1d 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -31,8 +31,8 @@ #include <libpq-fe.h> #include <pthread.h> #include "taler-mint-httpd.h" +#include "taler-mint-httpd_db.h" #include "taler-mint-httpd_mhd.h" -#include "mint_db.h" /** @@ -135,5 +135,28 @@ TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, const struct Deposit *deposit); +/** + * Send reserve status information to client. + * + * @param connection connection to the client + * @param reserve reserve status information to return + * @return MHD result code + */ +int +TALER_MINT_reply_withdraw_status_success (struct MHD_Connection *connection, + const struct Reserve *reserve); + + +/** + * Send blinded coin information to client. + * + * @param connection connection to the client + * @param collectable blinded coin to return + * @return MHD result code + */ +int +TALER_MINT_reply_withdraw_sign_success (struct MHD_Connection *connection, + const struct CollectableBlindcoin *collectable); + #endif |