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

Re: svn_client_get_ssl_client_prompt_provider

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-03-25 20:16:25 CET

"SteveKing" <steveking@gmx.ch> writes:

> a small question (and request):
> why do the functions
>
> svn_client_get_ssl_client_prompt_provider
> svn_client_get_ssl_server_prompt_provider
> svn_client_get_ssl_pw_prompt_provider
>
> take a void** as the fourth parameter
> while the functions
>
> svn_client_get_simple_prompt_provider and
> svn_client_get_username_prompt_provider
>
> take a simple void* ?

Um, because I think that's an API mistake. :-)

David Waite, any reason not to fix this? Your ssl prompt providers
should take {svn_client_prompt_t prompt_func, void *prompt_baton} as
input, not a void **prompt_baton. It's not -returning- the baton!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 25 20:17:14 2003

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.