A server-side routine, allocates space for a formatted bulk-copy row.
CS_RETCODE blk_rowalloc(srvproc, row) SRV_PROC *srvproc; CS_BLK_ROW **row;
A pointer to the SRV_PROC structure associated with the client sending formatted bulk-copy rows. It contains all the information that Server-Library uses to manage communications and data between the Open Server and the client.
A pointer to a pointer to a CS_BLK_ROW structure.
The CS_BLK_ROW structure is a hidden structure that holds formatted bulk-copy rows sent from the client.
blk_rowalloc returns:
Returns |
Indicates |
---|---|
CS_SUCCEED |
The routine completed successfully. |
CS_FAIL |
The routine failed. |
blk_rowalloc is a server-side routine that is useful in gateway applications.
This routine allocates space in which blk_getrow will place the formatted bulk-copy row.
The row space is used by all calls to blk_getrow.
When all rows have been retrieved and sent to the remote server, call blk_rowdrop to drop the space allocated for the row.