Lines Matching defs:fRules
148 team_rules *fRules;
561 fRules(NULL)
568 fRules = sTeamHash->Lookup(team);
569 if (fRules != NULL)
572 fRules = new team_rules;
573 if (fRules == NULL)
576 fRules->team = team;
577 list_init(&fRules->states);
578 list_init(&fRules->applied);
583 sTeamHash->Insert(fRules);
584 start_watching_team(team, team_gone, fRules);
586 fRules->timestamp = system_time();
620 list_add_item(&fRules->applied, state);
622 list_add_item(&fRules->states, state);
630 if (fRules == NULL)
636 while ((state = (rule_state *)list_get_next_item(&fRules->states, state)) != NULL) {
643 bigtime_t diff = system_time() - fRules->timestamp;
647 while ((state = (rule_state *)list_get_next_item(&fRules->applied, state)) != NULL) {
664 if (fRules == NULL)
670 while ((state = (rule_state *)list_get_next_item(&fRules->states, state)) != NULL) {