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

Re: minor corrections

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-01-15 17:08:26 CET

Kevin Williams wrote:
> I don't like being the correction police, but I hope these notes might
> help everyone.
> The 'svn_cl__check_cancel' function in the command line code 'main.c'
> file takes an argument that isn't used.

That is by design.

The cancelation function takes a pointer to data that the application
passes in, it just happens that the command line client doesn't use it.

The idea is that if your cancellation callback requires access to some
sort of data to determine if it should cancel out of whatever is going
on you would set the cancel_baton member of you svn_client_ctx_t to that
data, and it will be passed in to the cancellation function when it's


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 15 17:09:12 2004

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.