Subversion 1.6.16
Data Structures | Typedefs | Functions

Client context management

Client supporting subsystem

Client context. More...

Data Structures

struct  svn_client_ctx_t
 A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things. More...

Typedefs

typedef struct svn_client_ctx_t svn_client_ctx_t
 A client context structure, which holds client specific callbacks, batons, serves as a cache for configuration options, and other various and sundry things.

Functions

svn_error_tsvn_client_create_context (svn_client_ctx_t **ctx, apr_pool_t *pool)
 Initialize a client context.

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

svn_error_t* svn_client_create_context ( svn_client_ctx_t **  ctx,
apr_pool_t *  pool 
)

Initialize a client context.

Set *ctx to a client context object, allocated in pool, that represents a particular instance of an svn client.

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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines