⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mms_pevn.h

📁 ICCP Toolkit 是在 Tru64下开发Tase.2通信协议的开发包
💻 H
📖 第 1 页 / 共 3 页
字号:
    					/*   2 - active			*/  ST_UINT32  num_of_ev_enroll;		/* number of event enrollments	*/  ST_BOOLEAN enabled_pres;		/* enabled indicator present	*/  ST_BOOLEAN enabled;			/* enabled indicator		*/  ST_BOOLEAN tta_time_pres;		/* transition to active present	*/  EVENT_TIME tta_time;			/* transition to active time	*/  ST_BOOLEAN tti_time_pres;		/* transition to idle present	*/  EVENT_TIME tti_time;			/* transition to idle time	*/  SD_END_STRUCT  };typedef struct repecs_resp_info	REPECS_RESP_INFO;#ifndef MMS_LITEMMSREQ_PEND *mp_repecs (ST_INT chan, REPECS_REQ_INFO *info);ST_RET mp_repecs_resp (MMSREQ_IND *ind, REPECS_RESP_INFO *info);#elseST_RET mpl_repecs (REPECS_REQ_INFO *info);ST_RET mpl_repecs_resp (ST_UINT32 invoke, REPECS_RESP_INFO *info);#endif/************************************************************************//* ALTER EVENT CONDITION MONITORING					*//************************************************************************//* REQUEST :								*/struct altecm_req_info  {  OBJECT_NAME evcon_name;		/* event condition name 	*/  ST_BOOLEAN  enabled_pres;		/* enabled present		*/  ST_BOOLEAN  enabled;			/* enabled			*/  ST_BOOLEAN  priority_pres;		/* priority present		*/  ST_UCHAR    priority;			/* priority			*/					/*   0 - highest		*/					/*  64 - normal 		*/					/* 127 - lowest 		*/  ST_BOOLEAN  as_reports_pres;		/* alarm summaray rpts present	*/  ST_BOOLEAN  as_reports;		/* alarm summaray reports	*/  ST_BOOLEAN  eval_int_pres;		/* evaluation interval present 	*/  ST_UINT32   eval_int;			/* evaluation interval		*/  SD_END_STRUCT  };typedef struct altecm_req_info ALTECM_REQ_INFO;/* RESPONSE : NULL							*/#ifndef MMS_LITEMMSREQ_PEND *mp_altecm (ST_INT chan, ALTECM_REQ_INFO *info);ST_RET mp_altecm_resp (MMSREQ_IND *ind);#elseST_RET mpl_altecm (ALTECM_REQ_INFO *info);ST_RET mpl_altecm_resp (ST_UINT32 invoke);#endif/************************************************************************//* TRIGGER EVENT							*//************************************************************************//* REQUEST :								*/struct trige_req_info  {  OBJECT_NAME evcon_name;		/* event condition name 	*/  ST_BOOLEAN  priority_pres;		/* priority present		*/  ST_UCHAR    priority;			/* priority			*/					/*   0 - highest		*/					/*  64 - normal 		*/					/* 127 - lowest 		*/  SD_END_STRUCT  };typedef struct trige_req_info TRIGE_REQ_INFO;/* RESPONSE : NULL							*/#ifndef MMS_LITEMMSREQ_PEND *mp_trige (ST_INT chan, TRIGE_REQ_INFO *info);ST_RET mp_trige_resp (MMSREQ_IND *info);#elseST_RET mpl_trige (TRIGE_REQ_INFO *info);ST_RET mpl_trige_resp (ST_UINT32 invoke);#endif/************************************************************************//* DEFINE EVENT	ACTION							*//************************************************************************//* REQUEST :								*/struct defea_req_info  {  OBJECT_NAME evact_name;		/* event action name	 	*/  ST_INT      conf_serv_req_len;  	/* confirmed service req length	*/  ST_UCHAR    *conf_serv_req;		/* confirmed service request 	*/  ST_BOOLEAN  modlist_pres;  		/* list of modifiers present	*/  ST_INT      num_of_modifiers;  	/* number of modifiers		*/  ST_BOOLEAN  cs_rdetail_pres;		/* CS request detail present	*/  ST_INT      cs_rdetail_len;		/* CS request detail length	*/  ST_UCHAR    *cs_rdetail;		/* CS request detail pointer	*//*					   list of modifiers		*//*  MODIFIER   mod_list [num_of_modifiers];				*/  SD_END_STRUCT  };typedef struct defea_req_info DEFEA_REQ_INFO;/* RESPONSE : NULL							*/#ifndef MMS_LITEMMSREQ_PEND *mp_defea (ST_INT chan, DEFEA_REQ_INFO *info);ST_RET mp_defea_resp (MMSREQ_IND *ind);#elseST_RET mpl_defea (DEFEA_REQ_INFO *info);ST_RET mpl_defea_resp (ST_UINT32 invoke);#endif/************************************************************************//* DELETE EVENT ACTION	 						*//************************************************************************//* REQUEST :								*/struct delea_req_info  {  ST_INT16    req_tag;			/* request tag			*/					/*   0 : specific		*/					/*   1 : aa specific		*/					/*   2 : domain			*/					/*   3 : vmd			*/  ST_CHAR     dname [MAX_IDENT_LEN+1]; 	/* domain name, if req_tag = 2	*/  ST_INT      num_of_names;  		/* number of names, if tag = 0	*//*					   list of object names		*//*  OBJECT_NAME  name_list [num_of_names];				*/  SD_END_STRUCT  };typedef struct delea_req_info DELEA_REQ_INFO;/* RESPONSE :								*/struct delea_resp_info  {  ST_UINT32   cand_not_deleted;		/* canditates not deleted	*/  };typedef struct delea_resp_info DELEA_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_delea (ST_INT chan, DELEA_REQ_INFO *info);ST_RET mp_delea_resp (MMSREQ_IND *ind, DELEA_RESP_INFO *info);#elseST_RET mpl_delea (DELEA_REQ_INFO *info);ST_RET mpl_delea_resp (ST_UINT32 invoke, DELEA_RESP_INFO *info);#endif/************************************************************************//* GET EVENT ACTION ATTRIBUTES 						*//************************************************************************//* REQUEST :								*/struct geteaa_req_info  {  OBJECT_NAME  evact_name;		/* event action name	 	*/  };typedef struct geteaa_req_info GETEAA_REQ_INFO;/* RESPONSE :								*/struct geteaa_resp_info  {  ST_BOOLEAN mms_deletable;		/* mms deletable (def = false)	*/  ST_INT     conf_serv_req_len;  	/* confirmed service req length	*/  ST_UCHAR   *conf_serv_req;		/* confirmed service request 	*/  ST_BOOLEAN cs_rdetail_pres;		/* CS request detail present	*/  ST_INT     cs_rdetail_len;		/* CS request detail length	*/  ST_UCHAR   *cs_rdetail;		/* CS request detail pointer	*/  ST_INT     num_of_modifiers;  	/* number of modifiers		*//*					   list of modifiers		*//*  MODIFIER   mod_list [num_of_modifiers];				*/  SD_END_STRUCT  };typedef struct geteaa_resp_info	GETEAA_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_geteaa (ST_INT chan, GETEAA_REQ_INFO *info);ST_RET mp_geteaa_resp (MMSREQ_IND *ind, GETEAA_RESP_INFO *info);#elseST_RET mpl_geteaa (GETEAA_REQ_INFO *info);ST_RET mpl_geteaa_resp (ST_UINT32 invoke, GETEAA_RESP_INFO *info);#endif/************************************************************************//* REPORT EVENT ACTION STATUS 						*//************************************************************************//* REQUEST :								*/struct repeas_req_info  {  OBJECT_NAME  evact_name;		/* event action name	 	*/  };typedef struct repeas_req_info REPEAS_REQ_INFO;/* RESPONSE :								*/struct repeas_resp_info  {  ST_UINT32   num_of_ev_enroll;		/* number of event enrollments	*/  };typedef struct repeas_resp_info	REPEAS_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_repeas (ST_INT chan, REPEAS_REQ_INFO *info);ST_RET mp_repeas_resp (MMSREQ_IND *ind, REPEAS_RESP_INFO *info);#elseST_RET mpl_repeas (REPEAS_REQ_INFO *info);ST_RET mpl_repeas_resp (ST_UINT32 invoke, REPEAS_RESP_INFO *info);#endif/************************************************************************//* DEFINE EVENT	ENROLLMENT						*//************************************************************************//* REQUEST :								*/struct defee_req_info  {  OBJECT_NAME evenroll_name;		/* event enrollment name 	*/  OBJECT_NAME evcon_name;		/* event condition name	 	*/  ST_UCHAR    ec_transitions;		/* causing transitions:		*/  					/* bitstring			*/					/*  0 : idle to disabled	*/					/*  1 : active to disabled	*/					/*  2 : disabled to idle	*/					/*  3 : active to idle		*/					/*  4 : disabled to active	*/					/*  5 : idle to active		*/					/*  6 : any to deleted		*/  ST_INT16    alarm_ack_rule;		/* alarm acknowledgment rule	*/					/*  0 : none			*/					/*  1 : simple			*/					/*  2 : ack active		*/					/*  3 : ack all			*/  ST_BOOLEAN  evact_name_pres;  	/* event action name present	*/  OBJECT_NAME evact_name;		/* event action name	 	*/  ST_BOOLEAN  client_app_pres;		/* client application present	*/  ST_INT      client_app_len;		/* client application length	*/  ST_UCHAR    *client_app;		/* client application reference	*/  ST_BOOLEAN  ackec_name_pres;		/* ack event cond name present	*/  OBJECT_NAME ackec_name;		/* acknowledge event cond name	*/  SD_END_STRUCT  };typedef struct defee_req_info DEFEE_REQ_INFO;/* RESPONSE : NULL							*/#ifndef MMS_LITEMMSREQ_PEND *mp_defee (ST_INT chan, DEFEE_REQ_INFO *info);ST_RET mp_defee_resp (MMSREQ_IND *ind);#elseST_RET mpl_defee (DEFEE_REQ_INFO *info);ST_RET mpl_defee_resp (ST_UINT32 invoke);#endif/************************************************************************//* DELETE EVENT ENROLLMENT 						*//************************************************************************//* REQUEST :								*/struct delee_req_info  {  ST_INT16    req_tag;			/* request tag			*/					/*   0 : specific		*/					/*   1 : event condition	*/					/*   2 : event action		*/  union    {    OBJECT_NAME	evcon_name;		/* event condition name  	*/    OBJECT_NAME	evact_name;		/* event action name 	 	*/    ST_INT      num_of_names;  		/* number of object names	*/    } sod;/*					   list of object names		*//*  OBJECT_NAME   name_list [num_of_names];				*/  SD_END_STRUCT  };typedef struct delee_req_info DELEE_REQ_INFO;/* RESPONSE :								*/struct delee_resp_info  {  ST_UINT32   cand_not_deleted;		/* canditates not deleted	*/  };typedef struct delee_resp_info DELEE_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_delee (ST_INT chan, DELEE_REQ_INFO *info);ST_RET mp_delee_resp (MMSREQ_IND *ind, DELEE_RESP_INFO *info);#elseST_RET mpl_delee (DELEE_REQ_INFO *info);ST_RET mpl_delee_resp (ST_UINT32 invoke, DELEE_RESP_INFO *info);#endif/************************************************************************//* GET EVENT ENROLLMENT ATTRIBUTES					*//************************************************************************//* REQUEST :								*/struct geteea_req_info  {  ST_INT16    scope_of_req;		/* scope of request		*/					/*  0 : specific		*/					/*  1 : client (default)	*/					/*  2 : event condition		*/					/*  3 : event action		*/  ST_BOOLEAN  client_app_pres;		/* client application present	*/  ST_INT      client_app_len;		/* client application length	*/  ST_UCHAR    *client_app;		/* client application reference	*/  ST_BOOLEAN  evcon_name_pres;  	/* event condition name present	*/  OBJECT_NAME evcon_name;		/* event condition name  	*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -