HTML Tidy  5.7.0
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

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

Function Documentation

void TIDY_CALL TY_❪filesink_putByte❫ ( void *  sinkData,
byte  bv 
)
void TY_❪freeFileSource❫ ( TidyInputSource source,
Bool  closeIt 
)

Free file input source.

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

Initialize file output sink.

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

Allocate and initialize file input source.