ODBC Server Reference Manual

Stored Procedures
HP NonStop ODBC Server Reference Manual429151-002
5-50
Shell Routines Interface
, short int *reply_err
);
encode_row_data
extern
/*_____________________________________________________________________
This function encodes a row of data into the output buffer. If it
detects an SPELIB_BUFFER_OVERFLOW condition, it will invoke the
CALL-BACK facility.
env: IN: pointer to SPELIB environment object
max_len: IN: the maximum output buffer size in bytes
SQLDA: IN: pointer to SQLDA struct containing the row data
buffer: IN/OUT: pointer to the output buffer
reply_err: IN/OUT: pointer to the reply error
Returns: if successful -- SPELIB_OK
else -- an SPELIB error
___________________________________________________________________*/
short int encode_row_data( void *env
, unsigned long int max_len
, void *SQLDA
, char *buffer
, short int *reply_err
);
encode_row_descriptor
extern
/*_____________________________________________________________________
This function encodes an SQLDA descriptor in the output buffer. If it
detects an SPELIB_BUFFER_OVERFLOW condition, it will invoke the
CALL-BACK facility.
env: IN: pointer to SPELIB environment object
max_len: IN: the maximum output buffer size in bytes
SQLDA: IN: pointer to SQLDA struct containing the row data
buffer: IN/OUT: pointer to the output buffer
reply_err: IN/OUT: pointer to the reply error
Returns: if successful -- SPELIB_OK
else -- an SPELIB error
___________________________________________________________________*/
short int encode_row_descriptor( void *env
, unsigned long int max_len
, void *SQLDA
, char *buffer
, short int *reply_err
);
encode_spelib_error
extern
/*_____________________________________________________________________
This function encodes an spelib_error message into the output buffer.
If it detects an SPELIB_BUFFER_OVERFLOW condition, it will invoke the
CALL-BACK facility.
env: IN: pointer to SPELIB environment object
max_len: IN: the maximum output buffer size in bytes