diff options
Diffstat (limited to 'src/bank-lib/bank_api_common.h')
-rw-r--r-- | src/bank-lib/bank_api_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_common.h b/src/bank-lib/bank_api_common.h index fcf2029d4..1120ed94e 100644 --- a/src/bank-lib/bank_api_common.h +++ b/src/bank-lib/bank_api_common.h @@ -40,6 +40,18 @@ TALER_BANK_make_auth_header_ (const struct TALER_BANK_AuthenticationData *auth); /** + * Set authentication data in @a easy from @a auth. + * + * @param easy curl handle to setup for authentication + * @param auth authentication data to use + * @return #GNUNET_OK in success + */ +int +TALER_BANK_setup_auth_ (CURL *easy, + const struct TALER_BANK_AuthenticationData *auth); + + +/** * Obtain the URL to use for an API request. * * @param u base URL of the bank |