Subversion 1.6.16
|
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_t * | svn_client_create_context (svn_client_ctx_t **ctx, apr_pool_t *pool) |
Initialize a client context. |
Client context.
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.
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.
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.