CS_CONTEXT structure

CS-Library defines a single control structure, CS_CONTEXT.

A CS_CONTEXT structure stores configuration information that describes a particular programming context. An application must allocate a CS_CONTEXT structure before calling any other Client-Library, Server-Library, or CS-Library routine.

An application allocates a CS_CONTEXT structure by calling cs_ctx_alloc or cs_ctx_global.

An application can customize a CS_CONTEXT by changing the values of context properties. The following routines change the values of context properties:

An application should deallocate all existing context structures before exiting. An application deallocates a CS_CONTEXT structure by calling cs_ctx_drop.