Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Capabilities and the connection's TDS level [Table of Contents] Client-Library and SQL Structures

Open Client Client-Library/C Reference Manual

[-] Chapter 2 Topics
[-] Capabilities
[-] Setting and retrieving capabilities

Setting and retrieving capabilities

Before calling ct_connect, an application:

After a connection is open, an application:

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:


Capabilities and the connection's TDS level [Table of Contents] Client-Library and SQL Structures