Current File : //opt/RZruby/share/doc/ruby/html/d9/d27/yamlbyte_8h_source.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.5"/>
<title>Ruby: ext/syck/yamlbyte.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="../../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">Ruby
   &#160;<span id="projectnumber">1.9.3p551(2014-11-13revision48407)</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_31cedd4509e06940f559c1ca2f722e02.html">ext</a></li><li class="navelem"><a class="el" href="../../dir_82886336ce0fa06807398e026665a941.html">syck</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">yamlbyte.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d9/d27/yamlbyte_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>&#160;<span class="comment">/*  yamlbyte.h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *  The YAML bytecode &quot;C&quot; interface header file.   See the YAML bytecode</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  reference for bytecode sequence rules and for the meaning of each</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  bytecode.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef YAMLBYTE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;stddef.h&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">/* define what a character is */</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ae0f17848ef17a18f44a9650738e9daba">   13</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="../../d9/d27/yamlbyte_8h.html#ae0f17848ef17a18f44a9650738e9daba">yamlbyte_utf8_t</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a4eedf868f9079a7c220b78cd3ad50237">   14</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="../../d9/d27/yamlbyte_8h.html#a4eedf868f9079a7c220b78cd3ad50237">yamlbyte_utf16_t</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#ifdef YAMLBYTE_UTF8</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">  #ifdef YAMLBYTE_UTF16</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor"></span><span class="preprocessor">    #error Must only define YAMLBYTE_UTF8 or YAMLBYTE_UTF16</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">  #endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="../../d9/d27/yamlbyte_8h.html#ae0f17848ef17a18f44a9650738e9daba">yamlbyte_utf8_t</a> yamlbyte_char_t;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">  #ifdef YAMLBYTE_UTF16</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span>    <span class="keyword">typedef</span> <a class="code" href="../../d9/d27/yamlbyte_8h.html#a4eedf868f9079a7c220b78cd3ad50237">yamlbyte_utf16_t</a> yamlbyte_char_t;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">  #else</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor"></span><span class="preprocessor">    #error Must define YAMLBYTE_UTF8 or YAMLBYTE_UTF16</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor"></span><span class="preprocessor">  #endif</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">/* specify list of bytecodes */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a14e004f32cc19674e3f3ac39e8d3ec53">   29</a></span>&#160;<span class="preprocessor">#define YAMLBYTE_FINISH          ((yamlbyte_char_t) 0)</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aec7dbc0b806e4990363df5a4019444be">   30</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_DOCUMENT        ((yamlbyte_char_t)&#39;D&#39;)</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa27bae8093597281450d7dab4e35b76b">   31</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_DIRECTIVE       ((yamlbyte_char_t)&#39;V&#39;)</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a1f52f3fce3c1d662d704b0bc013dd37e">   32</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_PAUSE           ((yamlbyte_char_t)&#39;P&#39;)</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a9428f8adb8cc7859527e17329ec370de">   33</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_MAPPING         ((yamlbyte_char_t)&#39;M&#39;)</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ab4d313bd0fb44fbaa752f4318e6f33be">   34</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_SEQUENCE        ((yamlbyte_char_t)&#39;Q&#39;)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a3b22fcea441a6c89bd9b8487e3470066">   35</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_END_BRANCH      ((yamlbyte_char_t)&#39;E&#39;)</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a86d34c436b3fdd1f5917e3f7c5b8ddc9">   36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_SCALAR          ((yamlbyte_char_t)&#39;S&#39;)</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a976866e0c67e824c9b9af0b24e05e142">   37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_CONTINUE        ((yamlbyte_char_t)&#39;C&#39;)</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a4c945d21df29feebc4788e89c1475dd6">   38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_NEWLINE         ((yamlbyte_char_t)&#39;N&#39;)</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a34c500e264ec9be2aec4677c4daaadf0">   39</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_NULLCHAR        ((yamlbyte_char_t)&#39;Z&#39;)</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a1dac5decea2c00985f2bf31e49517ea5">   40</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_ANCHOR          ((yamlbyte_char_t)&#39;A&#39;)</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa0080a137257927dbb1c182cbe9309c5">   41</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_ALIAS           ((yamlbyte_char_t)&#39;R&#39;)</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa7f400192e8adb8692533492690bda4c">   42</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_TRANSFER        ((yamlbyte_char_t)&#39;T&#39;)</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"></span><span class="comment">/* formatting bytecodes */</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#af4ffeeeadd2795f67f02cfa685ba9e41">   44</a></span>&#160;<span class="preprocessor">#define YAMLBYTE_COMMENT         ((yamlbyte_char_t)&#39;c&#39;)</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ae52e92bfa31632fe16a547a99ab8eb0c">   45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_INDENT          ((yamlbyte_char_t)&#39;i&#39;)</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#afa862ed82d6629cc858c2fa37eda3e73">   46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_STYLE           ((yamlbyte_char_t)&#39;s&#39;)</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"></span><span class="comment">/* other bytecodes */</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a17b9abdd3e40a0129ffa57daba7d18ae">   48</a></span>&#160;<span class="preprocessor">#define YAMLBYTE_LINE_NUMBER     ((yamlbyte_char_t)&#39;#&#39;)</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aecbd42df86261fd7805c747eb9219b03">   49</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_WHOLE_SCALAR    ((yamlbyte_char_t)&#39;&lt;&#39;)</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ac244269684aaf10f591b348fb5f55936">   50</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_NOTICE          ((yamlbyte_char_t)&#39;!&#39;)</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a26c97728226873b4c774a5f2caaa78cb">   51</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_SPAN            ((yamlbyte_char_t)&#39;)&#39;)</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ae13677dcc421832a14906bb347004e95">   52</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_ALLOC           ((yamlbyte_char_t)&#39;@&#39;)</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">/* second level style bytecodes, ie &quot;s&gt;&quot; */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a4be5e6d39edb5e5316b420efa1b87c4c">   55</a></span>&#160;<span class="preprocessor">#define YAMLBYTE_FLOW            ((yamlbyte_char_t)&#39;&gt;&#39;)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a87b3b5508909d78886fcf64be3c6d578">   56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_LITERAL         ((yamlbyte_char_t)&#39;|&#39;)</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aacca999c514e40230be026c07945f086">   57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_BLOCK           ((yamlbyte_char_t)&#39;b&#39;)</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#af2abe78bffe58e0ffe2621cfe0d64a0f">   58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_PLAIN           ((yamlbyte_char_t)&#39;p&#39;)</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a773e1bcac236afaac59e0f8c380ed791">   59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_INLINE_MAPPING  ((yamlbyte_char_t)&#39;{&#39;)</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a31e2f825b0058096d304e920b7a17486">   60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_INLINE_SEQUENCE ((yamlbyte_char_t)&#39;[&#39;)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa330b08c985dad1d2d3dacc97e5eed1d">   61</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_SINGLE_QUOTED   ((yamlbyte_char_t)39)</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a121b7b846f0f0e29fe1c443e8d3f68f5">   62</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define YAMLBYTE_DOUBLE_QUOTED   ((yamlbyte_char_t)&#39;&quot;&#39;)</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment"> * The &quot;C&quot; API has two variants, one based on instructions,</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment"> * with events delivered via pointers; and the other one</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment"> * is character based where one or more instructions are</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment"> * serialized into a buffer.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment"> * Note: In the instruction based API, WHOLE_SCALAR does</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment"> *       not have the &#39;&lt;here&#39; marshalling stuff.</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa3dc1ada0056b1d56d6b1ee1f7462338">   74</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code" href="../../d9/d27/yamlbyte_8h.html#aa3dc1ada0056b1d56d6b1ee1f7462338">yamlbyte_consumer_t</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a9ab568aaff0d79cb9d4f24dd5ca3a2ca">   75</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code" href="../../d9/d27/yamlbyte_8h.html#a9ab568aaff0d79cb9d4f24dd5ca3a2ca">yamlbyte_producer_t</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">/* push and pull APIs need a way to communicate results */</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">   78</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a7845a36edc0a3eeb99c4d02b35371f8e">   79</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a7845a36edc0a3eeb99c4d02b35371f8e">YAMLBYTE_OK</a>          = 0,     <span class="comment">/* proceed                        */</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae317ee2f5be68dcc236db01773bb44d6">   80</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae317ee2f5be68dcc236db01773bb44d6">YAMLBYTE_E_MEMORY</a>    = <span class="charliteral">&#39;M&#39;</span>,   <span class="comment">/* could not allocate memory      */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a3fa03bcef24fac887ff7f9eba6d263e1">   81</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a3fa03bcef24fac887ff7f9eba6d263e1">YAMLBYTE_E_READ</a>      = <span class="charliteral">&#39;R&#39;</span>,   <span class="comment">/* input stream read error        */</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae4c055d5803f7783f35e7cc610363c74">   82</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae4c055d5803f7783f35e7cc610363c74">YAMLBYTE_E_WRITE</a>     = <span class="charliteral">&#39;W&#39;</span>,   <span class="comment">/* output stream write error      */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22aa7ff812795a9055bc7628c286b3eecbc">   83</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22aa7ff812795a9055bc7628c286b3eecbc">YAMLBYTE_E_OTHER</a>     = <span class="charliteral">&#39;?&#39;</span>,   <span class="comment">/* some other error condition     */</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a2f7d80029360d395b039507caa44f1f6">   84</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a2f7d80029360d395b039507caa44f1f6">YAMLBYTE_E_PARSE</a>     = <span class="charliteral">&#39;P&#39;</span>,   <span class="comment">/* parse error, check bytecodes   */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ab502e46201ec7ec26bc413d163011e63">   85</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ab502e46201ec7ec26bc413d163011e63">YAMLBYTE_MAX</a></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;} <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">   88</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">const</span> yamlbyte_char_t *<a class="code" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment"> *  The &quot;Instruction&quot; API</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../d4/d1d/structyaml__instruction.html">   94</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="../../d4/d1d/structyaml__instruction.html">yaml_instruction</a> {</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="../../d4/d1d/structyaml__instruction.html#a63079232e5ecf92cc381370192d0d569">   95</a></span>&#160;    yamlbyte_char_t <a class="code" href="../../d4/d1d/structyaml__instruction.html#a63079232e5ecf92cc381370192d0d569">bytecode</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d4/d1d/structyaml__instruction.html#a66b546b7f7b807b37e24af49519d91bd">   96</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a> <a class="code" href="../../d4/d1d/structyaml__instruction.html#a66b546b7f7b807b37e24af49519d91bd">start</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d4/d1d/structyaml__instruction.html#ac0fc6b10de184a646b9104d30ab2a534">   97</a></span>&#160;    <a class="code" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a> <a class="code" href="../../d4/d1d/structyaml__instruction.html#ac0fc6b10de184a646b9104d30ab2a534">finish</a>;  <span class="comment">/* open range, *finish is _not_ part */</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;} *<a class="code" href="../../d9/d27/yamlbyte_8h.html#acb7142cce9066576965e7f1c1d87e8ed">yamlbyte_inst_t</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">/* producer pushes the instruction with one bytecode event to the</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment"> * consumer; if the consumer&#39;s result is not YAMLBYTE_OK, then</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment"> * the producer should stop */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">typedef</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a575e90c7d9cf2027abc5980f8918a36b">  105</a></span>&#160;   (*<a class="code" href="../../d9/d27/yamlbyte_8h.html#a575e90c7d9cf2027abc5980f8918a36b">yamlbyte_push_t</a>)(</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;     <a class="code" href="../../d9/d27/yamlbyte_8h.html#aa3dc1ada0056b1d56d6b1ee1f7462338">yamlbyte_consumer_t</a> <span class="keyword">self</span>,</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;     <a class="code" href="../../d4/d1d/structyaml__instruction.html">yamlbyte_inst_t</a>  inst</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;   );</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">/* consumer pulls a bytecode instruction from the producer; in this</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment"> * case the instruction (and is buffer) are owned by the producer and</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment"> * will remain valid till the pull function is called once again;</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment"> * if the instruction is NULL, then there are no more results; and</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment"> * it is important to call the pull function till it returns NULL so</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment"> * that the producer can clean up its memory allocations */</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keyword">typedef</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;   <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a279a25883f705a3247a3e419707efee4">  118</a></span>&#160;    (*<a class="code" href="../../d9/d27/yamlbyte_8h.html#a279a25883f705a3247a3e419707efee4">yamlbyte_pull_t</a>)(</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;      <a class="code" href="../../d9/d27/yamlbyte_8h.html#a9ab568aaff0d79cb9d4f24dd5ca3a2ca">yamlbyte_producer_t</a> <span class="keyword">self</span>,</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;      <a class="code" href="../../d4/d1d/structyaml__instruction.html">yamlbyte_inst_t</a> *inst   <span class="comment">/* to be filled in by the producer */</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    );</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment"> *  Buffer based API</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">/* producer pushes a null terminated buffer filled with one or more</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment"> * bytecode events to the consumer; if the consumer&#39;s result is not</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment"> * YAMLBYTE_OK, then the producer should stop */</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">typedef</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#aa08d81835ecd0351e7a13bf36915ca1d">  132</a></span>&#160;   (*<a class="code" href="../../d9/d27/yamlbyte_8h.html#aa08d81835ecd0351e7a13bf36915ca1d">yamlbyte_pushbuff_t</a>)(</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;     <a class="code" href="../../d9/d27/yamlbyte_8h.html#aa3dc1ada0056b1d56d6b1ee1f7462338">yamlbyte_consumer_t</a> <span class="keyword">self</span>,</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;     <a class="code" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a>  buff</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;   );</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">/* consumer pulls bytecode events from the producer; in this case</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment"> * the buffer is owned by the producer, and will remain valid till</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment"> * the pull function is called once again; if the buffer pointer</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment"> * is set to NULL, then there are no more results; it is important</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment"> * to call the pull function till it returns NULL so that the</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment"> * producer can clean up its memory allocations */</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keyword">typedef</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;   <a class="code" href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#a225521302e069f9abcb544544cdb704a">  145</a></span>&#160;    (*<a class="code" href="../../d9/d27/yamlbyte_8h.html#a225521302e069f9abcb544544cdb704a">yamlbyte_pullbuff_t</a>)(</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      <a class="code" href="../../d9/d27/yamlbyte_8h.html#a9ab568aaff0d79cb9d4f24dd5ca3a2ca">yamlbyte_producer_t</a> <span class="keyword">self</span>,</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;      <a class="code" href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a> *buff   <span class="comment">/* to be filled in by the producer */</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    );</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment">/* convert a pull interface to a push interface; the reverse process</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment"> * requires threads and thus is language dependent */</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="../../d9/d27/yamlbyte_8h.html#ad64b83a5387a44836f351a5b4995ffb1">  152</a></span>&#160;<span class="preprocessor">#define YAMLBYTE_PULL2PUSH(pull,producer,push,consumer,result)       \</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">    do {                                                         \</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">        yamlbyte_pullbuff_t _pull = (pull);                              \</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">        yamlbyte_pushbuff_t _push = (push);                              \</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">        yamlbyte_result_t _result = YAMLBYTE_OK;                         \</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">        yamlbyte_producer_t _producer = (producer);                  \</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">        yamlbyte_consumer_t _consumer = (consumer);                  \</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor">        while(1) {                                               \</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor">            yamlbyte_buff_t buff = NULL;                           \</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">            _result = _pull(_producer,&amp;buff);                    \</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">            if(YAMLBYTE_OK != result || NULL == buff)                \</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">                break;                                           \</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">            _result = _push(_consumer,buff);                     \</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">            if(YAMLBYTE_OK != result)                                \</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">                break;                                           \</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">        }                                                        \</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">        (result) = _result;                                      \</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">    } while(0)</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="yamlbyte_8h_html_acb7142cce9066576965e7f1c1d87e8ed"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#acb7142cce9066576965e7f1c1d87e8ed">yamlbyte_inst_t</a></div><div class="ttdeci">struct yaml_instruction * yamlbyte_inst_t</div></div>
<div class="ttc" id="yamlbyte_8h_html_ad9b6c2e2cad594a6dd14f78e938a2fe0"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#ad9b6c2e2cad594a6dd14f78e938a2fe0">yamlbyte_buff_t</a></div><div class="ttdeci">const yamlbyte_char_t * yamlbyte_buff_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00088">yamlbyte.h:88</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_a279a25883f705a3247a3e419707efee4"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#a279a25883f705a3247a3e419707efee4">yamlbyte_pull_t</a></div><div class="ttdeci">yamlbyte_result_t(* yamlbyte_pull_t)(yamlbyte_producer_t self, yamlbyte_inst_t *inst)</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00118">yamlbyte.h:118</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22">yamlbyte_result_t</a></div><div class="ttdeci">yamlbyte_result_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00078">yamlbyte.h:78</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_a575e90c7d9cf2027abc5980f8918a36b"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#a575e90c7d9cf2027abc5980f8918a36b">yamlbyte_push_t</a></div><div class="ttdeci">yamlbyte_result_t(* yamlbyte_push_t)(yamlbyte_consumer_t self, yamlbyte_inst_t inst)</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00105">yamlbyte.h:105</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22ae317ee2f5be68dcc236db01773bb44d6"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae317ee2f5be68dcc236db01773bb44d6">YAMLBYTE_E_MEMORY</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00080">yamlbyte.h:80</a></div></div>
<div class="ttc" id="structyaml__instruction_html_a66b546b7f7b807b37e24af49519d91bd"><div class="ttname"><a href="../../d4/d1d/structyaml__instruction.html#a66b546b7f7b807b37e24af49519d91bd">yaml_instruction::start</a></div><div class="ttdeci">yamlbyte_buff_t start</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00096">yamlbyte.h:96</a></div></div>
<div class="ttc" id="structyaml__instruction_html_ac0fc6b10de184a646b9104d30ab2a534"><div class="ttname"><a href="../../d4/d1d/structyaml__instruction.html#ac0fc6b10de184a646b9104d30ab2a534">yaml_instruction::finish</a></div><div class="ttdeci">yamlbyte_buff_t finish</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00097">yamlbyte.h:97</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_ae0f17848ef17a18f44a9650738e9daba"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#ae0f17848ef17a18f44a9650738e9daba">yamlbyte_utf8_t</a></div><div class="ttdeci">unsigned char yamlbyte_utf8_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00013">yamlbyte.h:13</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22a7845a36edc0a3eeb99c4d02b35371f8e"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a7845a36edc0a3eeb99c4d02b35371f8e">YAMLBYTE_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00079">yamlbyte.h:79</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22ae4c055d5803f7783f35e7cc610363c74"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ae4c055d5803f7783f35e7cc610363c74">YAMLBYTE_E_WRITE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00082">yamlbyte.h:82</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22a3fa03bcef24fac887ff7f9eba6d263e1"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a3fa03bcef24fac887ff7f9eba6d263e1">YAMLBYTE_E_READ</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00081">yamlbyte.h:81</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_aa3dc1ada0056b1d56d6b1ee1f7462338"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#aa3dc1ada0056b1d56d6b1ee1f7462338">yamlbyte_consumer_t</a></div><div class="ttdeci">void * yamlbyte_consumer_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00074">yamlbyte.h:74</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22a2f7d80029360d395b039507caa44f1f6"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22a2f7d80029360d395b039507caa44f1f6">YAMLBYTE_E_PARSE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00084">yamlbyte.h:84</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22ab502e46201ec7ec26bc413d163011e63"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22ab502e46201ec7ec26bc413d163011e63">YAMLBYTE_MAX</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00085">yamlbyte.h:85</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_a9ab568aaff0d79cb9d4f24dd5ca3a2ca"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#a9ab568aaff0d79cb9d4f24dd5ca3a2ca">yamlbyte_producer_t</a></div><div class="ttdeci">void * yamlbyte_producer_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00075">yamlbyte.h:75</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_aa08d81835ecd0351e7a13bf36915ca1d"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#aa08d81835ecd0351e7a13bf36915ca1d">yamlbyte_pushbuff_t</a></div><div class="ttdeci">yamlbyte_result_t(* yamlbyte_pushbuff_t)(yamlbyte_consumer_t self, yamlbyte_buff_t buff)</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00132">yamlbyte.h:132</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_a4eedf868f9079a7c220b78cd3ad50237"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#a4eedf868f9079a7c220b78cd3ad50237">yamlbyte_utf16_t</a></div><div class="ttdeci">unsigned short yamlbyte_utf16_t</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00014">yamlbyte.h:14</a></div></div>
<div class="ttc" id="structyaml__instruction_html_a63079232e5ecf92cc381370192d0d569"><div class="ttname"><a href="../../d4/d1d/structyaml__instruction.html#a63079232e5ecf92cc381370192d0d569">yaml_instruction::bytecode</a></div><div class="ttdeci">yamlbyte_char_t bytecode</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00095">yamlbyte.h:95</a></div></div>
<div class="ttc" id="structyaml__instruction_html"><div class="ttname"><a href="../../d4/d1d/structyaml__instruction.html">yaml_instruction</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00094">yamlbyte.h:94</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_a225521302e069f9abcb544544cdb704a"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#a225521302e069f9abcb544544cdb704a">yamlbyte_pullbuff_t</a></div><div class="ttdeci">yamlbyte_result_t(* yamlbyte_pullbuff_t)(yamlbyte_producer_t self, yamlbyte_buff_t *buff)</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00145">yamlbyte.h:145</a></div></div>
<div class="ttc" id="yamlbyte_8h_html_adabc6f1bf5ee10b756af2a71f9768c22aa7ff812795a9055bc7628c286b3eecbc"><div class="ttname"><a href="../../d9/d27/yamlbyte_8h.html#adabc6f1bf5ee10b756af2a71f9768c22aa7ff812795a9055bc7628c286b3eecbc">YAMLBYTE_E_OTHER</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d27/yamlbyte_8h_source.html#l00083">yamlbyte.h:83</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>