Searched refs:tdoc (Results 1 – 1 of 1) sorted by relevance
80 TidyDoc tdoc; in main() local92 tdoc = tidyCreate(); in main()93 tidyOptSetBool(tdoc, TidyForceOutput, yes); /* try harder */ in main()94 tidyOptSetInt(tdoc, TidyWrapLen, 4096); in main()95 tidySetErrorBuffer(tdoc, &tidy_errbuf); in main()101 err = tidyParseBuffer(tdoc, &docbuf); /* parse the input */ in main()103 err = tidyCleanAndRepair(tdoc); /* fix any problems */ in main()105 err = tidyRunDiagnostics(tdoc); /* load tidy error buffer */ in main()107 dumpNode(tdoc, tidyGetRoot(tdoc), 0); /* walk the tree */ in main()120 tidyRelease(tdoc); in main()