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