86 TY_PRIVATE StreamIn*
TY_(initStreamIn)( TidyDocImpl* doc,
int encoding );
89 TY_PRIVATE StreamIn*
TY_(FileInput)( TidyDocImpl* doc, FILE* fp,
int encoding );
90 TY_PRIVATE StreamIn*
TY_(BufferInput)( TidyDocImpl* doc, TidyBuffer* content,
int encoding );
112 TY_PRIVATE StreamOut*
TY_(FileOutput)( TidyDocImpl *doc, FILE* fp,
int encoding,
uint newln );
113 TY_PRIVATE StreamOut*
TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf,
int encoding,
uint newln );
118 TY_PRIVATE void TY_(ReleaseStreamOut)( TidyDocImpl *doc, 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 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
#define TY_PRIVATE
Definition: forward.h:29
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