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 );
 
  113 TY_PRIVATE StreamOut* 
TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf, 
int encoding, 
uint newln );
 
  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 
#define TY_PRIVATE
Definition: forward.h:29
 
#define TY_(str)
Definition: forward.h:23
 
This type defines an output destination capable of accepting raw bytes of output.
Definition: tidy.h:1129
 
IOType
Definition: streamio.h:25
 
@ FileIO
Definition: streamio.h:26
 
@ UserIO
Definition: streamio.h:28
 
@ BufferIO
Definition: streamio.h:27
 
int curline
Definition: streamio.h:76
 
uint bufsize
Definition: streamio.h:70
 
int curcol
Definition: streamio.h:75
 
unsigned short firstlastpos
Definition: streamio.h:74
 
uint bufpos
Definition: streamio.h:69
 
uint nl
Definition: streamio.h:107
 
int lastcols[LASTPOS_SIZE]
Definition: streamio.h:72
 
Bool pushed
Definition: streamio.h:66
 
tchar * charbuf
Definition: streamio.h:68
 
IOType iotype
Definition: streamio.h:78
 
TidyInputSource source
Definition: streamio.h:80
 
unsigned short curlastpos
Definition: streamio.h:73
 
TidyOutputSink sink
Definition: streamio.h:109
 
TidyAllocator * allocator
Definition: streamio.h:67
 
@ CHARBUF_SIZE
Definition: streamio.h:58
 
@ LASTPOS_SIZE
Definition: streamio.h:59
 
ISO2022State state
Definition: streamio.h:65
 
int encoding
Definition: streamio.h:77
 
int tabs
Definition: streamio.h:71
 
TidyDocImpl * doc
Definition: streamio.h:83
 
ISO2022State
Definition: streamio.h:43
 
@ FSM_ESCD
Definition: streamio.h:46
 
@ FSM_ESC
Definition: streamio.h:45
 
@ FSM_ESCP
Definition: streamio.h:48
 
@ FSM_NONASCII
Definition: streamio.h:49
 
@ FSM_ESCDP
Definition: streamio.h:47
 
@ FSM_ASCII
Definition: streamio.h:44
 
Definition: streamio.h:64
 
Definition: streamio.h:104
 
Treat buffer as a stream that Tidy can use for I/O operations.