Re: Context parameter in public API
From: mark benedetto king <bking_at_inquira.com>
Date: 2002-10-12 19:02:57 CEST
On Fri, Oct 11, 2002 at 11:32:18PM -0500, Karl Fogel wrote:
My feeling is that the config reading is not done at the right level
Something like, for example:
svn_client_t *client;
SVN_ERR(svn_config_read_config(&config, pool));
It would be Nice(TM) if the relationship between
SVN_ERR(svn_config_read_config(&config, pool));
SVN_ERR(svn_cl__apply_options(&config,
SVN_ERR(svn_client_create(&client, config, pool));
Obviously, that would be UI-specific.
Why does config need to be pulled out of the internals and
1.) Different clients might be configured differently.
In the near future I suspect we'll see lots of different
2.) Some applications may need to support multiple concurrent
IHNJ, IJLS "wiki".
wiki. wiki. wiki.
3.) A client context that contains the configuration "feature-proofs"
--ben
---------------------------------------------------------------------
|
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.