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