518 lines
26 KiB
HTML
518 lines
26 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.9.1"/>
|
||
|
<title>HTML Tidy: I/O and Messages</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="resize.js"></script>
|
||
|
<script type="text/javascript" src="navtreedata.js"></script>
|
||
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">HTML Tidy
|
||
|
 <span id="projectnumber">4.9.15</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">The HTACG Tidy HTML Project</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){initNavTree('group__IO.html','');});
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#nested-classes">Data Structures</a> |
|
||
|
<a href="#define-members">Macros</a> |
|
||
|
<a href="#typedef-members">Typedefs</a> |
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">I/O and Messages</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||
|
Data Structures</h2></td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__TidyInputSource.html">_TidyInputSource</a></td></tr>
|
||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__TidyOutputSink.html">_TidyOutputSink</a></td></tr>
|
||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||
|
Macros</h2></td></tr>
|
||
|
<tr class="memitem:ga9a078b706ec6f37cce40958f6f68585a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga9a078b706ec6f37cce40958f6f68585a">EndOfStream</a>   (~0u)</td></tr>
|
||
|
<tr class="separator:ga9a078b706ec6f37cce40958f6f68585a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||
|
Typedefs</h2></td></tr>
|
||
|
<tr class="memitem:ga99e9bd01465d9fb642f4eadd69da6f9d"><td class="memItemLeft" align="right" valign="top">typedef int(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga99e9bd01465d9fb642f4eadd69da6f9d">TidyGetByteFunc</a>) (void *sourceData)</td></tr>
|
||
|
<tr class="separator:ga99e9bd01465d9fb642f4eadd69da6f9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga275970452afdc581d04459fa728b6fec"><td class="memItemLeft" align="right" valign="top">typedef void(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga275970452afdc581d04459fa728b6fec">TidyUngetByteFunc</a>) (void *sourceData, byte bt)</td></tr>
|
||
|
<tr class="separator:ga275970452afdc581d04459fa728b6fec"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga1405248cf7f1edf8af8d487f0b877e0e"><td class="memItemLeft" align="right" valign="top">typedef Bool(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga1405248cf7f1edf8af8d487f0b877e0e">TidyEOFFunc</a>) (void *sourceData)</td></tr>
|
||
|
<tr class="separator:ga1405248cf7f1edf8af8d487f0b877e0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga86fcc3c86bd63b26a559938bc38d34bb"><td class="memItemLeft" align="right" valign="top">typedef TIDY_STRUCT struct <a class="el" href="struct__TidyInputSource.html">_TidyInputSource</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a></td></tr>
|
||
|
<tr class="separator:ga86fcc3c86bd63b26a559938bc38d34bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga0b43a69751965e7ee696085f687057e2"><td class="memItemLeft" align="right" valign="top">typedef void(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga0b43a69751965e7ee696085f687057e2">TidyPutByteFunc</a>) (void *sinkData, byte bt)</td></tr>
|
||
|
<tr class="separator:ga0b43a69751965e7ee696085f687057e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga6bdd15de48364d2b5dbf2141109d3f98"><td class="memItemLeft" align="right" valign="top">typedef TIDY_STRUCT struct <a class="el" href="struct__TidyOutputSink.html">_TidyOutputSink</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a></td></tr>
|
||
|
<tr class="separator:ga6bdd15de48364d2b5dbf2141109d3f98"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaf35a07b104206fa38abafa82969b6824"><td class="memItemLeft" align="right" valign="top">typedef Bool(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#gaf35a07b104206fa38abafa82969b6824">TidyReportFilter</a>) (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg)</td></tr>
|
||
|
<tr class="separator:gaf35a07b104206fa38abafa82969b6824"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga07e691cf775fb159d6c5b11dcf25c7a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga07e691cf775fb159d6c5b11dcf25c7a4"></a>
|
||
|
typedef Bool(TIDY_CALL * </td><td class="memItemRight" valign="bottom"><b>TidyReportFilter2</b>) (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg, va_list args)</td></tr>
|
||
|
<tr class="separator:ga07e691cf775fb159d6c5b11dcf25c7a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr class="memitem:gab446af273e331cb0440dd01b6990d2d0"><td class="memItemLeft" align="right" valign="top">Bool TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#gab446af273e331cb0440dd01b6990d2d0">tidyInitSource</a> (<a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> *source, void *srcData, <a class="el" href="group__IO.html#ga99e9bd01465d9fb642f4eadd69da6f9d">TidyGetByteFunc</a> gbFunc, <a class="el" href="group__IO.html#ga275970452afdc581d04459fa728b6fec">TidyUngetByteFunc</a> ugbFunc, <a class="el" href="group__IO.html#ga1405248cf7f1edf8af8d487f0b877e0e">TidyEOFFunc</a> endFunc)</td></tr>
|
||
|
<tr class="separator:gab446af273e331cb0440dd01b6990d2d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gadba396ffec9f29b27d73a23264dcfa0b"><td class="memItemLeft" align="right" valign="top">uint TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#gadba396ffec9f29b27d73a23264dcfa0b">tidyGetByte</a> (<a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> *source)</td></tr>
|
||
|
<tr class="separator:gadba396ffec9f29b27d73a23264dcfa0b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga0c8d46de315cabb0ac7d2cf01ca183d7"><td class="memItemLeft" align="right" valign="top">void TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga0c8d46de315cabb0ac7d2cf01ca183d7">tidyUngetByte</a> (<a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> *source, uint byteValue)</td></tr>
|
||
|
<tr class="separator:ga0c8d46de315cabb0ac7d2cf01ca183d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga399df5ba17614205964a665f7b1726a6"><td class="memItemLeft" align="right" valign="top">Bool TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga399df5ba17614205964a665f7b1726a6">tidyIsEOF</a> (<a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> *source)</td></tr>
|
||
|
<tr class="separator:ga399df5ba17614205964a665f7b1726a6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga7e93289be3a7253cdf99a96285e6a2d4"><td class="memItemLeft" align="right" valign="top">Bool TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga7e93289be3a7253cdf99a96285e6a2d4">tidyInitSink</a> (<a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> *sink, void *snkData, <a class="el" href="group__IO.html#ga0b43a69751965e7ee696085f687057e2">TidyPutByteFunc</a> pbFunc)</td></tr>
|
||
|
<tr class="separator:ga7e93289be3a7253cdf99a96285e6a2d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga2a34772782d7b786e37012fce4cd2425"><td class="memItemLeft" align="right" valign="top">void TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga2a34772782d7b786e37012fce4cd2425">tidyPutByte</a> (<a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> *sink, uint byteValue)</td></tr>
|
||
|
<tr class="separator:ga2a34772782d7b786e37012fce4cd2425"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga51e02523601388bb83c2555b995e68b0"><td class="memItemLeft" align="right" valign="top">Bool TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga51e02523601388bb83c2555b995e68b0">tidySetReportFilter</a> (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, <a class="el" href="group__IO.html#gaf35a07b104206fa38abafa82969b6824">TidyReportFilter</a> filtCallback)</td></tr>
|
||
|
<tr class="separator:ga51e02523601388bb83c2555b995e68b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga10ca415cf2bdb02887757ff8d961ab0a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga10ca415cf2bdb02887757ff8d961ab0a"></a>
|
||
|
Bool TIDY_CALL </td><td class="memItemRight" valign="bottom"><b>tidySetReportFilter2</b> (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, TidyReportFilter2 filtCallback)</td></tr>
|
||
|
<tr class="separator:ga10ca415cf2bdb02887757ff8d961ab0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga669758031bbd5d4ba957b19e77229c8b"><td class="memItemLeft" align="right" valign="top">FILE *TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga669758031bbd5d4ba957b19e77229c8b">tidySetErrorFile</a> (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, ctmbstr errfilnam)</td></tr>
|
||
|
<tr class="separator:ga669758031bbd5d4ba957b19e77229c8b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga5e5cffe93edf4bea0d3214be70d6f77b"><td class="memItemLeft" align="right" valign="top">int TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#ga5e5cffe93edf4bea0d3214be70d6f77b">tidySetErrorBuffer</a> (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, <a class="el" href="struct__TidyBuffer.html">TidyBuffer</a> *errbuf)</td></tr>
|
||
|
<tr class="separator:ga5e5cffe93edf4bea0d3214be70d6f77b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gad47c75f3af85e7927e7ac18918ec6363"><td class="memItemLeft" align="right" valign="top">int TIDY_CALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__IO.html#gad47c75f3af85e7927e7ac18918ec6363">tidySetErrorSink</a> (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, <a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> *sink)</td></tr>
|
||
|
<tr class="separator:gad47c75f3af85e7927e7ac18918ec6363"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<p>By default, Tidy will define, create and use instances of input and output handlers for standard C buffered I/O (i.e. FILE* stdin, FILE* stdout and FILE* stderr for content input, content output and diagnostic output, respectively. A FILE* cfgFile input handler will be used for config files. Command line options will just be set directly. </p>
|
||
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||
|
<a class="anchor" id="ga9a078b706ec6f37cce40958f6f68585a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define EndOfStream   (~0u)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>End of input "character" </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||
|
<a class="anchor" id="ga99e9bd01465d9fb642f4eadd69da6f9d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef int(TIDY_CALL * TidyGetByteFunc) (void *sourceData)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Input Callback: get next byte of input </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga275970452afdc581d04459fa728b6fec"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef void(TIDY_CALL * TidyUngetByteFunc) (void *sourceData, byte bt)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Input Callback: unget a byte of input </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga1405248cf7f1edf8af8d487f0b877e0e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef Bool(TIDY_CALL * TidyEOFFunc) (void *sourceData)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Input Callback: is end of input? </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga86fcc3c86bd63b26a559938bc38d34bb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef TIDY_STRUCT struct <a class="el" href="struct__TidyInputSource.html">_TidyInputSource</a> <a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>TidyInputSource - Delivers raw bytes of input </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga0b43a69751965e7ee696085f687057e2"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef void(TIDY_CALL * TidyPutByteFunc) (void *sinkData, byte bt)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Output callback: send a byte to output </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga6bdd15de48364d2b5dbf2141109d3f98"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef TIDY_STRUCT struct <a class="el" href="struct__TidyOutputSink.html">_TidyOutputSink</a> <a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>TidyOutputSink - accepts raw bytes of output </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaf35a07b104206fa38abafa82969b6824"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef Bool(TIDY_CALL * TidyReportFilter) (<a class="el" href="structTidyDoc.html">TidyDoc</a> tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Callback to filter messages by diagnostic level: info, warning, etc. Just set diagnostic output handler to redirect all diagnostics output. Return true to proceed with output, false to cancel. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Function Documentation</h2>
|
||
|
<a class="anchor" id="gab446af273e331cb0440dd01b6990d2d0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Bool TIDY_CALL tidyInitSource </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> * </td>
|
||
|
<td class="paramname"><em>source</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">void * </td>
|
||
|
<td class="paramname"><em>srcData</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga99e9bd01465d9fb642f4eadd69da6f9d">TidyGetByteFunc</a> </td>
|
||
|
<td class="paramname"><em>gbFunc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga275970452afdc581d04459fa728b6fec">TidyUngetByteFunc</a> </td>
|
||
|
<td class="paramname"><em>ugbFunc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga1405248cf7f1edf8af8d487f0b877e0e">TidyEOFFunc</a> </td>
|
||
|
<td class="paramname"><em>endFunc</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Facilitates user defined source by providing an entry point to marshal pointers-to-functions. Needed by .NET and possibly other language bindings. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gadba396ffec9f29b27d73a23264dcfa0b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint TIDY_CALL tidyGetByte </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> * </td>
|
||
|
<td class="paramname"><em>source</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Helper: get next byte from input source </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga0c8d46de315cabb0ac7d2cf01ca183d7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void TIDY_CALL tidyUngetByte </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> * </td>
|
||
|
<td class="paramname"><em>source</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"><em>byteValue</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Helper: unget byte back to input source </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga399df5ba17614205964a665f7b1726a6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Bool TIDY_CALL tidyIsEOF </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a> * </td>
|
||
|
<td class="paramname"><em>source</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Helper: check if input source at end </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga7e93289be3a7253cdf99a96285e6a2d4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Bool TIDY_CALL tidyInitSink </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> * </td>
|
||
|
<td class="paramname"><em>sink</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">void * </td>
|
||
|
<td class="paramname"><em>snkData</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga0b43a69751965e7ee696085f687057e2">TidyPutByteFunc</a> </td>
|
||
|
<td class="paramname"><em>pbFunc</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Facilitates user defined sinks by providing an entry point to marshal pointers-to-functions. Needed by .NET and possibly other language bindings. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga2a34772782d7b786e37012fce4cd2425"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void TIDY_CALL tidyPutByte </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> * </td>
|
||
|
<td class="paramname"><em>sink</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"><em>byteValue</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Helper: send a byte to output </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga51e02523601388bb83c2555b995e68b0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Bool TIDY_CALL tidySetReportFilter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="structTidyDoc.html">TidyDoc</a> </td>
|
||
|
<td class="paramname"><em>tdoc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#gaf35a07b104206fa38abafa82969b6824">TidyReportFilter</a> </td>
|
||
|
<td class="paramname"><em>filtCallback</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Give Tidy a filter callback to use </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga669758031bbd5d4ba957b19e77229c8b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">FILE* TIDY_CALL tidySetErrorFile </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="structTidyDoc.html">TidyDoc</a> </td>
|
||
|
<td class="paramname"><em>tdoc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">ctmbstr </td>
|
||
|
<td class="paramname"><em>errfilnam</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Set error sink to named file </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga5e5cffe93edf4bea0d3214be70d6f77b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int TIDY_CALL tidySetErrorBuffer </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="structTidyDoc.html">TidyDoc</a> </td>
|
||
|
<td class="paramname"><em>tdoc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="struct__TidyBuffer.html">TidyBuffer</a> * </td>
|
||
|
<td class="paramname"><em>errbuf</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Set error sink to given buffer </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gad47c75f3af85e7927e7ac18918ec6363"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int TIDY_CALL tidySetErrorSink </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="structTidyDoc.html">TidyDoc</a> </td>
|
||
|
<td class="paramname"><em>tdoc</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a> * </td>
|
||
|
<td class="paramname"><em>sink</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Set error sink to given generic sink </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="footer">Generated on Fri Feb 13 2015 12:51:21 for HTML Tidy by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|