1.2.1 形式
#include <eerpcsrv.h> void 関数名(char *in, EEULONG *in_len, char *out, EEULONG *out_len, EERPC_INTERFACE_TBL *trninf); { サービスの処理 }
EERPC_INTERFACE_TBL構造体の形式を示します。
EERPC_INTERFACE_TBL { EEULONG trn_len; EEULONG group_len; char servicegroup[32]; EEULONG service_len; char service[32]; char trn_id[2]; char auto_block; char commit_inf; EEULONG thread_no; EEULONG err_code; EEULONG uifa_len; char yobi_1[4]; char *uifa; EEULONG usat_len; char yobi_2[4]; char *usat; char ans_inf; char msg_inf; char start_inf; char before_end_inf; char end_inf; char thread_down_inf; char uap_errtrn_inf; char trninf_ex; EEULONG rm_no; EELONG rm_inf; EEULONG es_group_len; char es_servicegroup[32]; EEULONG es_service_len; char es_service[32]; EEULONG abn_thread_no; EEULONG trnlevel_len; union { TRNINF_SERVICE_EX *trninf_service_ex; TRNINF_DBQ_EX *trninf_dbq_ex; TRNINF_DBQ_OBS_EX *trninf_dbq_obs_ex; TRNINF_OBM_EX *trninf_obm_ex; TRNINF_TIM_EX *trninf_tim_ex; } ex_inf; void *xtc_pt; void *mcp_pt; char msg_type; char errtrn_factor; char run_inf; char rm_func; EEULONG rerun_cnt; EEULONG64 uifa_large_len; EEULONG64 usat_large_len; char start_time[14]; char node_id[5]; unsigned char rtyrbk_cnt; char trnlevel[32]; char yobi_ff[4]; char rtyrbk_area[32]; }