Setting up the Client-Library programming environment

cs_ctx_alloc allocates a context structure. A context structure is used to store configuration parameters that describe a particular “context,” or operating environment, for a set of connections.

Application properties that can be defined at the context level include the version of Client-Library being used, the login time-out value, and the maximum number of connections allowed within the context.

ct_init initializes your environment. It must be the first call in an application after cs_ctx_alloc.