diff options
Diffstat (limited to 'src/bank-lib/bank_api_common.c')
-rw-r--r-- | src/bank-lib/bank_api_common.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/bank-lib/bank_api_common.c b/src/bank-lib/bank_api_common.c index abdeee31a..2c47429ad 100644 --- a/src/bank-lib/bank_api_common.c +++ b/src/bank-lib/bank_api_common.c @@ -23,20 +23,11 @@ #include "bank_api_common.h" -/** - * Set authentication data in @a easy from @a auth. - * The API currently specifies the use of HTTP basic - * authentication. - * - * @param easy curl handle to setup for authentication - * @param auth authentication data to use - * @return #GNUNET_OK in success - */ -int +enum GNUNET_GenericReturnValue TALER_BANK_setup_auth_ (CURL *easy, const struct TALER_BANK_AuthenticationData *auth) { - int ret; + enum GNUNET_GenericReturnValue ret; ret = GNUNET_OK; switch (auth->method) |