![]() | ![]() |
Home |
|
|
Open Client Client-Library/C Reference Manual |
|
| Chapter 2 Topics |
Chapter 2
This chapter contains information about:
Client-Library programming topics, such as asynchronous programming, browse mode, and text and image support
How to use routines to accomplish specific programming tasks, such as declaring and opening a cursor
Client-Library properties, datatypes, options, parameter conventions, and structures
| List of topics |
|
| Asynchronous programming |
| Asynchronous applications |
| Asynchronous routines |
| The CS_BUSY return code |
|
| Completions |
| Client-Library's interrupt-level memory requirements |
|
| Layered applications |
|
| Browse mode |
| Using Browse mode |
| The Browse mode where clause |
| Browse mode conditions |
|
| Callbacks |
| Callback types |
| Callbacks are not always supported |
| Installing a callback routine |
| When a callback event occurs |
| Retrieving and replacing callback routines |
| Restrictions on Client-Library calls in callbacks |
| Declare callbacks with CS_PUBLIC |
|
| Client message callbacks |
|
| Completion callbacks |
|
| Directory callbacks |
|
| Encryption callbacks |
|
| Negotiation callbacks |
|
| Notification callbacks |
|
| Security session callbacks |
|
| Server message callbacks |
|
| Signal callbacks |
|
| Capabilities |
|
| Wide tables and larger page size |
|
| unichar datatype |
| Capabilities and the connection's TDS level |
|
| Setting and retrieving capabilities |
|
| Client-Library and SQL Structures |
|
| Exposed and hidden structures |
| CS_BROWSEDESC structure |
|
| CS_CLIENTMSG structure |
| CS_DATAFMT structure |
| CS_IODESC structure |
|
| CS_OID structure |
| CS_SERVERMSG structure |
| SQLCA structure |
|
| SQLCODE structure |
| SQLSTATE structure |
|
| Commands |
|
| Sending commands |
| Deciding which type of command to use |
|
| Directory services |
|
| Directory service providers and drivers |
| LDAP |
| Use of the directory by applications |
|
| Directory organization |
|
| Error handling |
|
| Error reporting during initialization |
|
| Error and message handling |
| The CS_EXTRA_INF property |
|
| Sequencing long messages |
|
| Extended error data |
|
| Server transaction states |
|
| Example programs |
| Client-Library routines in example programs |
| Header files |
|
| High-availability failover |
| Add hafailover line to interfaces_file_name file |
| Client-Library application changes |
| Using isql with Sybase Failover |
|
| Interfaces file |
| Overview of Interfaces file entries |
| Server objects from the Interfaces file |
|
| International Support |
| When an application needs to use a CS_LOCALE structure |
|
| Using a CS_LOCALE structure |
| Locating localization information |
|
| The locales file |
|
| Macros |
| Decoding a message number |
| Manipulating bits in a CS_CAP_TYPE structure |
| Using the sizeof operator |
| Prototyping functions |
| Multithreaded programming |
|
| Options |
| Setting options externally |
|
| Properties |
| Comparing properties, options, and capabilities |
| Login properties |
| Setting and retrieving properties |
| Three kinds of context properties |
| Checking whether a property is supported |
| Copying login properties |
| Setting properties externally |
| Properties quick reference table |
|
| About the properties |
|
| Registered procedures |
| When Client-Library receives a notification |
|
| Receiving notifications asynchronously |
|
| Results |
| Regular row results |
| Cursor row results |
| Parameter results |
| Stored procedure return status results |
| Compute row results |
| Message results |
| Describe results |
| Format results |
| Program structure for processing results |
| Retrieving an item's value |
| Keeping result bindings for batch processing |
| Selecting multiple rows of variable length data into an array |
|
| Security features |
|
| Network-based security |
| Secure Sockets Layer in Open Client/Open Server |
|
| Internet communications overview |
|
| SSL overview |
|
| Adaptive Server security features |
|
| Server directory object |
| Use of the server directory object |
|
| Contents of the server directory object |
| Server objects from the interfaces file |
|
| Server restrictions |
| Open Server restrictions |
| Adaptive Server restrictions |
| Supported Client/Server features |
|
| text and image data handling |
|
| Retrieving a text or image column |
|
| Updating a text or image column |
|
| Populating a table containing text or image columns |
|
| Server global variables for text and image updates |
|
| Types |
| Datatype summary |
| Routines that manipulate datatypes |
|
| Open Client datatypes |
| Open Client user-defined datatypes |
|
| Using the runtime configuration file |
| Enabling debugging |
| Enabling external configuration |
| Open Client/Server runtime configuration file syntax |
|
| Runtime configuration file keywords |
|
|