blk_srvinit

Description

A server-side routine, copies descriptions of server table columns to the client, if required.

Syntax

CS_RETCODE blk_srvinit(srvproc, blkdescp)
 
 SRV_PROC        *srvproc;
 CS_BLKDESC    *blkdescp;

Parameters

srvproc

A pointer to the SRV_PROC structure associated with the client receiving column descriptions. It contains all the information that Server-Library uses to manage communications and data between the Open Server application and the client.

blkdescp

A pointer to a structure containing information about bulk-copy data. This structure must have been previously allocated with a call to blk_alloc and initialized through a call to blk_init. This structure is used to correctly interpret incoming formatted bulk-copy rows.

Returns

blk_srvinit returns:

Returns

Indicates

CS_SUCCEED

The routine completed successfully.

CS_FAIL

The routine failed; no action was taken.

Usage

See also

blk_init, blk_getrow, blk_rowalloc, blk_sendrow