00001 /** 00002 * @copyright 00003 * ==================================================================== 00004 * Copyright (c) 2008 CollabNet. All rights reserved. 00005 * 00006 * This software is licensed as described in the file COPYING, which 00007 * you should have received as part of this distribution. The terms 00008 * are also available at http://subversion.tigris.org/license-1.html. 00009 * If newer versions of this license are posted there, you may use a 00010 * newer version instead, at your option. 00011 * 00012 * This software consists of voluntary contributions made by many 00013 * individuals. For exact contribution history, see the revision 00014 * history and logs, available at http://subversion.tigris.org/. 00015 * ==================================================================== 00016 * @endcopyright 00017 * 00018 * @file svn_auth_dso.h 00019 * @brief Subversion's authentication system - Support for DSOs 00020 */ 00021 00022 #ifndef SVN_AUTH_DSO_H 00023 #define SVN_AUTH_DSO_H 00024 00025 #include <apr_pools.h> 00026 00027 #include "svn_auth.h" 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif /* __cplusplus */ 00032 00033 /** 00034 * Create and return @a *provider, an authentication provider of type @c 00035 * svn_auth_cred_simple_t that gets/sets information from the user's 00036 * ~/.subversion configuration directory. Allocate @a *provider in 00037 * @a pool. 00038 * 00039 * This is like svn_client_get_simple_provider(), except that the 00040 * password is stored in GNOME Keyring. 00041 * 00042 * @since New in 1.6 00043 * @note This function actually works only on systems with 00044 * libsvn_auth_gnome_keyring and GNOME Keyring installed. 00045 */ 00046 void 00047 svn_auth_get_gnome_keyring_simple_provider 00048 (svn_auth_provider_object_t **provider, 00049 apr_pool_t *pool); 00050 00051 00052 /** 00053 * Create and return @a *provider, an authentication provider of type @c 00054 * svn_auth_cred_ssl_client_cert_pw_t that gets/sets information from the 00055 * user's ~/.subversion configuration directory. Allocate @a *provider in 00056 * @a pool. 00057 * 00058 * This is like svn_client_get_ssl_client_cert_pw_file_provider(), except 00059 * that the password is stored in GNOME Keyring. 00060 * 00061 * @since New in 1.6 00062 * @note This function actually works only on systems with 00063 * libsvn_auth_gnome_keyring and GNOME Keyring installed. 00064 */ 00065 void 00066 svn_auth_get_gnome_keyring_ssl_client_cert_pw_provider 00067 (svn_auth_provider_object_t **provider, 00068 apr_pool_t *pool); 00069 00070 00071 /** 00072 * Create and return @a *provider, an authentication provider of type @c 00073 * svn_auth_cred_simple_t that gets/sets information from the user's 00074 * ~/.subversion configuration directory. Allocate @a *provider in 00075 * @a pool. 00076 * 00077 * This is like svn_client_get_simple_provider(), except that the 00078 * password is stored in KWallet. 00079 * 00080 * @since New in 1.6 00081 * @note This function actually works only on systems with libsvn_auth_kwallet 00082 * and KWallet installed. 00083 */ 00084 void 00085 svn_auth_get_kwallet_simple_provider(svn_auth_provider_object_t **provider, 00086 apr_pool_t *pool); 00087 00088 00089 /** 00090 * Create and return @a *provider, an authentication provider of type @c 00091 * svn_auth_cred_ssl_client_cert_pw_t that gets/sets information from the 00092 * user's ~/.subversion configuration directory. Allocate @a *provider in 00093 * @a pool. 00094 * 00095 * This is like svn_client_get_ssl_client_cert_pw_file_provider(), except 00096 * that the password is stored in KWallet. 00097 * 00098 * @since New in 1.6 00099 * @note This function actually works only on systems with libsvn_auth_kwallet 00100 * and KWallet installed. 00101 */ 00102 void 00103 svn_auth_get_kwallet_ssl_client_cert_pw_provider 00104 (svn_auth_provider_object_t **provider, 00105 apr_pool_t *pool); 00106 00107 #ifdef __cplusplus 00108 } 00109 #endif /* __cplusplus */ 00110 00111 #endif /* SVN_AUTH_DSO_H */
1.3.9.1