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

Re: make svn_client__open_ra_session() public (or: how to easily get a session)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-01 19:39:18 CEST

On May 1, 2005, at 12:02 PM, SteveKing wrote:

> Ben Collins-Sussman wrote:
>> On May 1, 2005, at 11:46 AM, SteveKing wrote:
>>> Hi,
>>>
>>> For functions like svn_ra_get_locks() or svn_ra_get_repos_root() an
>>> svn_ra_session_t object is needed. Currently, I'm using
>>> svn_client__open_ra_session() to get such a session object. I know
>>> that this function isn't public and shouldn't be used directly by
>>> clients, but I haven't found an easier way.
>>> So my request: could you make svn_client__open_ra_session a public
>>> function or tell me how to create a session object with a public
>>> API?
>>>
>> Um, it's the very first public function in svn_ra.h: svn_ra_open().
>> :-)
>> Have you never used svn_ra.h before? I don't understand.
>> svn_ra_open() has always been the foundation, the first thing you
>> need to call before any other RA function...?
>
> Well, yes I've seen that one. But: svn_client__open_ra_session() is
> _much_ easier to use because it takes an svn_client_ctx_t structure
> instead of an svn_ra_callbacks_t structure.

True. Perhaps we should make that function public after all, it sounds
like it would be more convenient.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 1 19:42:01 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.