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

Re: Development Documentation

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-22 16:09:49 CET

On Feb 22, 2005, at 8:58 AM, Benjamin Bazso wrote:

> If possible, could someone point me to a decent explanation of the
> context
> including the baton stuff. How and why it is used?

What most projects call "void *context", we call "void *baton". It's
like a "this" pointer in C++. C has no OO syntax, so this is the
equivalent. You'll see function/baton pairs being passed around all
over the place.

If you're specifically asking about client_context_baton_t, it should
be documented in the public headers.

> In addition, I would like to have some additional info about the
> provider.
> When do you need it and why?

Read svn_auth.h. And look at minimal_client.c.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 22 16:11:16 2005

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.