"Fossies" - the Fresh Open Source Software Archive

Member "tidy-html5-5.8.0/src/fileio.h" (16 Jul 2021, 1198 Bytes) of package /linux/www/tidy-html5-5.8.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "fileio.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 5.7.28_vs_5.8.0.

    1 #ifndef __FILEIO_H__
    2 #define __FILEIO_H__
    3 
    4 /** @file fileio.h - does standard C I/O
    5 
    6   Implementation of a FILE* based TidyInputSource and 
    7   TidyOutputSink.
    8 
    9   (c) 1998-2007 (W3C) MIT, ERCIM, Keio University
   10   See tidy.h for the copyright notice.
   11 
   12 */
   13 
   14 #include "tidybuffio.h"
   15 #ifdef __cplusplus
   16 extern "C" {
   17 #endif
   18 
   19 /** Allocate and initialize file input source */
   20 TY_PRIVATE int TY_(initFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp );
   21 
   22 /** Free file input source */
   23 TY_PRIVATE void TY_(freeFileSource)( TidyInputSource* source, Bool closeIt );
   24 
   25 #if SUPPORT_POSIX_MAPPED_FILES
   26 /** Allocate and initialize file input source using Standard C I/O */
   27 TY_PRIVATE int TY_(initStdIOFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp );
   28 
   29 /** Free file input source using Standard C I/O */
   30 TY_PRIVATE void TY_(freeStdIOFileSource)( TidyInputSource* source, Bool closeIt );
   31 #endif
   32 
   33 /** Initialize file output sink */
   34 TY_PRIVATE void TY_(initFileSink)( TidyOutputSink* sink, FILE* fp );
   35 
   36 /* Needed for internal declarations */
   37 TY_PRIVATE void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv );
   38 
   39 #ifdef __cplusplus
   40 }
   41 #endif
   42 #endif /* __FILEIO_H__ */