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

Why svn_repos_create(...char *unused_1...) ?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-09-22 14:23:08 CEST

This API function has two unused parameters, and the doc string doesn't explain
why, which is bad. Can anyone shed some light on this?

- Julian

/** Create a new Subversion repository at @a path, building the necessary
  * directory structure, creating the Berkeley DB filesystem environment,
  * and so on. Return the (open) repository object in @a *repos_p,
  * allocated in @a pool.
  *
  * @a config is a client configuration hash of @c svn_config_t * items
  * keyed on config category names, and may be NULL.
  *
  * @a fs_config is passed to the filesystem, and may be NULL.
  *
  * @a unused_1 and @a unused_2 are not used and should be NULL.
  */
svn_error_t *svn_repos_create (svn_repos_t **repos_p,
                                const char *path,
                                const char *unused_1,
                                const char *unused_2,
                                apr_hash_t *config,
                                apr_hash_t *fs_config,
                                apr_pool_t *pool);

-- 
http://www.foad.me.uk/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 22 14:23:57 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.