Re: about context parameter
From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-25 01:13:51 CET
[I've been meaning to respond to this for some time...]
Greg Stein <gstein@lyra.org> writes:
> I believe we should have something like svn_client_t. That object would be
I'm not sure svn_client_t is a good name, I don't think this is part
How exactly do you see this working? I assume the svn_client_t object
svn_error_t *ra_dav_foo (svn_client_t *context)
If so, then how will an application be able to provide it's own
svn_error_t *
which stores fn/fn_baton in the context object, so that a later call
It may be simpler to have a non-opaque object, a vtable/baton
typedef struct svn_client_t {
and have the ra_dav code look like
svn_error_t *ra_dav_foo (svn_client_t *context)
Subversion would provide a generic
svn_client_t *svn_context_create();
and the application is free to substitute any of the vtable functions.
The svn_client_t could also contain cancellation information, this
-- Philip Martin --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Nov 25 01:14:34 2002 |
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.