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

Syntax [Table of Contents] Return values

Open Client Client-Library/C Reference Manual

[-] Chapter 3 Routines
[-] ct_init
[-] Parameters

Parameters

context

A pointer to a CS_CONTEXT structure. An application must have previously allocated this context structure by calling the CS-Library routine cs_ctx_alloc.

context identifies the Client-Library context being initialized.

version

The version of Client-Library behavior that the application expects. Table 3-44 lists the symbolic values for version:

Values for ct_init version parameter

Value of version

Meaning

Features supported

CS_VERSION_100

10.0 behavior.

Cursors, registered procedures, remote procedure calls.

This is the initial version of Client-Library.

CS_VERSION_110

11.0 behavior.

All 10.0 features plus these new version 11.1 features:

  • Network-based directory and security services.

  • External configuration of properties, options, and capabilities.

CS_VERSION_120

12.0 behavior

All previous features plus:

  • High-availability failover

  • Native thread support for Digital UNIX platforms

  • Bulk-row inserts

  • A new property for enabling/disabling sort-merge joins

CS_VERSION_125

12.5 behavior

Added features for version 12.5 include:

  • LDAP security features

  • SSL security features

  • Unichar-16 for 2-byte character support

  • support for wide columns and wide tables.


Syntax [Table of Contents] Return values