A Client-Library application calls the CS-Library routine cs_ctx_alloc to allocate a context structure. A Client-Library application must allocate a context structure before initializing Client-Library.
CS-Library routines start with the prefix “cs.” Client-Library routines start with the prefix “ct”. All Client-Library programs include at least two calls to CS-Library, because they must allocate and drop a context structure.