HTML Tidy
5.7.28
The HTACG Tidy HTML Project
|
|
Go to the documentation of this file.
86 StreamIn*
TY_(initStreamIn)( TidyDocImpl* doc,
int encoding );
87 void TY_(freeStreamIn)(StreamIn* in);
89 StreamIn*
TY_(FileInput)( TidyDocImpl* doc, FILE* fp,
int encoding );
90 StreamIn*
TY_(BufferInput)( TidyDocImpl* doc, TidyBuffer* content,
int encoding );
93 int TY_(ReadBOMEncoding)(StreamIn *in);
95 void TY_(UngetChar)(
uint c, StreamIn* in );
112 StreamOut*
TY_(FileOutput)( TidyDocImpl *doc, FILE* fp,
int encoding,
uint newln );
113 StreamOut*
TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf,
int encoding,
uint newln );
116 StreamOut*
TY_(StdErrOutput)(void);
118 void TY_(ReleaseStreamOut)( TidyDocImpl *doc, StreamOut* out );
120 void TY_(WriteChar)(
uint c, StreamOut* out );
121 void TY_(outBOM)( StreamOut *out );
165 #if defined(MAC_OS_CLASSIC)
166 # define DEFAULT_NL_CONFIG TidyCR
167 #elif defined(_WIN32) || defined(OS2_OS)
168 # define DEFAULT_NL_CONFIG TidyCRLF
170 # define DEFAULT_NL_CONFIG TidyLF
ISO2022State
Definition: streamio.h:43
@ UserIO
Definition: streamio.h:28
IOType iotype
Definition: streamio.h:78
@ FSM_ESCD
Definition: streamio.h:46
tchar * charbuf
Definition: streamio.h:68
unsigned short curlastpos
Definition: streamio.h:73
TidyAllocator * allocator
Definition: streamio.h:67
@ FSM_ESC
Definition: streamio.h:45
Definition: streamio.h:64
uint bufpos
Definition: streamio.h:69
This type defines an output destination capable of accepting raw bytes of output.
Definition: tidy.h:1129
int lastcols[LASTPOS_SIZE]
Definition: streamio.h:72
@ FileIO
Definition: streamio.h:26
int encoding
Definition: streamio.h:77
int curcol
Definition: streamio.h:75
@ FSM_ASCII
Definition: streamio.h:44
@ LASTPOS_SIZE
Definition: streamio.h:61
uint bufsize
Definition: streamio.h:70
TidyDocImpl * doc
Definition: streamio.h:83
int tabs
Definition: streamio.h:71
uint nl
Definition: streamio.h:109
@ CHARBUF_SIZE
Definition: streamio.h:60
unsigned short firstlastpos
Definition: streamio.h:74
Definition: streamio.h:104
TidyInputSource source
Definition: streamio.h:80
@ FSM_ESCP
Definition: streamio.h:48
Bool pushed
Definition: streamio.h:66
int curline
Definition: streamio.h:76
#define TY_(str)
Definition: forward.h:23
@ FSM_ESCDP
Definition: streamio.h:47
@ FSM_NONASCII
Definition: streamio.h:49
IOType
Definition: streamio.h:25
ISO2022State state
Definition: streamio.h:65
TidyOutputSink sink
Definition: streamio.h:111
@ BufferIO
Definition: streamio.h:27