/usr/share/proton-0.14.0/docs/api-c/scanner_8h_source.html is in libqpid-proton8-dev-doc 0.14.0-5.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | <!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>proton: /build/qpid-proton-4llz2H/qpid-proton-0.14.0/proton-c/include/proton/scanner.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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">proton
 <span id="projectnumber">0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_3d7fee5163f29235853f3037db69c226.html">proton-c</a></li><li class="navelem"><a class="el" href="dir_ca4610195e991eb8124aba7312da0967.html">include</a></li><li class="navelem"><a class="el" href="dir_819e9c3ec552076ba9984156db77a62b.html">proton</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">scanner.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="scanner_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 PROTON_SCANNER_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define PROTON_SCANNER_H 1</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/*</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"> * Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * software distributed under the License is distributed on an</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * under the License.</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> *</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="import__export_8h.html">proton/import_export.h</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <stddef.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <stdarg.h></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affd"> 33</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda41e1836ad250043deb7022ccfd9bdc8a"> 34</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda41e1836ad250043deb7022ccfd9bdc8a">PN_TOK_LBRACE</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda03d085a53c797d51c3ca4273df145834"> 35</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda03d085a53c797d51c3ca4273df145834">PN_TOK_RBRACE</a>,</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaac29828e32bd5ff002a6059476877ba7"> 36</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaac29828e32bd5ff002a6059476877ba7">PN_TOK_LBRACKET</a>,</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3debb891b25ee5e76b630f122703c46a"> 37</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3debb891b25ee5e76b630f122703c46a">PN_TOK_RBRACKET</a>,</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdac72f1419b474491cbc1e3b0c1ee9c283"> 38</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdac72f1419b474491cbc1e3b0c1ee9c283">PN_TOK_EQUAL</a>,</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaf62d9726077f5e8af6514e2f84252c3"> 39</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaf62d9726077f5e8af6514e2f84252c3">PN_TOK_COMMA</a>,</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaecc54f7da499543fc9b721662c0b493"> 40</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaecc54f7da499543fc9b721662c0b493">PN_TOK_POS</a>,</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadef7b41dc1ce340b1bd48ef05c3f7cac"> 41</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadef7b41dc1ce340b1bd48ef05c3f7cac">PN_TOK_NEG</a>,</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda128ac229a7547a4056f0a9021a1597b9"> 42</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda128ac229a7547a4056f0a9021a1597b9">PN_TOK_DOT</a>,</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdafa417ddce1c7c0751c2931176385388d"> 43</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdafa417ddce1c7c0751c2931176385388d">PN_TOK_AT</a>,</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadc5473e52e25bd8eba1fdfe71a331349"> 44</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadc5473e52e25bd8eba1fdfe71a331349">PN_TOK_DOLLAR</a>,</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaab6a864b118cf184effb650a72ca2243"> 45</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaab6a864b118cf184effb650a72ca2243">PN_TOK_BINARY</a>,</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda62ebbcf05c5e6e802322ca6a3535aab1"> 46</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda62ebbcf05c5e6e802322ca6a3535aab1">PN_TOK_STRING</a>,</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadebe5979ca0be2e8fa61dc769eb868b6"> 47</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadebe5979ca0be2e8fa61dc769eb868b6">PN_TOK_SYMBOL</a>,</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaedca098f431e1866232f8c7e2f6c47dd"> 48</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaedca098f431e1866232f8c7e2f6c47dd">PN_TOK_ID</a>,</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3c5552bf6f94c609aed9993490aa5c0e"> 49</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3c5552bf6f94c609aed9993490aa5c0e">PN_TOK_FLOAT</a>,</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9f05e398932f3d5acb264dd3c42f977b"> 50</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9f05e398932f3d5acb264dd3c42f977b">PN_TOK_INT</a>,</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda7582c9165d8207d993565352da3fcf96"> 51</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda7582c9165d8207d993565352da3fcf96">PN_TOK_TRUE</a>,</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda6c10d2008b0f4f3333b427b2c80aa2a4"> 52</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda6c10d2008b0f4f3333b427b2c80aa2a4">PN_TOK_FALSE</a>,</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9675da60deac429d08dff865dbc30e3d"> 53</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9675da60deac429d08dff865dbc30e3d">PN_TOK_NULL</a>,</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda4564679ceee302e63b2cc9455ffc830c"> 54</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda4564679ceee302e63b2cc9455ffc830c">PN_TOK_EOS</a>,</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda441ba599150d5b9b6ed57302e7462fab"> 55</a></span>  <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda441ba599150d5b9b6ed57302e7462fab">PN_TOK_ERR</a></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> } <a class="code" href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affd">pn_token_type_t</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76"> 58</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> <a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structpn__token__t.html"> 60</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structpn__token__t.html#a056cae193a41bc0ed9c4ffe342e3c603"> 61</a></span>  pn_token_type_t <a class="code" href="structpn__token__t.html#a056cae193a41bc0ed9c4ffe342e3c603">type</a>;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structpn__token__t.html#a5ed4ff6311606d1508464a0895120ee7"> 62</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structpn__token__t.html#a5ed4ff6311606d1508464a0895120ee7">start</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structpn__token__t.html#add2080d1f1eddf58584496d80b6260e9"> 63</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structpn__token__t.html#add2080d1f1eddf58584496d80b6260e9">size</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> } <a class="code" href="structpn__token__t.html">pn_token_t</a>;</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> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *<a class="code" href="scanner_8h.html#a6f8ed2d8bafc67a9552efc2365745463">pn_scanner</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="scanner_8h.html#a24a4437829d8938983cee81fc1f40e87">pn_scanner_free</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="code" href="structpn__token__t.html">pn_token_t</a> <a class="code" href="scanner_8h.html#a6a83ab4ad4758850833ffe9778d4dd45">pn_scanner_token</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a98e2f03876d86056a6f4cc316ab68b89">pn_scanner_err</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner, <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a701590c6ee05d37d66d04c92401679c3">pn_scanner_verr</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner, <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list ap);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="scanner_8h.html#a2e081734dea9b9f0b1d20465a447bd21">pn_scanner_line_info</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner, <span class="keywordtype">int</span> *line, <span class="keywordtype">int</span> *col);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a6c75f43379dbca7f62b2e88f117ee15c">pn_scanner_errno</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="scanner_8h.html#ac32ccdd4142a9ae2c314b123734c1a76">pn_scanner_error</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a98036e34e12a9524d754ace2564a71b0">pn_scanner_start</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner, <span class="keyword">const</span> <span class="keywordtype">char</span> *input);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a0ec2d011847f5dcf9bbab40f8873e734">pn_scanner_scan</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <a class="code" href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <span class="keywordtype">int</span> <a class="code" href="scanner_8h.html#a74fabc73375cec2ea247e55585edb3f1">pn_scanner_shift</a>(<a class="code" href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a> *scanner);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#endif </span><span class="comment">/* scanner.h */</span><span class="preprocessor"></span></div><div class="ttc" id="scanner_8h_html_a700b6248f3f098a5c2cf7149baa6cd76"><div class="ttname"><a href="scanner_8h.html#a700b6248f3f098a5c2cf7149baa6cd76">pn_scanner_t</a></div><div class="ttdeci">struct pn_scanner_t pn_scanner_t</div><div class="ttdef"><b>Definition:</b> scanner.h:58</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda03d085a53c797d51c3ca4273df145834"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda03d085a53c797d51c3ca4273df145834">PN_TOK_RBRACE</a></div><div class="ttdef"><b>Definition:</b> scanner.h:35</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda7582c9165d8207d993565352da3fcf96"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda7582c9165d8207d993565352da3fcf96">PN_TOK_TRUE</a></div><div class="ttdef"><b>Definition:</b> scanner.h:51</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdaaf62d9726077f5e8af6514e2f84252c3"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaf62d9726077f5e8af6514e2f84252c3">PN_TOK_COMMA</a></div><div class="ttdef"><b>Definition:</b> scanner.h:39</div></div>
<div class="ttc" id="import__export_8h_html"><div class="ttname"><a href="import__export_8h.html">import_export.h</a></div></div>
<div class="ttc" id="scanner_8h_html_a6a83ab4ad4758850833ffe9778d4dd45"><div class="ttname"><a href="scanner_8h.html#a6a83ab4ad4758850833ffe9778d4dd45">pn_scanner_token</a></div><div class="ttdeci">PN_EXTERN pn_token_t pn_scanner_token(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="structpn__token__t_html_a5ed4ff6311606d1508464a0895120ee7"><div class="ttname"><a href="structpn__token__t.html#a5ed4ff6311606d1508464a0895120ee7">pn_token_t::start</a></div><div class="ttdeci">const char * start</div><div class="ttdef"><b>Definition:</b> scanner.h:62</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdaab6a864b118cf184effb650a72ca2243"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaab6a864b118cf184effb650a72ca2243">PN_TOK_BINARY</a></div><div class="ttdef"><b>Definition:</b> scanner.h:45</div></div>
<div class="ttc" id="scanner_8h_html_a74fabc73375cec2ea247e55585edb3f1"><div class="ttname"><a href="scanner_8h.html#a74fabc73375cec2ea247e55585edb3f1">pn_scanner_shift</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_shift(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda128ac229a7547a4056f0a9021a1597b9"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda128ac229a7547a4056f0a9021a1597b9">PN_TOK_DOT</a></div><div class="ttdef"><b>Definition:</b> scanner.h:42</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda6c10d2008b0f4f3333b427b2c80aa2a4"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda6c10d2008b0f4f3333b427b2c80aa2a4">PN_TOK_FALSE</a></div><div class="ttdef"><b>Definition:</b> scanner.h:52</div></div>
<div class="ttc" id="scanner_8h_html_a6f8ed2d8bafc67a9552efc2365745463"><div class="ttname"><a href="scanner_8h.html#a6f8ed2d8bafc67a9552efc2365745463">pn_scanner</a></div><div class="ttdeci">PN_EXTERN pn_scanner_t * pn_scanner(void)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdadebe5979ca0be2e8fa61dc769eb868b6"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadebe5979ca0be2e8fa61dc769eb868b6">PN_TOK_SYMBOL</a></div><div class="ttdef"><b>Definition:</b> scanner.h:47</div></div>
<div class="ttc" id="scanner_8h_html_a24a4437829d8938983cee81fc1f40e87"><div class="ttname"><a href="scanner_8h.html#a24a4437829d8938983cee81fc1f40e87">pn_scanner_free</a></div><div class="ttdeci">PN_EXTERN void pn_scanner_free(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda9675da60deac429d08dff865dbc30e3d"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9675da60deac429d08dff865dbc30e3d">PN_TOK_NULL</a></div><div class="ttdef"><b>Definition:</b> scanner.h:53</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdafa417ddce1c7c0751c2931176385388d"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdafa417ddce1c7c0751c2931176385388d">PN_TOK_AT</a></div><div class="ttdef"><b>Definition:</b> scanner.h:43</div></div>
<div class="ttc" id="import__export_8h_html_acfa9628d87130a64f95ee17c57a7c13b"><div class="ttname"><a href="import__export_8h.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a></div><div class="ttdeci">#define PN_EXTERN</div><div class="ttdef"><b>Definition:</b> import_export.h:53</div></div>
<div class="ttc" id="scanner_8h_html_a701590c6ee05d37d66d04c92401679c3"><div class="ttname"><a href="scanner_8h.html#a701590c6ee05d37d66d04c92401679c3">pn_scanner_verr</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_verr(pn_scanner_t *scanner, int code, const char *fmt, va_list ap)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda4564679ceee302e63b2cc9455ffc830c"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda4564679ceee302e63b2cc9455ffc830c">PN_TOK_EOS</a></div><div class="ttdef"><b>Definition:</b> scanner.h:54</div></div>
<div class="ttc" id="structpn__token__t_html_a056cae193a41bc0ed9c4ffe342e3c603"><div class="ttname"><a href="structpn__token__t.html#a056cae193a41bc0ed9c4ffe342e3c603">pn_token_t::type</a></div><div class="ttdeci">pn_token_type_t type</div><div class="ttdef"><b>Definition:</b> scanner.h:61</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda441ba599150d5b9b6ed57302e7462fab"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda441ba599150d5b9b6ed57302e7462fab">PN_TOK_ERR</a></div><div class="ttdef"><b>Definition:</b> scanner.h:55</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda41e1836ad250043deb7022ccfd9bdc8a"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda41e1836ad250043deb7022ccfd9bdc8a">PN_TOK_LBRACE</a></div><div class="ttdef"><b>Definition:</b> scanner.h:34</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda9f05e398932f3d5acb264dd3c42f977b"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda9f05e398932f3d5acb264dd3c42f977b">PN_TOK_INT</a></div><div class="ttdef"><b>Definition:</b> scanner.h:50</div></div>
<div class="ttc" id="scanner_8h_html_a6c75f43379dbca7f62b2e88f117ee15c"><div class="ttname"><a href="scanner_8h.html#a6c75f43379dbca7f62b2e88f117ee15c">pn_scanner_errno</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_errno(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdaaecc54f7da499543fc9b721662c0b493"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaaecc54f7da499543fc9b721662c0b493">PN_TOK_POS</a></div><div class="ttdef"><b>Definition:</b> scanner.h:40</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdaedca098f431e1866232f8c7e2f6c47dd"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaedca098f431e1866232f8c7e2f6c47dd">PN_TOK_ID</a></div><div class="ttdef"><b>Definition:</b> scanner.h:48</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdac72f1419b474491cbc1e3b0c1ee9c283"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdac72f1419b474491cbc1e3b0c1ee9c283">PN_TOK_EQUAL</a></div><div class="ttdef"><b>Definition:</b> scanner.h:38</div></div>
<div class="ttc" id="scanner_8h_html_ac32ccdd4142a9ae2c314b123734c1a76"><div class="ttname"><a href="scanner_8h.html#ac32ccdd4142a9ae2c314b123734c1a76">pn_scanner_error</a></div><div class="ttdeci">PN_EXTERN const char * pn_scanner_error(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdadef7b41dc1ce340b1bd48ef05c3f7cac"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadef7b41dc1ce340b1bd48ef05c3f7cac">PN_TOK_NEG</a></div><div class="ttdef"><b>Definition:</b> scanner.h:41</div></div>
<div class="ttc" id="scanner_8h_html_a0ec2d011847f5dcf9bbab40f8873e734"><div class="ttname"><a href="scanner_8h.html#a0ec2d011847f5dcf9bbab40f8873e734">pn_scanner_scan</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_scan(pn_scanner_t *scanner)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdadc5473e52e25bd8eba1fdfe71a331349"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdadc5473e52e25bd8eba1fdfe71a331349">PN_TOK_DOLLAR</a></div><div class="ttdef"><b>Definition:</b> scanner.h:44</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda3c5552bf6f94c609aed9993490aa5c0e"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3c5552bf6f94c609aed9993490aa5c0e">PN_TOK_FLOAT</a></div><div class="ttdef"><b>Definition:</b> scanner.h:49</div></div>
<div class="ttc" id="structpn__token__t_html_add2080d1f1eddf58584496d80b6260e9"><div class="ttname"><a href="structpn__token__t.html#add2080d1f1eddf58584496d80b6260e9">pn_token_t::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition:</b> scanner.h:63</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda62ebbcf05c5e6e802322ca6a3535aab1"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda62ebbcf05c5e6e802322ca6a3535aab1">PN_TOK_STRING</a></div><div class="ttdef"><b>Definition:</b> scanner.h:46</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affdaac29828e32bd5ff002a6059476877ba7"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affdaac29828e32bd5ff002a6059476877ba7">PN_TOK_LBRACKET</a></div><div class="ttdef"><b>Definition:</b> scanner.h:36</div></div>
<div class="ttc" id="scanner_8h_html_a98e2f03876d86056a6f4cc316ab68b89"><div class="ttname"><a href="scanner_8h.html#a98e2f03876d86056a6f4cc316ab68b89">pn_scanner_err</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_err(pn_scanner_t *scanner, int code, const char *fmt,...)</div></div>
<div class="ttc" id="scanner_8h_html_a2e081734dea9b9f0b1d20465a447bd21"><div class="ttname"><a href="scanner_8h.html#a2e081734dea9b9f0b1d20465a447bd21">pn_scanner_line_info</a></div><div class="ttdeci">PN_EXTERN void pn_scanner_line_info(pn_scanner_t *scanner, int *line, int *col)</div></div>
<div class="ttc" id="scanner_8h_html_a98036e34e12a9524d754ace2564a71b0"><div class="ttname"><a href="scanner_8h.html#a98036e34e12a9524d754ace2564a71b0">pn_scanner_start</a></div><div class="ttdeci">PN_EXTERN int pn_scanner_start(pn_scanner_t *scanner, const char *input)</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affda3debb891b25ee5e76b630f122703c46a"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affda3debb891b25ee5e76b630f122703c46a">PN_TOK_RBRACKET</a></div><div class="ttdef"><b>Definition:</b> scanner.h:37</div></div>
<div class="ttc" id="scanner_8h_html_a2c47376a809ea6757d5c9852e087affd"><div class="ttname"><a href="scanner_8h.html#a2c47376a809ea6757d5c9852e087affd">pn_token_type_t</a></div><div class="ttdeci">pn_token_type_t</div><div class="ttdef"><b>Definition:</b> scanner.h:33</div></div>
<div class="ttc" id="structpn__token__t_html"><div class="ttname"><a href="structpn__token__t.html">pn_token_t</a></div><div class="ttdef"><b>Definition:</b> scanner.h:60</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 4 2018 22:16:50 for proton by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
|