ODBC Server Reference Manual

Stored Procedures
HP NonStop ODBC Server Reference Manual429151-002
5-53
Shell Routines Interface
process_event_queue
extern
/*_____________________________________________________________________
This function performs waited I/O, $RECEIVE handling.
___________________________________________________________________*/
void process_event_queue(void);
register_spe
extern
/*_____________________________________________________________________
This function registers an spe with its Pathway Server class. It
first executes the constructor function, if present, and then adds
the spe information to the spe map linked list.
svc_name IN: pointer to the requested service name
svc_len: IN: the byte length of the requested service name
spe_fun: IN: pointer to the requested stored procedure function
con_fun: IN: pointer to associated constructor function, or NULL
des_fun: IN: pointer to associated destructor function, or NULL
___________________________________________________________________*/
void register_spe( char *svc_name
, short int svc_len
, exe_fun_def spe_fun
, con_fun_def con_fun
, des_fun_def des_fun
);
TRACEOFF
extern
/*_____________________________________________________________________
This SPE function disables the trace facility.
env: IN: SPELIB environment object
max_len: IN: the maximum output buffer size in bytes
output_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 TRACEOFF( void *env
, unsigned long int max_len
, char *output_buffer
, short int *reply_err
);
TRACEON
extern
/*_____________________________________________________________________
This SPE function enables the trace facility.
env: IN: SPELIB environment object
max_len: IN: the maximum output buffer size in bytes
output_buffer: IN/OUT: pointer to the output buffer
reply_err: IN/OUT: pointer to the reply error