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);
94 uint TY_(ReadChar)( StreamIn* in );
95 void TY_(UngetChar)(
uint c, StreamIn* in );
96 Bool TY_(IsEOF)( StreamIn* in );
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 );
125 int TY_(GetCharEncodingFromOptName)(
ctmbstr charenc);
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 TidyDocImpl * doc
Definition: streamio.h:83
Definition: streamio.h:59
uint bufpos
Definition: streamio.h:69
Treat buffer as a stream that Tidy can use for I/O operations.
tchar * charbuf
Definition: streamio.h:68
ISO2022State state
Definition: streamio.h:65
uint nl
Definition: streamio.h:107
unsigned short firstlastpos
Definition: streamio.h:74
int encoding
Definition: streamio.h:77
IOType
Definition: streamio.h:24
Definition: streamio.h:45
Definition: streamio.h:48
ISO2022State
Definition: streamio.h:42
Definition: streamio.h:49
TidyInputSource source
Definition: streamio.h:80
Definition: streamio.h:27
Bool pushed
Definition: streamio.h:66
Definition: streamio.h:63
int curline
Definition: streamio.h:76
Definition: streamio.h:46
unsigned short curlastpos
Definition: streamio.h:73
Definition: streamio.h:103
Definition: streamio.h:47
int lastcols[LASTPOS_SIZE]
Definition: streamio.h:72
int curcol
Definition: streamio.h:75
uint bufsize
Definition: streamio.h:70
Definition: streamio.h:44
This type defines an output destination capable of accepting raw bytes of output. ...
Definition: tidy.h:1128
Definition: streamio.h:58
TidyOutputSink sink
Definition: streamio.h:109
Definition: streamio.h:26
Definition: streamio.h:28
TidyAllocator * allocator
Definition: streamio.h:67
int tabs
Definition: streamio.h:71
#define TY_(str)
Definition: forward.h:23
IOType iotype
Definition: streamio.h:78