| /* |
| * compat_providers.c: wrapper providers backwards compatibility |
| * |
| * ==================================================================== |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * ==================================================================== |
| */ |
| |
| /* ==================================================================== */ |
| |
| |
| |
| /*** Includes. ***/ |
| |
| /* We define this here to remove any further warnings about the usage of |
| deprecated functions in this file. */ |
| #define SVN_DEPRECATED |
| |
| #include "svn_auth.h" |
| #include "svn_client.h" |
| |
| void |
| svn_client_get_simple_prompt_provider |
| (svn_auth_provider_object_t **provider, |
| svn_auth_simple_prompt_func_t prompt_func, |
| void *prompt_baton, |
| int retry_limit, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_simple_prompt_provider(provider, prompt_func, prompt_baton, |
| retry_limit, pool); |
| } |
| |
| void |
| svn_client_get_username_prompt_provider |
| (svn_auth_provider_object_t **provider, |
| svn_auth_username_prompt_func_t prompt_func, |
| void *prompt_baton, |
| int retry_limit, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_username_prompt_provider(provider, prompt_func, prompt_baton, |
| retry_limit, pool); |
| } |
| |
| |
| |
| void svn_client_get_simple_provider(svn_auth_provider_object_t **provider, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_simple_provider2(provider, NULL, NULL, pool); |
| } |
| |
| #if defined(WIN32) && !defined(__MINGW32__) |
| void |
| svn_client_get_windows_simple_provider(svn_auth_provider_object_t **provider, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_windows_simple_provider(provider, pool); |
| } |
| #endif /* WIN32 */ |
| |
| void svn_client_get_username_provider(svn_auth_provider_object_t **provider, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_username_provider(provider, pool); |
| } |
| |
| void |
| svn_client_get_ssl_server_trust_file_provider |
| (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_server_trust_file_provider(provider, pool); |
| } |
| |
| void |
| svn_client_get_ssl_client_cert_file_provider |
| (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_client_cert_file_provider(provider, pool); |
| } |
| |
| void |
| svn_client_get_ssl_client_cert_pw_file_provider |
| (svn_auth_provider_object_t **provider, apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_client_cert_pw_file_provider2(provider, NULL, NULL, pool); |
| } |
| |
| void |
| svn_client_get_ssl_server_trust_prompt_provider |
| (svn_auth_provider_object_t **provider, |
| svn_auth_ssl_server_trust_prompt_func_t prompt_func, |
| void *prompt_baton, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_server_trust_prompt_provider(provider, prompt_func, |
| prompt_baton, pool); |
| } |
| |
| void |
| svn_client_get_ssl_client_cert_prompt_provider |
| (svn_auth_provider_object_t **provider, |
| svn_auth_ssl_client_cert_prompt_func_t prompt_func, |
| void *prompt_baton, |
| int retry_limit, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_client_cert_prompt_provider(provider, prompt_func, |
| prompt_baton, retry_limit, |
| pool); |
| } |
| |
| void |
| svn_client_get_ssl_client_cert_pw_prompt_provider |
| (svn_auth_provider_object_t **provider, |
| svn_auth_ssl_client_cert_pw_prompt_func_t prompt_func, |
| void *prompt_baton, |
| int retry_limit, |
| apr_pool_t *pool) |
| { |
| svn_auth_get_ssl_client_cert_pw_prompt_provider(provider, prompt_func, |
| prompt_baton, retry_limit, |
| pool); |
| } |