c->rules=rules; return 0; }
void startAggregator(char* ruleFile, uint16_t minBufferTime, uint16_t maxBufferTime) {	int i;	if (!ipfixSender) {		fatal("Exporter not started");		return;		}	if (rules) {		fatal("Concentrator already started");		return;		}		debug("reading ruleset and creating hashtables");	rules = parseRulesFromFile(ruleFile);	for (i = 0; i < rules->count; i++) {		rules->rule[i]->hashtable = createHashtable(rules->rule[i], minBufferTime, maxBufferTime);		setNewDataTemplateCallback(rules->rule[i]->hashtable, sndNewDataTemplate);		setNewDataDataRecordCallback(rules->rule[i]->hashtable, sndDataDataRecord);		setNewDataTemplateDestructionCallback(rules->rule[i]->hashtable, sndDestroyDataTemplate);		}	}