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

Re: svn commit: rev 4685 - in trunk/subversion: include libsvn_wc libsvn_client libsvn_auth

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-01 04:25:54 CET

Ben Collins-Sussman wrote:

> * Proposed solution: place a hashtable within the auth_baton which
> holds "runtime parameters".
> * create public functions to get/set "runtime parameter" values,
> callable any time, by anyone.
> * provider implementations will look for specific runtime params
> in the hash that they need; if not present, they simply
> fail to return credentials (return NULL). (and obviously,
> each provider will document what runtime params it needs.)

Don't go inventing yet another hash table for that, you can use an
svn_config_t. Sure, you won't read it from a file, but it gives you all
the interfaces you need, including a separate namespace for each
provider's options.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 1 04:26:38 2003

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