fileio.h Source File

# fileio.h

Go to the documentation of this file.

    00001 #ifndef __FILEIO_H__
    00002 #define __FILEIO_H__
    00003
    00004 /** @file fileio.h - does standard C I/O
    00005
    00006   Implementation of a FILE* based TidyInputSource and
    00007   TidyOutputSink.
    00008
    00009   (c) 1998-2002 (W3C) MIT, INRIA, Keio University
    00010   See tidy.h for the copyright notice.
    00011
    00012   CVS Info:
    00013     $Author: creitzel $
    00014     $Date: 2003/02/16 19:33:06 $
    00015     $Revision: 1.2 $
    00016 */
    00017
    00018 #include "buffio.h"
    00019 #ifdef __cplusplus
    00020 extern "C" {
    00021 #endif
    00022
    00023 /** Allocate and initialize file input source */
    00024 void initFileSource( TidyInputSource* source, FILE* fp );
    00025
    00026 /** Free file input source */
    00027 void freeFileSource( TidyInputSource* source, Bool closeIt );
    00028
    00029 /** Initialize file output sink */
    00030 void initFileSink( TidyOutputSink* sink, FILE* fp );
    00031
    00032 /* Needed for internal declarations */
    00033 void filesink_putByte( uint sinkData, byte bv );
    00034
    00035 #ifdef __cplusplus
    00036 }
    00037 #endif
    00038 #endif /* __FILEIO_H__ */