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

Re: svn commit: rev 3964 - in trunk: . subversion subversion/libsvn_ra subversion/include subversion/tests/clients/cmdline/getopt_tests_data subversion/libsvn_ra_svn subversion/svnserve

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-07 15:51:35 CET

ghudson@tigris.org writes:

> Added: trunk/subversion/include/svn_ra_svn.h
> ==============================================================================
> --- trunk/subversion/include/svn_ra_svn.h (original)
> +++ trunk/subversion/include/svn_ra_svn.h Mon Dec 2 21:55:41 2002
> @@ -0,0 +1,208 @@
> +/*
> + * svn_ra_svn.h : libsvn_ra_svn functions used by the server
> + *
> + * ====================================================================
> + * Copyright (c) 2002 CollabNet. All rights reserved.
> + *
> + * This software is licensed as described in the file COPYING, which
> + * you should have received as part of this distribution. The terms
> + * are also available at http://subversion.tigris.org/license-1.html.
> + * If newer versions of this license are posted there, you may use a
> + * newer version instead, at your option.
> + *
> + * This software consists of voluntary contributions made by many
> + * individuals. For exact contribution history, see the revision
> + * history and logs, available at http://subversion.tigris.org/.
> + * ====================================================================
> + */
> +
> +
> +
> +
> +#ifndef SVN_RA_SVN_H
> +#define SVN_RA_SVN_H
> +
> +#include <svn_delta.h>
> +
> +#ifdef __cplusplus
> +extern "C" {
> +#endif /* __cplusplus */
> +
> +/* The well-known svn port number. Right now this is just a random
> + * port in the private range; I am waiting for a real port
> + * assignment. -ghudson */
> +#define SVN_RA_SVN_PORT 51662
> +
> +/* A specialized form of SVN_ERR to deal with errors which occur in an
> + * svn_ra_svn_command_handler. An error returned with this macro will
> + * be passed back to the other side of the connection. Use this macro
> + * when performing the requested operation; use the regular SVN_ERR
> + * when performing I/O with the client. */
> +#define CMD_ERR(expr) \

While svn_ra_svn.h is unlikely to be included in an application, it is
a public header file, and it does get installed with the rest of
Subversion. As such it is probably a bad idea to have a macro with a
name that does not start SVN_.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 7 15:52:18 2002

This is an archived mail posted to the Subversion Dev mailing list.