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

Re: API/Interface design questions

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-11 19:50:34 CET

Ben Reser wrote:
> Pardon my ignorance, but what exactly is the "use chain" of these
> functions? I've thought about making an option for mod_dav_svn to
> replace keywords for non subversion clients (e.g. browsers doing a GET).
> I'd need a way to do the translation. So if making these private would
> remove the library call to do that, I'm not in favor of that. If it
> just forces me to use a higher level function, I'd be okay with that.
>

The two that I am thinking that should go semi-public are very low level
routines. In order to use them in external code, you'd have to duplicate lots
of the code in the existing library just to set up the call. There are existing
higher level functions which should do what you need better. Besides, if you
are extending mod_dav_svn, you are "family" and hence you can still use the
semi-public functions if you need them.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 11 19:50:29 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.