1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#ifndef __FILEIO_H__
#define __FILEIO_H__
/** @file fileio.h - does standard C I/O
Implementation of a FILE* based TidyInputSource and
TidyOutputSink.
(c) 1998-2005 (W3C) MIT, ERCIM, Keio University
See tidy.h for the copyright notice.
CVS Info:
$Author: arnaud02 $
$Date: 2005/04/08 09:11:12 $
$Revision: 1.5 $
*/
#include "buffio.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Allocate and initialize file input source */
void TIDY_CALL initFileSource( TidyInputSource* source, FILE* fp );
/** Free file input source */
void TIDY_CALL freeFileSource( TidyInputSource* source, Bool closeIt );
/** Initialize file output sink */
void TIDY_CALL initFileSink( TidyOutputSink* sink, FILE* fp );
/* Needed for internal declarations */
void TIDY_CALL filesink_putByte( ulong sinkData, byte bv );
#ifdef __cplusplus
}
#endif
#endif /* __FILEIO_H__ */
|