HTML Tidy  5.9.15
The HTACG Tidy HTML Project
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. More...
 
TY_PRIVATE void TY_❪initFileSink❫ (TidyOutputSink *sink, FILE *fp)
 Initialize file output sink. More...
 
TY_PRIVATE int TY_❪initFileSource❫ (TidyAllocator *allocator, TidyInputSource *source, FILE *fp)
 Allocate and initialize file input source. More...
 

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.