~ubuntu-branches/ubuntu/lucid/tidy/lucid

« back to all changes in this revision

Viewing changes to include/fileio.h

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-01-20 21:46:03 UTC
  • mfrom: (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080120214603-poklofici9og61tx
Tags: 20080116cvs-2
* debian/control: build depends on xsltproc
  (closes: #461608)
* debian/tidy.preinst,postinst: add code to move old config file
  (closes: #461623)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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-2005 (W3C) MIT, ERCIM, Keio University
10
 
  See tidy.h for the copyright notice.
11
 
 
12
 
  CVS Info:
13
 
    $Author: arnaud02 $ 
14
 
    $Date: 2005/04/08 09:11:12 $ 
15
 
    $Revision: 1.5 $ 
16
 
*/
17
 
 
18
 
#include "buffio.h"
19
 
#ifdef __cplusplus
20
 
extern "C" {
21
 
#endif
22
 
 
23
 
/** Allocate and initialize file input source */
24
 
void TIDY_CALL initFileSource( TidyInputSource* source, FILE* fp );
25
 
 
26
 
/** Free file input source */
27
 
void TIDY_CALL freeFileSource( TidyInputSource* source, Bool closeIt );
28
 
 
29
 
/** Initialize file output sink */
30
 
void TIDY_CALL initFileSink( TidyOutputSink* sink, FILE* fp );
31
 
 
32
 
/* Needed for internal declarations */
33
 
void TIDY_CALL filesink_putByte( ulong sinkData, byte bv );
34
 
 
35
 
#ifdef __cplusplus
36
 
}
37
 
#endif
38
 
#endif /* __FILEIO_H__ */