GME  13
Classes | Typedefs | Functions
Client context management
Client supporting subsystem
Collaboration diagram for Client context management:

Classes

struct  svn_client_ctx_t

Typedefs

typedef struct svn_client_ctx_t svn_client_ctx_t

Functions

svn_error_tsvn_client_create_context2 (svn_client_ctx_t **ctx, apr_hash_t *cfg_hash, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_client_create_context (svn_client_ctx_t **ctx, apr_pool_t *pool)

Detailed Description

Client context


Typedef Documentation

A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things. In order to avoid backwards compatibility problems clients should use svn_client_create_context() to allocate and initialize this structure instead of doing so themselves.


Function Documentation

Similar to svn_client_create_context2 but passes a NULL cfg_hash.

Deprecated:
Provided for backward compatibility with the 1.7 API.

Initialize a client context. Set *ctx to a client context object, allocated in pool, that represents a particular instance of an svn client. cfg_hash is used to initialise the config member of the returned context object and should remain valid for the lifetime of the object. cfg_hash may be NULL, in which case it is ignored.

In order to avoid backwards compatibility problems, clients must use this function to initialize and allocate the svn_client_ctx_t structure rather than doing so themselves, as the size of this structure may change in the future.

The current implementation never returns error, but callers should still check for error, for compatibility with future versions.

Since:
New in 1.8.