HTML Tidy 5.8.0
The HTACG Tidy HTML Project
Loading...
Searching...
No Matches
fileio.h File Reference

Detailed Description

  • does standard C I/O

Implementation of a FILE* based TidyInputSource and TidyOutputSink.

(c) 1998-2007 (W3C) MIT, ERCIM, Keio University See tidy.h for the copyright notice.

Go to the source code of this file.

Functions

TY_PRIVATE void TIDY_CALL TY_❪filesink_putByte❫ (void *sinkData, byte bv)
TY_PRIVATE void TY_❪freeFileSource❫ (TidyInputSource *source, Bool closeIt)
 Free file input source.
TY_PRIVATE void TY_❪initFileSink❫ (TidyOutputSink *sink, FILE *fp)
 Initialize file output sink.
TY_PRIVATE int TY_❪initFileSource❫ (TidyAllocator *allocator, TidyInputSource *source, FILE *fp)
 Allocate and initialize file input source.

Function Documentation

◆ TY_❪filesink_putByte❫()

TY_PRIVATE void TIDY_CALL TY_❪filesink_putByte❫ ( void * sinkData,
byte bv )

◆ TY_❪freeFileSource❫()

TY_PRIVATE void TY_❪freeFileSource❫ ( TidyInputSource * source,
Bool closeIt )

Free file input source.

◆ TY_❪initFileSink❫()

TY_PRIVATE void TY_❪initFileSink❫ ( TidyOutputSink * sink,
FILE * fp )

Initialize file output sink.

◆ TY_❪initFileSource❫()

TY_PRIVATE int TY_❪initFileSource❫ ( TidyAllocator * allocator,
TidyInputSource * source,
FILE * fp )

Allocate and initialize file input source.