DPRINTF("IPFIX - ipfix_init_template_array with elem %d\n", template_capacity);
static int ipfix_init_template_array(ipfix_exporter *exporter, int template_capacity){	int i;	// allocate the memory for template_capacity elements:	exporter->ipfix_lo_template_maxsize  = template_capacity;	exporter->ipfix_lo_template_current_count = 0 ;	exporter->template_arr =  (ipfix_lo_template*) malloc (template_capacity * sizeof(ipfix_lo_template) );	for (i = 0; i< template_capacity; i++) {		(  (*exporter).template_arr[i]).valid = UNUSED;	}	return 0;}