82 #ifdef TIDY_WIN32_MLANG_SUPPORT 86 #ifdef TIDY_STORE_ORIGINAL_TEXT 96 StreamIn*
TY_(initStreamIn)( TidyDocImpl* doc,
int encoding );
97 void TY_(freeStreamIn)(StreamIn* in);
99 StreamIn*
TY_(FileInput)( TidyDocImpl* doc, FILE* fp,
int encoding );
100 StreamIn*
TY_(BufferInput)( TidyDocImpl* doc, TidyBuffer* content,
int encoding );
103 int TY_(ReadBOMEncoding)(StreamIn *in);
104 uint TY_(ReadChar)( StreamIn* in );
105 void TY_(UngetChar)(
uint c, StreamIn* in );
106 Bool TY_(IsEOF)( StreamIn* in );
119 #ifdef TIDY_WIN32_MLANG_SUPPORT 127 StreamOut*
TY_(FileOutput)( TidyDocImpl *doc, FILE* fp,
int encoding,
uint newln );
128 StreamOut*
TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf,
int encoding,
uint newln );
131 StreamOut*
TY_(StdErrOutput)(void);
133 void TY_(ReleaseStreamOut)( TidyDocImpl *doc, StreamOut* out );
135 void TY_(WriteChar)(
uint c, StreamOut* out );
136 void TY_(outBOM)( StreamOut *out );
140 int TY_(GetCharEncodingFromOptName)(
ctmbstr charenc);
158 #if SUPPORT_UTF16_ENCODINGS 168 #if SUPPORT_ASIAN_ENCODINGS 169 #if SUPPORT_UTF16_ENCODINGS 178 #ifdef TIDY_WIN32_MLANG_SUPPORT 180 #define WIN32MLANG 36 201 #if defined(MAC_OS_CLASSIC) 202 #define DEFAULT_NL_CONFIG TidyCR 203 #elif defined(_WIN32) || defined(OS2_OS) 204 #define DEFAULT_NL_CONFIG TidyCRLF 206 #define DEFAULT_NL_CONFIG TidyLF TidyDocImpl * doc
Definition: streamio.h:93
Definition: streamio.h:59
uint bufpos
Definition: streamio.h:69
Treat buffer as an I/O stream.
tchar * charbuf
Definition: streamio.h:68
ISO2022State state
Definition: streamio.h:65
uint nl
Definition: streamio.h:117
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:113
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
TidyOutputSink - accepts raw bytes of output.
Definition: tidy.h:613
Definition: streamio.h:58
TidyOutputSink sink
Definition: streamio.h:124
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