📄 mms_ufun.h
字号:
ST_VOID u_termupl_ind (MMSREQ_IND *ind);ST_VOID u_rddwn_ind (MMSREQ_IND *ind);ST_VOID u_rdupl_ind (MMSREQ_IND *ind);ST_VOID u_loaddom_ind (MMSREQ_IND *ind);ST_VOID u_storedom_ind (MMSREQ_IND *ind);ST_VOID u_deldom_ind (MMSREQ_IND *ind);ST_VOID u_getdom_ind (MMSREQ_IND *ind);ST_VOID u_crepi_ind (MMSREQ_IND *ind);ST_VOID u_delpi_ind (MMSREQ_IND *ind);ST_VOID u_start_ind (MMSREQ_IND *ind);ST_VOID u_stop_ind (MMSREQ_IND *ind);ST_VOID u_resume_ind (MMSREQ_IND *ind);ST_VOID u_reset_ind (MMSREQ_IND *ind);ST_VOID u_kill_ind (MMSREQ_IND *ind);ST_VOID u_getpi_ind (MMSREQ_IND *ind);ST_VOID u_read_ind (MMSREQ_IND *ind);ST_VOID u_write_ind (MMSREQ_IND *ind);ST_VOID u_info_ind (MMSREQ_IND *ind);ST_VOID u_getvar_ind (MMSREQ_IND *ind);ST_VOID u_defvar_ind (MMSREQ_IND *ind);ST_VOID u_delvar_ind (MMSREQ_IND *ind);ST_VOID u_defscat_ind (MMSREQ_IND *ind);ST_VOID u_getscat_ind (MMSREQ_IND *ind);ST_VOID u_defvlist_ind (MMSREQ_IND *ind);ST_VOID u_getvlist_ind (MMSREQ_IND *ind);ST_VOID u_delvlist_ind (MMSREQ_IND *ind);ST_VOID u_gettype_ind (MMSREQ_IND *ind);ST_VOID u_deftype_ind (MMSREQ_IND *ind);ST_VOID u_deltype_ind (MMSREQ_IND *ind);ST_VOID u_takectrl_ind (MMSREQ_IND *ind);ST_VOID u_relctrl_ind (MMSREQ_IND *ind);ST_VOID u_rsstat_ind (MMSREQ_IND *ind);ST_VOID u_rspool_ind (MMSREQ_IND *ind);ST_VOID u_rsentry_ind (MMSREQ_IND *ind);ST_VOID u_defsem_ind (MMSREQ_IND *ind);ST_VOID u_delsem_ind (MMSREQ_IND *ind);ST_VOID u_output_ind (MMSREQ_IND *ind);ST_VOID u_input_ind (MMSREQ_IND *ind);ST_VOID u_defec_ind (MMSREQ_IND *ind);ST_VOID u_delec_ind (MMSREQ_IND *ind);ST_VOID u_geteca_ind (MMSREQ_IND *ind);ST_VOID u_repecs_ind (MMSREQ_IND *ind);ST_VOID u_evnot_ind (MMSREQ_IND *ind);ST_VOID u_altecm_ind (MMSREQ_IND *ind);ST_VOID u_trige_ind (MMSREQ_IND *ind);ST_VOID u_defea_ind (MMSREQ_IND *ind);ST_VOID u_delea_ind (MMSREQ_IND *ind);ST_VOID u_geteaa_ind (MMSREQ_IND *ind);ST_VOID u_repeas_ind (MMSREQ_IND *ind);ST_VOID u_defee_ind (MMSREQ_IND *ind);ST_VOID u_delee_ind (MMSREQ_IND *ind);ST_VOID u_altee_ind (MMSREQ_IND *ind);ST_VOID u_repees_ind (MMSREQ_IND *ind);ST_VOID u_geteea_ind (MMSREQ_IND *ind);ST_VOID u_evnot_ind (MMSREQ_IND *ind);ST_VOID u_ackevnot_ind (MMSREQ_IND *ind);ST_VOID u_getas_ind (MMSREQ_IND *ind);ST_VOID u_getaes_ind (MMSREQ_IND *ind);ST_VOID u_jwrite_ind (MMSREQ_IND *ind);ST_VOID u_jread_ind (MMSREQ_IND *ind);ST_VOID u_jinit_ind (MMSREQ_IND *ind);ST_VOID u_jstat_ind (MMSREQ_IND *ind);ST_VOID u_jcreate_ind (MMSREQ_IND *ind);ST_VOID u_jdelete_ind (MMSREQ_IND *ind);ST_VOID u_obtfile_ind (MMSREQ_IND *ind);ST_VOID u_fopen_ind (MMSREQ_IND *ind);ST_VOID u_fread_ind (MMSREQ_IND *ind);ST_VOID u_fclose_ind (MMSREQ_IND *ind);ST_VOID u_frename_ind (MMSREQ_IND *ind);ST_VOID u_fdelete_ind (MMSREQ_IND *ind);ST_VOID u_fdir_ind (MMSREQ_IND *ind);extern ST_VOID (*u_obtfile_resp_done)(ST_RET code, MMSREQ_IND *ind);/************************************************************************//************************************************************************//* USER DEFINED CASE/ACSE COMMON INTERFACE FUNCTIONS *//************************************************************************//************************************************************************//* ABORT recieved. The parameters are : 'channel', 'reason', and *//* 'au_flag'. *//************************************************************************/ST_VOID u_abort_ind (ST_INT chan, ST_INT reason, ST_BOOLEAN au_flag);/************************************************************************//* RELEASE indication received. The parameter is the channel released. *//************************************************************************/ST_VOID u_release_ind (ST_INT chan);/************************************************************************//* CONCLUDE COMPLETE. This function is called when the conclude request *//* is completed; this means when the request is rejected by CASE, or *//* when the release confirm is received from the partner. *//* Parameters are channel and return code (0 == success). *//************************************************************************/ST_VOID u_mp_conclude_done (ST_INT chan, ST_RET code);/************************************************************************//* ABORT COMPLETE. This function is called when an abort request is *//* is completed. *//************************************************************************/ST_VOID u_mp_abort_done (ST_INT chan);/************************************************************************//* INITIATE RESPONSE COMPLETE. This function is called when an initiate *//* (positive or negative) response is completed. *//************************************************************************/ST_VOID u_init_resp_done (ST_INT chan);/************************************************************************//************************************************************************//* USER DEFINED ACSE INTERFACE FUNCTIONS *//************************************************************************//* The functions below provide the user with a means of detecting ACSE *//* events and taking action as required by the application program. *//* The functions supplied here are those that have no direct mapping *//* into MMS actions, but are/may be of use to the user. *//* These functions are invoked from within the 'llp_serve' service *//* function. *//************************************************************************//************************************************************************//* Associate Indication recieved. The parameters are : 'channel', *//* assinfo *, and 'matched'. Returns CASE 'reason' code to be used *//* (0 == success, 1 == faulure, no reason, etc.). *//************************************************************************/#ifdef __cplusplusST_RET u_mllp_a_assoc_ind (ST_INT chan, struct ::acse_assinfo *info);#elseST_RET u_mllp_a_assoc_ind (ST_INT chan, ACSE_ASSINFO *info);#endif/************************************************************************//* Associate Confirm recieved. The parameters are : 'channel', *//* assinfo *. Return abort reason or 0 for OK to proceed *//************************************************************************/#ifdef __cplusplusST_RET u_mllp_a_assoc_conf (ST_INT chan, struct ::acse_assinfo *info);#elseST_RET u_mllp_a_assoc_conf (ST_INT chan, ACSE_ASSINFO *info);#endif/************************************************************************//************************************************************************//* USER DEFINED LLC INTERFACE FUNCTIONS *//************************************************************************/#ifdef MAP30_LLCST_RET u_mllp_l_assoc_ind (ST_INT chan, LLC_RXINFO *info);ST_VOID u_mllp_l_error_ind (ST_INT chan, TRANS_ID *id, ST_INT32 status);#endif/************************************************************************//* LLP ERROR INDICATION *//* This function is called when an LLP error occurs after the request *//* was accepted OK. This can happen when the LLP detects the error at *//* some later time when additional error checking is performed. *//* The channel and the long error code are passed. The error codes are *//* defined in mms_llp.h *//************************************************************************/ST_VOID u_llp_error_ind (ST_INT chan, ST_LONG code);/************************************************************************//************************************************************************//* OTHER USER DEFINED FUNCTIONS *//************************************************************************//* The function u_get_named_addr is used during the READ and WRITE *//* response service functions for the virtual machine. The user funct *//* is passed a pointer to a varaible name definition struct. The user *//* then is to translate that address to a physical address to be used *//* as the input to the read/write ind function for the variable. This *//* pointer may typically be used to access the variable of interest. *//************************************************************************/#ifdef __cplusplusST_CHAR *u_get_named_addr (struct ::named_var *var);#elseST_CHAR *u_get_named_addr (NAMED_VAR *var);#endif/************************************************************************//************************************************************************//* The following function pointer arrays are used for the indication *//* and confirmation service functions. The operation opcode is used as *//* the index into the table. *//************************************************************************/#define MAX_IND_SFUN 85 /* highest indic service array entry */#define MAX_CONF_SFUN 105 /* highest confirm service array entry */extern ST_VOID (*mms_ind_serve_fun [MAX_IND_SFUN+1]) (MMSREQ_IND *ind);extern ST_VOID (*mms_conf_serve_fun [MAX_CONF_SFUN+1]) (MMSREQ_PEND *req);#ifdef __cplusplus}#endif#endif /* MMS_UFUN_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -