The Public API is the API that LibTidy programmers must access in order to harness HTML Tidy as a library.
The API limits all exposure to internal structures and provides only accessors that return simple types such as C strings and integers, which makes it quite suitable for integration with any number of other languages.