Lines Matching refs:evc
65 struct s_srf_evc *evc ;
75 evc = smc->evcs ;
80 evc->evc_code = init->code ;
81 evc->evc_para = init->para ;
82 evc->evc_index = init->index + index ;
84 evc->evc_multiple = &fail_safe ;
85 evc->evc_cond_state = &fail_safe ;
87 evc++ ;
92 if ((unsigned int) (evc - smc->evcs) > MAX_EVCS) {
133 for (i = 0, evc = smc->evcs ; i < MAX_EVCS ; i++, evc++) {
134 if (SMT_IS_CONDITION(evc->evc_code)) {
135 if (!evc->evc_cond_state) {
138 evc->evc_multiple = &fail_safe ;
141 if (!evc->evc_multiple) {
144 evc->evc_cond_state = &fail_safe ;
155 struct s_srf_evc *evc ;
157 for (i = 0, evc = smc->evcs ; i < MAX_EVCS ; i++, evc++) {
158 if (evc->evc_code == code && evc->evc_index == index)
159 return evc;
178 struct s_srf_evc *evc ;
192 if (!(evc = smt_get_evc(smc,code,index))) {
200 if (*evc->evc_cond_state == cond)
211 *evc->evc_cond_state = TRUE ;
212 evc->evc_rep_required = TRUE ;
217 *evc->evc_cond_state = FALSE ;
222 if (evc->evc_rep_required) {
223 *evc->evc_multiple = TRUE ;
226 evc->evc_rep_required = TRUE ;
227 *evc->evc_multiple = FALSE ;
233 snmp_srf_event(smc,evc) ;
326 struct s_srf_evc *evc ;
329 for (i = 0, evc = smc->evcs ; i < MAX_EVCS ; i++, evc++) {
330 evc->evc_rep_required = FALSE ;
331 if (SMT_IS_CONDITION(evc->evc_code))
332 *evc->evc_cond_state = FALSE ;
339 struct s_srf_evc *evc ;
343 for (i = 0, evc = smc->evcs ; i < MAX_EVCS ; i++, evc++) {
344 if (SMT_IS_CONDITION(evc->evc_code)) {
345 if (*evc->evc_cond_state == FALSE)
346 evc->evc_rep_required = FALSE ;
351 evc->evc_rep_required = FALSE ;
352 *evc->evc_multiple = FALSE ;
364 struct s_srf_evc *evc ;
397 for (i = 0, evc = smc->evcs ; i < MAX_EVCS ; i++, evc++) {
398 if (evc->evc_rep_required) {
399 smt_add_para(smc,&pcon,evc->evc_para,
400 (int)evc->evc_index,0) ;