void MONITORCALL_IOMessage( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ ) { CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEE_status retcode; DIALOGUE_ID_def dialogueId; long* param[1]; retcode = decodeParameters(1, param, pnode->r_buffer(), pnode->r_buffer_length()); if (retcode != CEE_SUCCESS) { //LCOV_EXCL_START strcpy( errStrBuf2, "odbcs_srvr.cpp"); strcpy( errStrBuf3, "SRVR-MONITORCALL_IOMessage"); strcpy( errStrBuf4, "buffer overflow"); sprintf( errStrBuf5, "retcode <%d>", retcode); logError( PROGRAM_ERROR, SEVERITY_MAJOR, CAPTURE_ALL + PROCESS_STOP ); exit(1000); //LCOV_EXCL_STOP } dialogueId = *(IDL_long*)param[0]; odbc_SQLSvc_MonitorCall_ame_( objtag_ , call_id_ , dialogueId ); }
void UPDATECONTEXT_IOMessage( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ ) { CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEE_status retcode; SRVR_CONTEXT_def *srvrContext; long* param[1]; retcode = decodeParameters(1, param, pnode->r_buffer(), pnode->r_buffer_length()); if (retcode != CEE_SUCCESS) { //LCOV_EXCL_START strcpy( errStrBuf2, "odbcs_srvr.cpp"); strcpy( errStrBuf3, "SRVR-UPDATECONTEXT_IOMessage"); strcpy( errStrBuf4, "buffer overflow"); sprintf( errStrBuf5, "retcode <%d>", retcode); logError( PROGRAM_ERROR, SEVERITY_MAJOR, CAPTURE_ALL + PROCESS_STOP ); exit(1000); //LCOV_EXCL_STOP } srvrContext = (SRVR_CONTEXT_def*)param[0]; odbc_SQLSvc_UpdateServerContext_ame_( objtag_ , call_id_ , srvrContext ); }