printf("\n-+--- Template\n"); printf(" `---\n\n");
int i; int j; char buf[40]; IpfixPrinter* myIpfixPrinter = (IpfixPrinter*)ipfixPrinter; myIpfixPrinter->lastTemplate = templateInfo;  int lineLen = 0; for (i = 0; i < templateInfo->fieldCount; i++) { if (i > 0) { printf("|"); lineLen++; } FieldType ftype = templateInfo->fieldInfo[i].type; int flen = fieldTypeToStringLength(ftype); lineLen+=flen;  if (fieldTypeToString(ftype, buf, 40) == -1) { error("Error converting fieldType"); continue; }  for (j = 0; j < flen-strlen(buf); j++) printf(" "); printf("%s", buf); } printf("\n");  for (j = 0; j < lineLen; j++) printf("="); printf("\n");
int printTemplate(void* ipfixPrinter, SourceID sourceID, TemplateInfo* templateInfo) {	printf("\n-+--- Template\n");	printf(" `---\n\n");	return 0;	}