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

libraries

From: Ich Selbst <ichselbst_at_gmx.ch>
Date: 2002-11-11 20:22:34 CET

Hi,

After having several problems which could be solved
with the kind help of some nice people on this list
I want to make a suggestion to avoid such problems
in the future. I don't think I'm the only one here working
on a client and more and more will start with clients
while subversion approaches the 1.0 release.

Subversion depends on apr. But it is nowhere documented
that a client has to initialize apr itself (apr_initialize()).
Or at least I haven't found it :)
So: shouldn't that be noted in the HACKING file?

Or what I'd like better:
Since subversion provides an own API for clients it
should wrap such initializations (and all other calls
which a client must make to underlying libraries)
into own function calls. So apr_initialize() would
become svn_initialize() and so documented in
the subversion API headers.

That way the programmer of a client doesn't have
to dig into sourcecode just to find out which libraries
are needed and which of them need initialization or
other tweaking just to use subversion. And the client
programmer can be sure that (s)he hasn't missed
something.

kind regards,
Steve
Received on Mon Nov 11 20:24:10 2002

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.