]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/subversion/subversion/libsvn_subr/auth.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / subversion / subversion / libsvn_subr / auth.h
1 /*
2  * auth.h :  shared stuff internal to the subr library.
3  *
4  * ====================================================================
5  *    Licensed to the Apache Software Foundation (ASF) under one
6  *    or more contributor license agreements.  See the NOTICE file
7  *    distributed with this work for additional information
8  *    regarding copyright ownership.  The ASF licenses this file
9  *    to you under the Apache License, Version 2.0 (the
10  *    "License"); you may not use this file except in compliance
11  *    with the License.  You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  *    Unless required by applicable law or agreed to in writing,
16  *    software distributed under the License is distributed on an
17  *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18  *    KIND, either express or implied.  See the License for the
19  *    specific language governing permissions and limitations
20  *    under the License.
21  * ====================================================================
22  */
23
24 #ifndef SVN_LIBSVN_SUBR_AUTH_H
25 #define SVN_LIBSVN_SUBR_AUTH_H
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30
31 #include "svn_auth.h"
32
33 /* Helper for svn_config_{read|write}_auth_data.  Return a path to a
34    file within ~/.subversion/auth/ that holds CRED_KIND credentials
35    within REALMSTRING.  If no path is available *PATH will be set to
36    NULL. */
37 svn_error_t *
38 svn_auth__file_path(const char **path,
39                     const char *cred_kind,
40                     const char *realmstring,
41                     const char *config_dir,
42                     apr_pool_t *pool);
43
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48
49 #endif /* SVN_LIBSVN_SUBR_AUTH_H */