/* Generated by IDL compiler version OSF DCE T1.1.0-03 */ #ifdef VMS #pragma nostandard #endif #include #include static idl_ulong_int IDL_offset_vec[] = { 0, 0 }; static IDL_rtn_func_t IDL_rtn_vec[] = { (IDL_rtn_func_t)NULL, (IDL_rtn_func_t)NULL }; static idl_byte IDL_type_vec[] = { 0xff,0xff,0xff,0xff, 0, 0, 0xff,0xff, 0x00,0x03, 0x00,0x02, 0x00,0x01, 0x00,0x00, 0x5a,0x64,0xf0,0x58, 0x70,0xab, 0x11,0xd0, 0xa5, 0x61, 0x24,0xbe,0x00,0x2b,0xaa,0x77, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x04, 0x00,0x00,0x02,0x68, 0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff, 0x00,0x00,0x00,0x06, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x01, 0x00,0x00,0x00,0x00, 0xff,0xff,0xff,0xff, 0x00,0x00,0x00,0x00, 0xff,0xff,0xff,0xff, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x01, 0x00,0x00,0x00,0x00, 0xff,0xff,0xff,0xff, 0x00,0x00,0x00,0x00, 0xff,0xff,0xff,0xff, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x04, 0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0xd0, 0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0xe0, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x03, 0x00,0x00,0x00,0x01, 0x00,0x00,0x00,0xfc, 0x00,0x00,0x00,0x02, 0x00,0x00,0x01,0x04, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x05, 0x00,0x00,0x00,0x03, 0x00,0x00,0x01,0x20, 0x00,0x00,0x00,0x02, 0x00,0x00,0x01,0x38, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x09, 0x00,0x00,0x00,0x07, 0x00,0x00,0x01,0x54, 0x00,0x00,0x00,0x02, 0x00,0x00,0x01,0xa4, 0x00,0x00,0x00,0x01, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x02, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x03, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x01,0xbf, 0x00,0x00,0x01,0xbf, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x01, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x02, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x01,0xdb, 0x00,0x00,0x01,0xdb, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x01, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x02, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x03, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x04, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x01,0xf7, 0x00,0x00,0x01,0xf7, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x01, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x02, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x03, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x04, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x05, IDL_DT_LONG, IDL_DT_EOL, 0xff,0xff, 0x00,0x00,0x00,0x06, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x02,0x13, 0x00,0x00,0x02,0x13, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x07, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x02,0x2f, 0x00,0x00,0x02,0x2f, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x08, IDL_DT_PASSED_BY_REF, IDL_DT_STRING, IDL_DT_VARYING_ARRAY, 0|IDL_PROP_DEP_CHAR, 0x00,0x00,0x02,0x4b, 0x00,0x00,0x02,0x4b, IDL_DT_EOL, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_DT_LONG, IDL_DT_EOL, 0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x4e,0x1f, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x4e,0x1f, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x4e,0x1f, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff, 1, 0x00,0x00,0x00,0x00, 0x00,0x00,0x4e,0x1f, IDL_LIMIT_FIXED, 0xff,0xff,0xff, 0x00,0x00,0x00,0x00, IDL_LIMIT_STRING, 1, 0xff,0xff, 0xff,0xff,0xff,0xff, IDL_DT_CHAR, 0xff,0xff,0xff, 0x00,0x00,0x00,0x10, 0 }; static room_res_v1_0_epv_t IDL_manager_epv = { InitServer ,ShutDown ,ListReservations ,ListReservationsByRoom ,Cancel ,ReserveRoom }; static void op0_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[1]; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 0, 0, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->InitServer)(); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 0, 0, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static void op1_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[1]; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 0, 0, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->ShutDown)(); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 0, 0, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static void op2_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[4]; date_t date; roomnum_t room_num; idl_long_int IDL_function_result; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_param_vec[0] = (rpc_void_p_t)&IDL_function_result; IDL_param_vec[1] = (rpc_void_p_t)&date; IDL_param_vec[2] = (rpc_void_p_t)&room_num; IDL_param_vec[3] = (rpc_void_p_t)rpc_ss_mem_alloc(&IDL_ms.IDL_mem_handle, sizeof(listOut_t )); IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 2, 208, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); IDL_function_result = (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->ListReservations)(date, room_num, (idl_char (*)) (IDL_param_vec[3])); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 2, 224, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static void op3_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[3]; roomnum_t room_num; idl_long_int IDL_function_result; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_param_vec[0] = (rpc_void_p_t)&IDL_function_result; IDL_param_vec[1] = (rpc_void_p_t)&room_num; IDL_param_vec[2] = (rpc_void_p_t)rpc_ss_mem_alloc(&IDL_ms.IDL_mem_handle, sizeof(listOut_t )); IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 1, 252, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); IDL_function_result = (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->ListReservationsByRoom)(room_num, (idl_char (*)) (IDL_param_vec[2])); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 2, 260, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static void op4_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[5]; roomnum_t room_num; date_t date; restime_t time; idl_long_int IDL_function_result; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_param_vec[0] = (rpc_void_p_t)&IDL_function_result; IDL_param_vec[1] = (rpc_void_p_t)&room_num; IDL_param_vec[2] = (rpc_void_p_t)&date; IDL_param_vec[3] = (rpc_void_p_t)&time; IDL_param_vec[4] = (rpc_void_p_t)rpc_ss_mem_alloc(&IDL_ms.IDL_mem_handle, sizeof(listOut_t )); IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 3, 288, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); IDL_function_result = (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->Cancel)(room_num, date, time, (idl_char (*)) (IDL_param_vec[4])); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 2, 312, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static void op5_ssr #ifdef IDL_PROTOTYPES ( handle_t IDL_binding_handle, rpc_call_handle_t IDL_call_h, rpc_iovector_elt_p_t IDL_elt_p, ndr_format_p_t IDL_drep_p, rpc_transfer_syntax_p_t IDL_transfer_syntax_p, rpc_mgr_epv_t IDL_mgr_epv, error_status_t *IDL_status_p ) #else (IDL_binding_handle, IDL_call_h, IDL_elt_p, IDL_drep_p, IDL_transfer_syntax_p, IDL_mgr_epv, IDL_status_p) handle_t IDL_binding_handle; rpc_call_handle_t IDL_call_h; rpc_iovector_elt_p_t IDL_elt_p; ndr_format_p_t IDL_drep_p; rpc_transfer_syntax_p_t IDL_transfer_syntax_p; rpc_mgr_epv_t IDL_mgr_epv; error_status_t *IDL_status_p; #endif { IDL_ms_t IDL_ms; volatile ndr_boolean IDL_manager_entered = ndr_false; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_async_cancel_state; volatile RPC_SS_THREADS_CANCEL_STATE_T IDL_general_cancel_state; idl_byte IDL_stack_packet[IDL_STACK_PACKET_SIZE]; rpc_void_p_t IDL_param_vec[9]; restime_t time; date_t date; idl_long_int num_people; roomnum_t room_num; idl_long_int length; name_t name; desc_t desc; idl_long_int IDL_function_result; RPC_SS_INIT_SERVER rpc_ss_init_marsh_state(IDL_type_vec, &IDL_ms); IDL_ms.IDL_stack_packet_status = IDL_stack_packet_unused_k; IDL_ms.IDL_stack_packet_addr = IDL_stack_packet; TRY IDL_ms.IDL_offset_vec = IDL_offset_vec; IDL_ms.IDL_rtn_vec = IDL_rtn_vec; IDL_ms.IDL_call_h = (volatile rpc_call_handle_t)IDL_call_h; IDL_ms.IDL_drep = *IDL_drep_p; IDL_ms.IDL_elt_p = IDL_elt_p; IDL_param_vec[0] = (rpc_void_p_t)&IDL_function_result; IDL_param_vec[1] = (rpc_void_p_t)&time; IDL_param_vec[2] = (rpc_void_p_t)&date; IDL_param_vec[3] = (rpc_void_p_t)&num_people; IDL_param_vec[4] = (rpc_void_p_t)&room_num; IDL_param_vec[5] = (rpc_void_p_t)&length; IDL_param_vec[6] = (rpc_void_p_t)name; IDL_param_vec[7] = (rpc_void_p_t)desc; IDL_param_vec[8] = (rpc_void_p_t)rpc_ss_mem_alloc(&IDL_ms.IDL_mem_handle, sizeof(listOut_t )); IDL_ms.IDL_param_vec = IDL_param_vec; IDL_ms.IDL_side = IDL_server_side_k; IDL_ms.IDL_language = IDL_lang_c_k; rpc_ss_ndr_unmar_interp( 7, 340, IDL_param_vec, &IDL_ms); /* manager call */ IDL_manager_entered = ndr_true; RPC_SS_THREADS_DISABLE_ASYNC(IDL_async_cancel_state); RPC_SS_THREADS_ENABLE_GENERAL(IDL_general_cancel_state); IDL_function_result = (*((room_res_v1_0_epv_t *)IDL_mgr_epv)->ReserveRoom)(time, date, num_people, room_num, length, name, desc, (idl_char (*)) (IDL_param_vec[8])); RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); { rpc_ss_ndr_marsh_interp( 2, 420, IDL_param_vec, &IDL_ms); if (IDL_ms.IDL_iovec.num_elt != 0) rpc_call_transmit((rpc_call_handle_t)IDL_ms.IDL_call_h,(rpc_iovector_p_t)&IDL_ms.IDL_iovec, (unsigned32*)&IDL_ms.IDL_status); /* Send remaining outs */ } IDL_closedown: ; CATCH_ALL if ( IDL_manager_entered ) { RPC_SS_THREADS_RESTORE_GENERAL(IDL_general_cancel_state); RPC_SS_THREADS_RESTORE_ASYNC(IDL_async_cancel_state); } rpc_ss_ndr_clean_up(&IDL_ms); if (!RPC_SS_EXC_MATCHES(THIS_CATCH,&rpc_x_ss_pipe_comm_error)) { if ( ! IDL_manager_entered ) { IDL_ms.IDL_status = rpc_s_manager_not_entered; } else { rpc_ss_send_server_exception_2(IDL_call_h,THIS_CATCH,0,NULL,&IDL_ms); IDL_ms.IDL_status = error_status_ok; } } ENDTRY if (IDL_ms.IDL_mem_handle.memory) { rpc_ss_mem_free(&IDL_ms.IDL_mem_handle); } if (IDL_ms.IDL_status != error_status_ok) { if (IDL_ms.IDL_status == rpc_s_call_cancelled) { rpc_ss_send_server_exception(IDL_call_h,&RPC_SS_THREADS_X_CANCELLED); IDL_ms.IDL_status = error_status_ok; } else { if (IDL_manager_entered) { rpc_ss_send_server_exception(IDL_call_h,&rpc_x_ss_remote_comm_failure); IDL_ms.IDL_status = error_status_ok; } } } *IDL_status_p = IDL_ms.IDL_status; } static rpc_v2_server_stub_proc_t IDL_epva[] = { (rpc_v2_server_stub_proc_t)op0_ssr, (rpc_v2_server_stub_proc_t)op1_ssr, (rpc_v2_server_stub_proc_t)op2_ssr, (rpc_v2_server_stub_proc_t)op3_ssr, (rpc_v2_server_stub_proc_t)op4_ssr, (rpc_v2_server_stub_proc_t)op5_ssr }; static rpc_syntax_id_t IDL_transfer_syntaxes[1] = { { {0x8a885d04u, 0x1ceb, 0x11c9, 0x9f, 0xe8, {0x8, 0x0, 0x2b, 0x10, 0x48, 0x60}}, 2}}; static rpc_if_rep_t IDL_ifspec = { 1, /* ifspec rep version */ 6, /* op count */ 1, /* if version */ {0x5a64f058u, 0x70ab, 0x11d0, 0xa5, 0x61, {0x24, 0xbe, 0x0, 0x2b, 0xaa, 0x77}}, 2, /* stub/rt if version */ {0, NULL}, /* endpoint vector */ {1, IDL_transfer_syntaxes} /* syntax vector */ ,IDL_epva /* server_epv */ ,(rpc_mgr_epv_t)&IDL_manager_epv /* manager epv */ }; /* global */ rpc_if_handle_t room_res_v1_0_s_ifspec = (rpc_if_handle_t)&IDL_ifspec; #ifdef VMS #pragma standard #endif