Skip some mergeinfo-related tests in merge_authz, switch, and update
[svn.git] / subversion / include / svn_user.h
blobfe328d96e3bc7726c44d34623d7905cc28ee620f
1 /**
2 * @copyright
3 * ====================================================================
4 * Copyright (c) 2000-2004 CollabNet. All rights reserved.
6 * This software is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at http://subversion.tigris.org/license-1.html.
9 * If newer versions of this license are posted there, you may use a
10 * newer version instead, at your option.
12 * This software consists of voluntary contributions made by many
13 * individuals. For exact contribution history, see the revision
14 * history and logs, available at http://subversion.tigris.org/.
15 * ====================================================================
16 * @endcopyright
18 * @file svn_user.h
19 * @brief Subversion's wrapper around APR's user information interface.
22 #ifndef SVN_USER_H
23 #define SVN_USER_H
25 #include <apr_pools.h>
27 #include "svn_types.h"
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
33 /** Get the name of the current user, using @a pool for any necessary
34 * allocation, returning NULL on error.
36 * @since New in 1.4.
38 const char *
39 svn_user_get_name(apr_pool_t *pool);
41 /** Get the path of the current user's home directory, using @a pool for
42 * any necessary allocation, returning NULL on error.
44 * @since New in 1.4.
46 const char *
47 svn_user_get_homedir(apr_pool_t *pool);
49 #ifdef __cplusplus
51 #endif /* __cplusplus */
53 #endif /* SVN_USER_H */