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

📄 mms_pevn.h

📁 ICCP Toolkit 是在 Tru64下开发Tase.2通信协议的开发包
💻 H
📖 第 1 页 / 共 3 页
字号:
  ST_BOOLEAN  evact_name_pres;  	/* event action name present	*/  OBJECT_NAME evact_name;		/* event action name	 	*/  ST_BOOLEAN  ca_name_pres;   		/* continue after name present	*/  OBJECT_NAME ca_name;			/* continue after name	 	*/  ST_BOOLEAN  eenames_pres; 	  	/* event enroll names present	*/  ST_INT      num_of_eenames;		/* number of event enroll names	*//*					   list of event enroll names	*//*  OBJECT_NAME   name_list [num_of_eenames];				*/  SD_END_STRUCT  };typedef struct geteea_req_info GETEEA_REQ_INFO;/* RESPONSE :								*/struct geteea_resp_info  {  ST_BOOLEAN  more_follows;  		/* default = false		*/  ST_INT      num_of_evenroll;		/* number of event enrollments	*//*					   list of event enrollments	*//*  EVENT_ENROLLMENT  evenroll_list [num_of_evenroll];			*/  SD_END_STRUCT  };typedef struct geteea_resp_info	GETEEA_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_geteea (ST_INT chan, GETEEA_REQ_INFO *info);ST_RET mp_geteea_resp (MMSREQ_IND *ind, GETEEA_RESP_INFO *info);#elseST_RET mpl_geteea (GETEEA_REQ_INFO *info);ST_RET mpl_geteea_resp (ST_UINT32 invoke, GETEEA_RESP_INFO *info);#endif/************************************************************************//* REPORT EVENT ENROLLMENT STATUS					*//************************************************************************//* REQUEST :								*/struct repees_req_info  {  OBJECT_NAME evenroll_name;		/* event enrollment name  	*/  };typedef struct repees_req_info REPEES_REQ_INFO;/* RESPONSE :								*/struct repees_resp_info  {  ST_UCHAR   ec_transitions;		/* event condition 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_UCHAR   not_lost;			/* notification lost		*/					/*   (default = false)		*/  ST_INT16   duration;			/* duration:			*/    					/*   0 - current (default)	*/    					/*   1 - permanent		*/  ST_BOOLEAN alarm_ack_rule_pres;	/* alarm ack rule present	*/  ST_INT16   alarm_ack_rule;		/* alarm acknowledgment rule	*/					/*  0 : none			*/					/*  1 : simple			*/					/*  2 : ack active		*/					/*  3 : ack all			*/  ST_INT16   cur_state;			/* current state		*/					/*  0 : disabled		*/					/*  1 : idle			*/					/*  2 : active			*/					/*  3 : active, no ack a   	*/					/*  4 : idle, no ack i 		*/					/*  5 : idle, no ack a		*/					/*  6 : idle, acked		*/					/*  7 : active, acked 		*/  };typedef struct repees_resp_info	REPEES_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_repees (ST_INT chan, REPEES_REQ_INFO *info);ST_RET mp_repees_resp (MMSREQ_IND *ind, REPEES_RESP_INFO *info);#elseST_RET mpl_repees (REPEES_REQ_INFO *info);ST_RET mpl_repees_resp (ST_UINT32 invoke, REPEES_RESP_INFO *info);#endif/************************************************************************//* ALTER EVENT ENROLLMENT 						*//************************************************************************//* REQUEST :								*/struct altee_req_info  {  OBJECT_NAME evenroll_name;		/* event enrollment name    	*/  ST_BOOLEAN  ec_transitions_pres;	/* ec transitions present	*/  ST_UCHAR    ec_transitions;		/* event condition 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_BOOLEAN  alarm_ack_rule_pres;	/* alarm ack rule present	*/  ST_INT16    alarm_ack_rule;		/* alarm acknowledgment rule	*/					/*  0 : none			*/					/*  1 : simple			*/					/*  2 : ack active		*/					/*  3 : ack all			*/  SD_END_STRUCT  };typedef struct altee_req_info ALTEE_REQ_INFO;/* RESPONSE :								*/struct altee_resp_info  {  ST_INT16    cur_state_tag; 		/* current state tag		*/					/*  0 : state			*/					/*  1 : undefined		*/  ST_INT16    state;			/* state, if cur_state_tag = 0	*/					/*  0 : disabled		*/					/*  1 : idle			*/					/*  2 : active			*/					/*  3 : active, no ack a   	*/					/*  4 : idle, no ack i 		*/					/*  5 : idle, no ack a		*/					/*  6 : idle, acked		*/					/*  7 : active, acked 		*/  EVENT_TIME  trans_time;		/* transition time		*/  SD_END_STRUCT  };typedef struct altee_resp_info ALTEE_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_altee (ST_INT chan, ALTEE_REQ_INFO *info);ST_RET mp_altee_resp (MMSREQ_IND *ind, ALTEE_RESP_INFO *info);#elseST_RET mpl_altee (ALTEE_REQ_INFO *info);ST_RET mpl_altee_resp (ST_UINT32 invoke, ALTEE_RESP_INFO *info);#endif/************************************************************************//* EVENT NOTIFICATION, Conformance: MCW1 (EVN3) 			*//************************************************************************//* REQUEST :								*/struct evnot_req_info  {  OBJECT_NAME evenroll_name;		/* event enrollment name	*/  OBJECT_NAME evcon_name;		/* event condition name  	*/  ST_UCHAR    severity;			/* severity			*/  ST_BOOLEAN  cur_state_pres;		/* current state enable		*/  ST_INT16    cur_state;		/* current state		*/					/*  0 : disabled		*/					/*  1 : idle			*/					/*  2 : active			*/  EVENT_TIME  trans_time;    		/* transition time		*/  ST_UCHAR    not_lost;			/* notification lost		*/					/*   (default = false)		*/  ST_BOOLEAN  alarm_ack_rule_pres;	/* alarm acknowledge rule pres	*/  ST_INT16    alarm_ack_rule;		/* alarm acknowledgment rule	*/					/*  0 : none			*/					/*  1 : simple			*/					/*  2 : ack-active		*/					/*  3 : ack-all 		*/  ST_BOOLEAN  evact_result_pres;	/* action result present	*/  OBJECT_NAME evact_name;		/* event action name		*/  ST_INT16    evact_result_tag;		/* event action result tag	*/					/*  0 : success 		*/					/*  1 : failure 		*/  ST_INT      conf_serv_resp_len;	/* success: conf serv resp len	*/  ST_UCHAR    *conf_serv_resp;		/* success: conf serv resp ptr	*/  ST_BOOLEAN  cs_rdetail_pres;		/* success: CS resp detail pres	*/  ST_INT      cs_rdetail_len;		/* success: CS resp detail len	*/  ST_UCHAR    *cs_rdetail;		/* success: CS resp detail ptr	*/  ST_BOOLEAN  mod_pos_pres;		/* failure: mod pos present	*/  ST_UINT32   mod_pos;			/* failure: modifier position	*/  ERR_INFO    *serv_err;		/* failure: service error ptr	*/  SD_END_STRUCT  };typedef struct evnot_req_info EVNOT_REQ_INFO;/* RESPONSE : NONE (unconfirmed)					*/#ifndef MMS_LITEST_RET mp_evnot (ST_INT chan, EVNOT_REQ_INFO *info);#elseST_RET mpl_evnot (EVNOT_REQ_INFO *info);#endif/************************************************************************//* ACKNOWLEDGE EVENT NOTIFICATION, Conformance: MCW1 (EVN3)		*//************************************************************************//* REQUEST :								*/struct ackevnot_req_info  {  OBJECT_NAME evenroll_name;		/* event enrollment name 	*/  ST_INT16    ack_state;		/* acknowledge state		*/  EVENT_TIME  evtime;			/* event time			*/  ST_BOOLEAN  ackec_name_pres;		/* ack event cond name present	*/  OBJECT_NAME ackec_name;		/* acknowledge event cond name	*/  };typedef struct ackevnot_req_info ACKEVNOT_REQ_INFO;/* RESPONSE : NULL							*/#ifndef MMS_LITEMMSREQ_PEND *mp_ackevnot (ST_INT chan, ACKEVNOT_REQ_INFO *info);ST_RET mp_ackevnot_resp (MMSREQ_IND *info);#elseST_RET mpl_ackevnot (ACKEVNOT_REQ_INFO *info);ST_RET mpl_ackevnot_resp (ST_UINT32 invoke);#endif/************************************************************************//* GET ALARM SUMMARY, Conformance: EVN5 				*//************************************************************************//* REQUEST :								*/struct getas_req_info  {  ST_BOOLEAN  enroll_only;		/* enrollments only		*/					/*   (default = true)		*/  ST_BOOLEAN  act_alarms_only;		/* active alarms only		*/					/*   (default = true)		*/  ST_INT16    ack_filter;		/* acknowledgement filter	*/					/*  0 : not acked (default)	*/					/*  1 : acked			*/					/*  2 : all			*/					/* severity filter		*/  ST_UCHAR    most_sev_filter;		/*   most severe (default=0)	*/  ST_UCHAR    least_sev_filter;		/*   least severe (default=127) */  ST_BOOLEAN  ca_pres;			/* continue after name present	*/  OBJECT_NAME ca_name; 			/* continue after name		*/  };typedef struct getas_req_info GETAS_REQ_INFO;/* RESPONSE :								*/struct getas_resp_info  {  ST_BOOLEAN  more_follows;		/* default = false		*/  ST_INT      num_of_alarm_sum;		/* number of alarm summary	*//*					   list of alarm summary data	*//*  ALARM_SUMMARY alarm_sum [num_of_alarm_sum];				*/  SD_END_STRUCT  };typedef struct getas_resp_info GETAS_RESP_INFO;#ifndef MMS_LITEMMSREQ_PEND *mp_getas (ST_INT chan, GETAS_REQ_INFO *info);ST_RET mp_getas_resp (MMSREQ_IND *ind, GETAS_RESP_INFO *info);#elseST_RET mpl_getas (GETAS_REQ_INFO *info);ST_RET mpl_getas_resp (ST_UINT32 invoke, GETAS_RESP_INFO *info);#endif/************************************************************************//* GET ALARM ENROLLMENT SUMMARY						*//************************************************************************//* REQUEST :								*/struct getaes_req_info  {  ST_BOOLEAN  enroll_only;		/* enrollments only		*/					/*   (default = true)		*/  ST_BOOLEAN  act_alarms_only;		/* active alarms only		*/					/*   (default = true)		*/  ST_INT16    ack_filter;		/* acknowledgement filter	*/					/*  0 : not acked (default)	*/					/*  1 : acked			*/					/*  2 : all			*/					/* severity filter		*/  ST_UCHAR    most_sev_filter;		/*   most severe (default=0)	*/  ST_UCHAR    least_sev_filter;		/*   least severe (default=127) */  ST_BOOLEAN  ca_name_pres; 		/* continue after name present	*/  OBJECT_NAME ca_name; 			/* continue after name		*/  };typedef struct getaes_req_info GETAES_REQ_INFO;/* RESPONSE :								*/struct getaes_resp_info  {  ST_BOOLEAN  more_follows;  		/* default = false		*/  ST_INT      num_of_alarm_esum;	/* # of alarm enroll summary	*//*					   list of alarm enroll summary	*//*  ALARM_ENROLL_SUMMARY  alarm_enroll_sum [num_of_alarm_esum];		*/  SD_END_STRUCT  };typedef struct getaes_resp_info	GETAES_RESP_INFO; #ifndef MMS_LITEMMSREQ_PEND *mp_getaes (ST_INT chan, GETAES_REQ_INFO *info);ST_RET mp_getaes_resp (MMSREQ_IND *ind, GETAES_RESP_INFO *info);#elseST_RET mpl_getaes (GETAES_REQ_INFO *info);ST_RET mpl_getaes_resp (ST_UINT32 invoke, GETAES_RESP_INFO *info);#endif#ifdef __cplusplus}#endif#endif	/* #define MMS_PEVN_INCLUDED */

⌨️ 快捷键说明

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