211 lines
28 KiB
HTML
211 lines
28 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: buffio.h Source File</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('buffio_8h_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">buffio.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="buffio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef __TIDY_BUFFIO_H__</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define __TIDY_BUFFIO_H__</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/** @file buffio.h - Treat buffer as an I/O stream.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> (c) 1998-2007 (W3C) MIT, ERCIM, Keio University</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> See tidy.h for the copyright notice.</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> Requires buffer to automatically grow as bytes are added.</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Must keep track of current read and write points.</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "platform.h"</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="tidy_8h.html">tidy.h</a>"</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">/** TidyBuffer - A chunk of memory */</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> TIDY_STRUCT</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html"> 23</a></span> <span class="keyword">struct </span><a class="code" href="struct__TidyBuffer.html">_TidyBuffer</a> </div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> {</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html#ab6655c52ed81490e8016976a4810a330"> 25</a></span>  <a class="code" href="struct__TidyAllocator.html">TidyAllocator</a>* <a class="code" href="struct__TidyBuffer.html#ab6655c52ed81490e8016976a4810a330">allocator</a>; <span class="comment">/**< Memory allocator */</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html#a2b1c3814410eefbe2168b248485eea91"> 26</a></span>  byte* <a class="code" href="struct__TidyBuffer.html#a2b1c3814410eefbe2168b248485eea91">bp</a>; <span class="comment">/**< Pointer to bytes */</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html#a227728492f6266dec940bcc541046cd9"> 27</a></span>  uint <a class="code" href="struct__TidyBuffer.html#a227728492f6266dec940bcc541046cd9">size</a>; <span class="comment">/**< # bytes currently in use */</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html#a523a1f5f2a1b0333d70b9d8a5a52de13"> 28</a></span>  uint <a class="code" href="struct__TidyBuffer.html#a523a1f5f2a1b0333d70b9d8a5a52de13">allocated</a>; <span class="comment">/**< # bytes allocated */</span> </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct__TidyBuffer.html#af607eaeb44ae6d8f2371e1e05b016caf"> 29</a></span>  uint <a class="code" href="struct__TidyBuffer.html#af607eaeb44ae6d8f2371e1e05b016caf">next</a>; <span class="comment">/**< Offset of current input position */</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> };</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/** Initialize data structure using the default allocator */</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a3cf251a96f69f05495744af6c9d0339b">tidyBufInit</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">/** Initialize data structure using the given custom allocator */</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#aff43ddd9fc78532617d88db55b164f5e">tidyBufInitWithAllocator</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, <a class="code" href="struct__TidyAllocator.html">TidyAllocator</a>* allocator );</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">/** Free current buffer, allocate given amount, reset input pointer,</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> use the default allocator */</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a896654bd99113bfe5e86b924836aacc3">tidyBufAlloc</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, uint allocSize );</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">/** Free current buffer, allocate given amount, reset input pointer,</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> use the given custom allocator */</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a57c832b4ddbc19a329a5ab9936eb5826">tidyBufAllocWithAllocator</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf,</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="struct__TidyAllocator.html">TidyAllocator</a>* allocator,</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  uint allocSize );</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">/** Expand buffer to given size. </span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">** Chunk size is minimum growth. Pass 0 for default of 256 bytes.</span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a7a66ba1f574955d1fc1de57476e849f2">tidyBufCheckAlloc</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf,</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  uint allocSize, uint chunkSize );</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment">/** Free current contents and zero out */</span></div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a65aae9ae4b499e62038700f4792849fc">tidyBufFree</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">/** Set buffer bytes to 0 */</span></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#aa94e59f613a495b17e90c1c4778c3911">tidyBufClear</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">/** Attach to existing buffer */</span></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#ac5909e78d98583cb245dd2004469bb93">tidyBufAttach</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, byte* bp, uint size );</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">/** Detach from buffer. Caller must free. */</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a8da2bf473b14e6bdd5cd40fc47c29903">tidyBufDetach</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">/** Append bytes to buffer. Expand if necessary. */</span></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#ad59b32f81789b634758274f34be4d25b">tidyBufAppend</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, <span class="keywordtype">void</span>* vp, uint size );</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">/** Append one byte to buffer. Expand if necessary. */</span></div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#af48af586ada5ff264501fe9ef4c67dd1">tidyBufPutByte</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, byte bv );</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">/** Get byte from end of buffer */</span></div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> TIDY_EXPORT <span class="keywordtype">int</span> TIDY_CALL <a class="code" href="buffio_8h.html#af8b1e8fbe3c29d08250794d7e4925ea6">tidyBufPopByte</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment">/** Get byte from front of buffer. Increment input offset. */</span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> TIDY_EXPORT <span class="keywordtype">int</span> TIDY_CALL <a class="code" href="buffio_8h.html#a5a2e0c47b4b14b5beb17ac982fa21eeb">tidyBufGetByte</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment">/** At end of buffer? */</span></div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> TIDY_EXPORT Bool TIDY_CALL <a class="code" href="buffio_8h.html#a7e7d8e58623c8bde00d66141edb2cae0">tidyBufEndOfInput</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment">/** Put a byte back into the buffer. Decrement input offset. */</span></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a1d1f2039b769381d418ac1187b50b292">tidyBufUngetByte</a>( <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf, byte bv );</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">/**************</span></div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"> TIDY</span></div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">**************/</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">/* Forward declarations</span></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment">/** Initialize a buffer input source */</span></div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a73da3182aea89939af1d98504a3b2df0">tidyInitInputBuffer</a>( <a class="code" href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a>* inp, <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"></span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">/** Initialize a buffer output sink */</span></div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> TIDY_EXPORT <span class="keywordtype">void</span> TIDY_CALL <a class="code" href="buffio_8h.html#a882a92590a9e6ecce16d5b8e8db19fbb">tidyInitOutputBuffer</a>( <a class="code" href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a>* outp, <a class="code" href="struct__TidyBuffer.html">TidyBuffer</a>* buf );</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#endif </span><span class="comment">/* __TIDY_BUFFIO_H__ */</span><span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> * local variables:</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> * mode: c</span></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> * indent-tabs-mode: nil</span></div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> * c-basic-offset: 4</span></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> * eval: (c-set-offset 'substatement-open 0)</span></div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment"> * end:</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment"> */</span></div>
|
|
<div class="ttc" id="buffio_8h_html_a7a66ba1f574955d1fc1de57476e849f2"><div class="ttname"><a href="buffio_8h.html#a7a66ba1f574955d1fc1de57476e849f2">tidyBufCheckAlloc</a></div><div class="ttdeci">void TIDY_CALL tidyBufCheckAlloc(TidyBuffer *buf, uint allocSize, uint chunkSize)</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html"><div class="ttname"><a href="struct__TidyBuffer.html">_TidyBuffer</a></div><div class="ttdef"><b>Definition:</b> buffio.h:23</div></div>
|
|
<div class="ttc" id="struct__TidyAllocator_html"><div class="ttname"><a href="struct__TidyAllocator.html">_TidyAllocator</a></div><div class="ttdef"><b>Definition:</b> tidy.h:224</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a896654bd99113bfe5e86b924836aacc3"><div class="ttname"><a href="buffio_8h.html#a896654bd99113bfe5e86b924836aacc3">tidyBufAlloc</a></div><div class="ttdeci">void TIDY_CALL tidyBufAlloc(TidyBuffer *buf, uint allocSize)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_af8b1e8fbe3c29d08250794d7e4925ea6"><div class="ttname"><a href="buffio_8h.html#af8b1e8fbe3c29d08250794d7e4925ea6">tidyBufPopByte</a></div><div class="ttdeci">int TIDY_CALL tidyBufPopByte(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html_af607eaeb44ae6d8f2371e1e05b016caf"><div class="ttname"><a href="struct__TidyBuffer.html#af607eaeb44ae6d8f2371e1e05b016caf">_TidyBuffer::next</a></div><div class="ttdeci">uint next</div><div class="ttdef"><b>Definition:</b> buffio.h:29</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html_a2b1c3814410eefbe2168b248485eea91"><div class="ttname"><a href="struct__TidyBuffer.html#a2b1c3814410eefbe2168b248485eea91">_TidyBuffer::bp</a></div><div class="ttdeci">byte * bp</div><div class="ttdef"><b>Definition:</b> buffio.h:26</div></div>
|
|
<div class="ttc" id="buffio_8h_html_aa94e59f613a495b17e90c1c4778c3911"><div class="ttname"><a href="buffio_8h.html#aa94e59f613a495b17e90c1c4778c3911">tidyBufClear</a></div><div class="ttdeci">void TIDY_CALL tidyBufClear(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_aff43ddd9fc78532617d88db55b164f5e"><div class="ttname"><a href="buffio_8h.html#aff43ddd9fc78532617d88db55b164f5e">tidyBufInitWithAllocator</a></div><div class="ttdeci">void TIDY_CALL tidyBufInitWithAllocator(TidyBuffer *buf, TidyAllocator *allocator)</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html_ab6655c52ed81490e8016976a4810a330"><div class="ttname"><a href="struct__TidyBuffer.html#ab6655c52ed81490e8016976a4810a330">_TidyBuffer::allocator</a></div><div class="ttdeci">TidyAllocator * allocator</div><div class="ttdef"><b>Definition:</b> buffio.h:25</div></div>
|
|
<div class="ttc" id="tidy_8h_html"><div class="ttname"><a href="tidy_8h.html">tidy.h</a></div></div>
|
|
<div class="ttc" id="buffio_8h_html_a882a92590a9e6ecce16d5b8e8db19fbb"><div class="ttname"><a href="buffio_8h.html#a882a92590a9e6ecce16d5b8e8db19fbb">tidyInitOutputBuffer</a></div><div class="ttdeci">void TIDY_CALL tidyInitOutputBuffer(TidyOutputSink *outp, TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a57c832b4ddbc19a329a5ab9936eb5826"><div class="ttname"><a href="buffio_8h.html#a57c832b4ddbc19a329a5ab9936eb5826">tidyBufAllocWithAllocator</a></div><div class="ttdeci">void TIDY_CALL tidyBufAllocWithAllocator(TidyBuffer *buf, TidyAllocator *allocator, uint allocSize)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a8da2bf473b14e6bdd5cd40fc47c29903"><div class="ttname"><a href="buffio_8h.html#a8da2bf473b14e6bdd5cd40fc47c29903">tidyBufDetach</a></div><div class="ttdeci">void TIDY_CALL tidyBufDetach(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a73da3182aea89939af1d98504a3b2df0"><div class="ttname"><a href="buffio_8h.html#a73da3182aea89939af1d98504a3b2df0">tidyInitInputBuffer</a></div><div class="ttdeci">void TIDY_CALL tidyInitInputBuffer(TidyInputSource *inp, TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html_a227728492f6266dec940bcc541046cd9"><div class="ttname"><a href="struct__TidyBuffer.html#a227728492f6266dec940bcc541046cd9">_TidyBuffer::size</a></div><div class="ttdeci">uint size</div><div class="ttdef"><b>Definition:</b> buffio.h:27</div></div>
|
|
<div class="ttc" id="buffio_8h_html_ac5909e78d98583cb245dd2004469bb93"><div class="ttname"><a href="buffio_8h.html#ac5909e78d98583cb245dd2004469bb93">tidyBufAttach</a></div><div class="ttdeci">void TIDY_CALL tidyBufAttach(TidyBuffer *buf, byte *bp, uint size)</div></div>
|
|
<div class="ttc" id="group__IO_html_ga86fcc3c86bd63b26a559938bc38d34bb"><div class="ttname"><a href="group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb">TidyInputSource</a></div><div class="ttdeci">TIDY_STRUCT struct _TidyInputSource TidyInputSource</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a65aae9ae4b499e62038700f4792849fc"><div class="ttname"><a href="buffio_8h.html#a65aae9ae4b499e62038700f4792849fc">tidyBufFree</a></div><div class="ttdeci">void TIDY_CALL tidyBufFree(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a5a2e0c47b4b14b5beb17ac982fa21eeb"><div class="ttname"><a href="buffio_8h.html#a5a2e0c47b4b14b5beb17ac982fa21eeb">tidyBufGetByte</a></div><div class="ttdeci">int TIDY_CALL tidyBufGetByte(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_af48af586ada5ff264501fe9ef4c67dd1"><div class="ttname"><a href="buffio_8h.html#af48af586ada5ff264501fe9ef4c67dd1">tidyBufPutByte</a></div><div class="ttdeci">void TIDY_CALL tidyBufPutByte(TidyBuffer *buf, byte bv)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a7e7d8e58623c8bde00d66141edb2cae0"><div class="ttname"><a href="buffio_8h.html#a7e7d8e58623c8bde00d66141edb2cae0">tidyBufEndOfInput</a></div><div class="ttdeci">Bool TIDY_CALL tidyBufEndOfInput(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_ad59b32f81789b634758274f34be4d25b"><div class="ttname"><a href="buffio_8h.html#ad59b32f81789b634758274f34be4d25b">tidyBufAppend</a></div><div class="ttdeci">void TIDY_CALL tidyBufAppend(TidyBuffer *buf, void *vp, uint size)</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a1d1f2039b769381d418ac1187b50b292"><div class="ttname"><a href="buffio_8h.html#a1d1f2039b769381d418ac1187b50b292">tidyBufUngetByte</a></div><div class="ttdeci">void TIDY_CALL tidyBufUngetByte(TidyBuffer *buf, byte bv)</div></div>
|
|
<div class="ttc" id="struct__TidyBuffer_html_a523a1f5f2a1b0333d70b9d8a5a52de13"><div class="ttname"><a href="struct__TidyBuffer.html#a523a1f5f2a1b0333d70b9d8a5a52de13">_TidyBuffer::allocated</a></div><div class="ttdeci">uint allocated</div><div class="ttdef"><b>Definition:</b> buffio.h:28</div></div>
|
|
<div class="ttc" id="buffio_8h_html_a3cf251a96f69f05495744af6c9d0339b"><div class="ttname"><a href="buffio_8h.html#a3cf251a96f69f05495744af6c9d0339b">tidyBufInit</a></div><div class="ttdeci">void TIDY_CALL tidyBufInit(TidyBuffer *buf)</div></div>
|
|
<div class="ttc" id="group__IO_html_ga6bdd15de48364d2b5dbf2141109d3f98"><div class="ttname"><a href="group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98">TidyOutputSink</a></div><div class="ttdeci">TIDY_STRUCT struct _TidyOutputSink TidyOutputSink</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="buffio_8h.html">buffio.h</a></li>
|
|
<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>
|