Setting and retrieving multiple capabilities

Gateway applications often need to set or retrieve all capabilities of a type category with a single call to ct_capability. To do this, an application calls ct_capability with:

Client-Library provides the following macros to enable an application to set, clear, and test bits in a CS_CAP_TYPE structure: