Handles

Client-Library uses handles at three levels. Each handle defines and manages a particular environment. Each type of handle can have certain properties, listed below.

NoteMost Client-Library functions include a handle argument. An application must allocate these handles before using them as arguments.

Types of handles

The following handles are used with Client-Library:

Routines that affect handles

Table 2-13 lists the routines that allocate, use, and deallocate handles.

Table 2-13: Routines that manipulate hidden structures

Structure

Allocated and used by

CONTEXT

cs_ctx_alloc, ct_config, cs_config, cs_ctx_drop

CONNECTION

ct_con_alloc, ct_con_props, ct_con_drop

COMMAND

ct_cmd_alloc, ct_cmd_props, ct_cmd_drop