/[Apache-SVN]
ViewVC logotype

Revision 1656488


Jump to revision: Previous Next
Author: brane
Date: Mon Feb 2 15:24:16 2015 UTC (9 years, 2 months ago)
Changed paths: 4
Log Message:
Introduce a private libsvn_client context structure that stores
context information that should not be part of the public API.

* subversion/include/svn_client.h
  (svn_client_ctx_t): Remove the 'progress' field, which should be private.

* subversion/libsvn_client/client.h
  (client_ctx_t): New; the private context struct.
   Contains the equivalent of the 'progress' field.
  (svn_client__get_private_ctx): New prototype.
* subversion/libsvn_client/ctx.c: Include stddef.h and client.h.
  (CLIENT_CTX_MAGIC): New; magic number for the private context.
  (svn_client__get_private_ctx): Implement.
  (svn_client_create_context2): Allocate and initialize the private
   context structure, with the public context embedded within it.
* subversion/libsvn_client/ra.c
  (progress_func): Use the total progress counter from the private context.


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_client.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/client.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/ctx.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/ra.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26