diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-31 20:53:19 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-31 20:53:19 +0100 |
commit | 20c05dd5e3f0233cdf7291a05ec0348934dee652 (patch) | |
tree | 3a843bd6db0db99228d97f609b14c4dad34faed4 /src/mint/taler-mint-httpd_responses.h | |
parent | 2bb962c9bef4f5c594684c1f1965c697e5bcd0a5 (diff) |
cleaning up /refresh/link logic, in particular separting out response generation logic
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index c6f31f1dc..24fb2ef8a 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -292,5 +292,20 @@ TALER_MINT_reply_refresh_reveal_success (struct MHD_Connection *connection, struct GNUNET_CRYPTO_rsa_Signature **sigs); +/** + * Send a response for "/refresh/link". + * + * @param connection the connection to send the response to + * @param transfer_pub transfer public key + * @param shared_secret_enc encrypted shared secret + * @param ldl linked list with link data + * @return a MHD result code + */ +int +TALER_MINT_reply_refresh_link_success (struct MHD_Connection *connection, + const struct GNUNET_CRYPTO_EcdsaPublicKey *transfer_pub, + const struct TALER_EncryptedLinkSecret *shared_secret_enc, + const struct LinkDataList *ldl); + #endif |