[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r15242 - in trunk: subversion/include subversion/libsvn_repos subversion/mod_authz_svn subversion/tests/libsvn_repos

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-07-03 23:34:51 CEST

ghudson@tigris.org wrote:

> Modified: trunk/subversion/include/svn_repos.h
> Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/include/svn_repos.h?rev=15242&p1=trunk/subversion/include/svn_repos.h&p2=trunk/subversion/include/svn_repos.h&r1=15241&r2=15242
> ==============================================================================
> --- trunk/subversion/include/svn_repos.h (original)
> +++ trunk/subversion/include/svn_repos.h Sun Jul 3 16:05:18 2005
> @@ -30,6 +30,7 @@
> #include "svn_types.h"
> #include "svn_error.h"
> #include "svn_version.h"
> +#include "svn_config.h"
>
>
> #ifdef __cplusplus
> @@ -1671,6 +1672,35 @@
>
>
> /** @} */
> +
> +/** An enum defining the kinds of access authz looks up. */
> +typedef enum
> +{
> + /** No access. */
> + svn_authz_none = 0,
> +
> + /** Path can be read. */
> + svn_authz_read = 1,
> +
> + /** Path can be altered. */
> + svn_authz_write = 2,
> +
> + /** The other access credentials are recursive. */
> + svn_authz_recursive = 4
> +} svn_repos_authz_access_t;
> +
> +/**
> + * Check wether @a user can access @a path in the repository @a
> + * repos_name with the @a required_access. @a cfg lists the ACLs to
> + * check against. Set @a *access_granted to indicate if the requested
> + * access is granted.
> + */
> +svn_error_t *
> +svn_repos_authz_check_access (svn_config_t *cfg, const char *repos_name,
> + const char *path, const char *user,
> + svn_repos_authz_access_t required_access,
> + svn_boolean_t *granted_access,
> + apr_pool_t *pool);
>
> #ifdef __cplusplus
> }

You missed some tabs here.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 3 23:36:44 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.