To initialize Client-Library, an application calls ct_init, which sets up internal control structures and defines the version of Client-Library behavior that the application requires. ct_init must be the first Client-Library call in an application.
Most applications call ct_init only once; however, it is not an error for an application to call ct_init multiple times. Client-Library permits multiple ct_init calls because some applications cannot guarantee which of several modules will execute first. These types of applications need to call ct_init in each module.
ct_init takes as its parameter a symbol describing the version of Client-Library behavior that the application expects.
If Client-Library cannot provide this behavior, ct_init returns CS_FAIL.