/usr/share/proton-0.7/docs/api-c/a00039_source.html is in libqpid-proton2-dev-doc 0.7-2.
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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 | <!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.8"/>
<title>proton: /tmp/buildd/qpid-proton-0.7/proton-c/include/proton/types.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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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">proton
 <span id="projectnumber">0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Modules</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</a></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">types.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00039.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_TYPES_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define PROTON_TYPES_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="a00023.html">proton/import_export.h</a>></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <sys/types.h></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="a00038.html">proton/type_compat.h</a>></span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"></span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * @file</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"> * @defgroup types Types</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * @{</span></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> </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * @defgroup primitives Primitive Types</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="a00060.html#ga92033eaa8a158e7e4bb5d1f0e94ca606"> 45</a></span> <span class="keyword">typedef</span> int32_t <a class="code" href="a00060.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="a00060.html#ga9a701bc6dc9af9f42c3f4679172a723c"> 46</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="a00060.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00060.html#gafdede9be0526a8d0b9ab5d3149069af1"> 47</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="a00060.html#gafdede9be0526a8d0b9ab5d3149069af1">pn_seconds_t</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="a00060.html#gad337c365b498106064ec28e00e5fb6dd"> 48</a></span> <span class="keyword">typedef</span> int64_t <a class="code" href="a00060.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="a00060.html#gaa1713f25d484600197d2a25ace856672"> 49</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="a00060.html#gaa1713f25d484600197d2a25ace856672">pn_char_t</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="a00060.html#ga54d49ca7ff04ad10a57139c2d61f1d44"> 50</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="a00060.html#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="a00060.html#ga7d8110bc953738d83ad8b9c543ef517f"> 51</a></span> <span class="keyword">typedef</span> uint64_t <a class="code" href="a00060.html#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="a00004.html"> 52</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="a00004.html#a04d4119ce2a7e169409c1490916edd58"> 53</a></span>  <span class="keywordtype">char</span> bytes[16];</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> } <a class="code" href="a00004.html">pn_decimal128_t</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="a00008.html"> 55</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00008.html#afdaf52c4a5d80b42392f1a4a7fd7f14f"> 56</a></span>  <span class="keywordtype">char</span> bytes[16];</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> } <a class="code" href="a00008.html">pn_uuid_t</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="a00002.html"> 59</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="a00002.html#a2c7be7bece53652187b7e9f812befb8b"> 60</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="a00002.html#a2c7be7bece53652187b7e9f812befb8b">size</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="a00002.html#a885a1053fcdac9838801ec7287e0ae49"> 61</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00002.html#a885a1053fcdac9838801ec7287e0ae49">start</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> } <a class="code" href="a00002.html">pn_bytes_t</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <a class="code" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="code" href="a00002.html">pn_bytes_t</a> <a class="code" href="a00060.html#gabba4fb01e5a04d95abcf5295e9b26469">pn_bytes</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span> *start);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <a class="code" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="code" href="a00002.html">pn_bytes_t</a> <a class="code" href="a00060.html#ga18e95e6c1f39c14693ce200aa36ba9d1">pn_bytes_dup</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span> *start);</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">/** @}</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> */</span></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">/**</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> * @defgroup abstract Abstract Types</span></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"> */</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"></span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> * Holds the state flags for an AMQP endpoint.</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> * A pn_state_t is an integral value with flags that encode both the</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> * local and remote state of an AMQP Endpoint (@link pn_connection_t</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> * Connection @endlink, @link pn_session_t Session @endlink, or @link</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"> * pn_link_t Link @endlink). The local portion of the state may be</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> * accessed using ::PN_LOCAL_MASK, and the remote portion may be</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> * accessed using ::PN_REMOTE_MASK. Individual bits may be accessed</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> * using ::PN_LOCAL_UNINIT, ::PN_LOCAL_ACTIVE, ::PN_LOCAL_CLOSED, and</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> * ::PN_REMOTE_UNINIT, ::PN_REMOTE_ACTIVE, ::PN_REMOTE_CLOSED.</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"> * Every AMQP endpoint (@link pn_connection_t Connection @endlink,</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"> * @link pn_session_t Session @endlink, or @link pn_link_t Link</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> * @endlink) starts out in an uninitialized state and then proceeds</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> * linearly to an active and then closed state. This lifecycle occurs</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"> * at both endpoints involved, and so the state model for an endpoint</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"> * includes not only the known local state, but also the last known</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> * state of the remote endpoint.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"> * @ingroup connection</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="a00042.html#gaa83193a655e32bffc18624acc2c39233"> 96</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="a00042.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"></span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"> * An AMQP Connection object.</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> * A pn_connection_t object encapsulates all of the endpoint state</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> * associated with an AMQP Connection. A pn_connection_t object</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * contains zero or more ::pn_session_t objects, which in turn contain</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> * zero or more ::pn_link_t objects. Each ::pn_link_t object contains</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> * an ordered sequence of ::pn_delivery_t objects. A link is either a</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> * @link sender Sender @endlink, or a @link receiver Receiver</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> * @endlink, but never both.</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> * @ingroup connection</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="a00042.html#ga886351d81ff3a977a284a206526c5aff"> 111</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> <a class="code" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"></span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * An AMQP Session object.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> * A pn_session_t object encapsulates all of the endpoint state</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> * associated with an AMQP Session. A pn_session_t object contains</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> * zero or more ::pn_link_t objects.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"> * @ingroup session</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9"> 122</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> <a class="code" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"></span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> * An AMQP Link object.</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> * A pn_link_t object encapsulates all of the endpoint state</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> * associated with an AMQP Link. A pn_link_t object contains an</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> * ordered sequence of ::pn_delivery_t objects representing in-flight</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"> * deliveries. A pn_link_t may be either a @link sender Sender</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"> * @endlink, or a @link receiver Receiver @endlink, but never both.</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> * A pn_link_t object maintains a pointer to the *current* delivery</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> * within the ordered sequence of deliveries contained by the link</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"> * (See ::pn_link_current). The *current* delivery is the target of a</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> * number of operations associated with the link, such as sending</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> * (::pn_link_send) and receiving (::pn_link_recv) message data.</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> * @ingroup link</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0"> 141</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> <a class="code" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"></span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * An AMQP Delivery object.</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"> * A pn_delivery_t object encapsulates all of the endpoint state</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> * associated with an AMQP Delivery. Every delivery exists within the</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> * context of a ::pn_link_t object.</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> * The AMQP model for settlement is based on the lifecycle of a</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> * delivery at an endpoint. At each end of a link, a delivery is</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"> * created, it exists for some period of time, and finally it is</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment"> * forgotten, aka settled. Note that because this lifecycle happens</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"> * independently at both the sender and the receiver, there are</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> * actually four events of interest in the combined lifecycle of a</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> * given delivery:</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> * - created at sender</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * - created at receiver</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> * - settled at sender</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> * - settled at receiver</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> * Because the sender and receiver are operating concurrently, these</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> * events can occur in a variety of different orders, and the order of</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> * these events impacts the types of failures that may occur when</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"> * transferring a delivery. Eliminating scenarios where the receiver</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> * creates the delivery first, we have the following possible</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> * sequences of interest:</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"> * Sender presettles (aka at-most-once):</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> * -------------------------------------</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> * 1. created at sender</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> * 2. settled at sender</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * 3. created at receiver</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> * 4. settled at receiver</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> * In this configuration the sender settles (i.e. forgets about) the</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> * delivery before it even reaches the receiver, and if anything</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> * should happen to the delivery in-flight, there is no way to</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> * recover, hence the "at most once" semantics.</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> * Receiver settles first (aka at-least-once):</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> * -------------------------------------------</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="comment"> * 1. created at sender</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> * 2. created at receiver</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment"> * 3. settled at receiver</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment"> * 4. settled at sender</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment"> * In this configuration the receiver settles the delivery first, and</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment"> * the sender settles once it sees the receiver has settled. Should</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="comment"> * anything happen to the delivery in-flight, the sender can resend,</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="comment"> * however the receiver may have already forgotten the delivery and so</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"> * it could interpret the resend as a new delivery, hence the "at</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"> * least once" semantics.</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Receiver settles second (aka exactly-once):</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> * -------------------------------------------</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment"> * 1. created at sender</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"> * 2. created at receiver</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> * 3. settled at sender</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> * 4. settled at receiver</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> * In this configuration the receiver settles only once it has seen</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="comment"> * that the sender has settled. This provides the sender the option to</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> * retransmit, and the receiver has the option to recognize (and</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> * discard) duplicates, allowing for exactly once semantics.</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"> * Note that in the last scenario the sender needs some way to know</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> * when it is safe to settle. This is where delivery state comes in.</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> * In addition to these lifecycle related events surrounding</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment"> * deliveries there is also the notion of a delivery state that can</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment"> * change over the lifetime of a delivery, e.g. it might start out as</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"> * nothing, transition to ::PN_RECEIVED and then transition to</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment"> * ::PN_ACCEPTED. In the first two scenarios the delivery state isn't</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> * required, however in final scenario the sender would typically</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> * trigger settlement based on seeing the delivery state transition to</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"> * a terminal state like ::PN_ACCEPTED or ::PN_REJECTED.</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"> * In practice settlement is controlled by application policy, so</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> * there may well be more options here, e.g. a sender might not settle</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"> * strictly based on what has happened at the receiver, it might also</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment"> * choose to impose some time limit and settle after that period has</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> * expired, or it could simply have a sliding window of the last N</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> * deliveries and settle the oldest whenever a new one comes along.</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> * @ingroup delivery</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340"> 231</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> <a class="code" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment"></span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> * An event collector.</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment"> * A pn_collector_t may be used to register interest in being notified</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="comment"> * of high level events that can occur to the various objects</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"> * representing AMQP endpoint state. See ::pn_event_t for more</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment"> * details.</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * @ingroup event</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1"> 243</a></span> <span class="comment"> */</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> <a class="code" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"></span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> * An AMQP Transport object.</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"> * A pn_transport_t encapsulates the transport related state of all</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> * AMQP endpoint objects associated with a physical network connection</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="comment"> * at a given point in time.</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="comment"> * @ingroup transport</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8"> 255</a></span> </div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a> <a class="code" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a>;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment"></span></div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment">/** @}</span></div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> }</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment"></span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment">/** @}</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="preprocessor">#endif </span><span class="comment">/* types.h */</span><span class="preprocessor"></span></div>
<div class="ttc" id="a00060_html_gabba4fb01e5a04d95abcf5295e9b26469"><div class="ttname"><a href="a00060.html#gabba4fb01e5a04d95abcf5295e9b26469">pn_bytes</a></div><div class="ttdeci">PN_EXTERN pn_bytes_t pn_bytes(size_t size, char *start)</div></div>
<div class="ttc" id="a00042_html_ga886351d81ff3a977a284a206526c5aff"><div class="ttname"><a href="a00042.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a></div><div class="ttdeci">struct pn_connection_t pn_connection_t</div><div class="ttdoc">An AMQP Connection object. </div><div class="ttdef"><b>Definition:</b> types.h:111</div></div>
<div class="ttc" id="a00060_html_gad337c365b498106064ec28e00e5fb6dd"><div class="ttname"><a href="a00060.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a></div><div class="ttdeci">int64_t pn_timestamp_t</div><div class="ttdef"><b>Definition:</b> types.h:48</div></div>
<div class="ttc" id="a00002_html_a2c7be7bece53652187b7e9f812befb8b"><div class="ttname"><a href="a00002.html#a2c7be7bece53652187b7e9f812befb8b">pn_bytes_t::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition:</b> types.h:60</div></div>
<div class="ttc" id="a00023_html"><div class="ttname"><a href="a00023.html">import_export.h</a></div></div>
<div class="ttc" id="a00044_html_gacdfce854066c0a4ff4db9f9a0478f340"><div class="ttname"><a href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a></div><div class="ttdeci">struct pn_delivery_t pn_delivery_t</div><div class="ttdoc">An AMQP Delivery object. </div><div class="ttdef"><b>Definition:</b> types.h:231</div></div>
<div class="ttc" id="a00047_html_ga905cdecedb8020bc28e648e43348b5d1"><div class="ttname"><a href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></div><div class="ttdeci">struct pn_collector_t pn_collector_t</div><div class="ttdoc">An event collector. </div><div class="ttdef"><b>Definition:</b> types.h:243</div></div>
<div class="ttc" id="a00060_html_ga9a701bc6dc9af9f42c3f4679172a723c"><div class="ttname"><a href="a00060.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a></div><div class="ttdeci">uint32_t pn_millis_t</div><div class="ttdef"><b>Definition:</b> types.h:46</div></div>
<div class="ttc" id="a00002_html_a885a1053fcdac9838801ec7287e0ae49"><div class="ttname"><a href="a00002.html#a885a1053fcdac9838801ec7287e0ae49">pn_bytes_t::start</a></div><div class="ttdeci">char * start</div><div class="ttdef"><b>Definition:</b> types.h:61</div></div>
<div class="ttc" id="a00038_html"><div class="ttname"><a href="a00038.html">type_compat.h</a></div></div>
<div class="ttc" id="a00060_html_ga7d8110bc953738d83ad8b9c543ef517f"><div class="ttname"><a href="a00060.html#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a></div><div class="ttdeci">uint64_t pn_decimal64_t</div><div class="ttdef"><b>Definition:</b> types.h:51</div></div>
<div class="ttc" id="a00060_html_gaa1713f25d484600197d2a25ace856672"><div class="ttname"><a href="a00060.html#gaa1713f25d484600197d2a25ace856672">pn_char_t</a></div><div class="ttdeci">uint32_t pn_char_t</div><div class="ttdef"><b>Definition:</b> types.h:49</div></div>
<div class="ttc" id="a00023_html_acfa9628d87130a64f95ee17c57a7c13b"><div class="ttname"><a href="a00023.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="a00048_html_ga89dad3aa7934329a7ff467c636687bc0"><div class="ttname"><a href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a></div><div class="ttdeci">struct pn_link_t pn_link_t</div><div class="ttdoc">An AMQP Link object. </div><div class="ttdef"><b>Definition:</b> types.h:141</div></div>
<div class="ttc" id="a00060_html_gafdede9be0526a8d0b9ab5d3149069af1"><div class="ttname"><a href="a00060.html#gafdede9be0526a8d0b9ab5d3149069af1">pn_seconds_t</a></div><div class="ttdeci">uint32_t pn_seconds_t</div><div class="ttdef"><b>Definition:</b> types.h:47</div></div>
<div class="ttc" id="a00060_html_ga54d49ca7ff04ad10a57139c2d61f1d44"><div class="ttname"><a href="a00060.html#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a></div><div class="ttdeci">uint32_t pn_decimal32_t</div><div class="ttdef"><b>Definition:</b> types.h:50</div></div>
<div class="ttc" id="a00060_html_ga18e95e6c1f39c14693ce200aa36ba9d1"><div class="ttname"><a href="a00060.html#ga18e95e6c1f39c14693ce200aa36ba9d1">pn_bytes_dup</a></div><div class="ttdeci">PN_EXTERN pn_bytes_t pn_bytes_dup(size_t size, const char *start)</div></div>
<div class="ttc" id="a00008_html"><div class="ttname"><a href="a00008.html">pn_uuid_t</a></div><div class="ttdef"><b>Definition:</b> types.h:55</div></div>
<div class="ttc" id="a00060_html_ga92033eaa8a158e7e4bb5d1f0e94ca606"><div class="ttname"><a href="a00060.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a></div><div class="ttdeci">int32_t pn_sequence_t</div><div class="ttdef"><b>Definition:</b> types.h:45</div></div>
<div class="ttc" id="a00004_html"><div class="ttname"><a href="a00004.html">pn_decimal128_t</a></div><div class="ttdef"><b>Definition:</b> types.h:52</div></div>
<div class="ttc" id="a00058_html_gac26eda05f649bbf0399f3d8d78d12fa8"><div class="ttname"><a href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a></div><div class="ttdeci">struct pn_transport_t pn_transport_t</div><div class="ttdoc">An AMQP Transport object. </div><div class="ttdef"><b>Definition:</b> types.h:255</div></div>
<div class="ttc" id="a00002_html"><div class="ttname"><a href="a00002.html">pn_bytes_t</a></div><div class="ttdef"><b>Definition:</b> types.h:59</div></div>
<div class="ttc" id="a00042_html_gaa83193a655e32bffc18624acc2c39233"><div class="ttname"><a href="a00042.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a></div><div class="ttdeci">int pn_state_t</div><div class="ttdoc">Holds the state flags for an AMQP endpoint. </div><div class="ttdef"><b>Definition:</b> types.h:96</div></div>
<div class="ttc" id="a00055_html_ga38ccb93b8f5c2892adafce5d5f0fbcd9"><div class="ttname"><a href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a></div><div class="ttdeci">struct pn_session_t pn_session_t</div><div class="ttdoc">An AMQP Session object. </div><div class="ttdef"><b>Definition:</b> types.h:122</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Nov 17 2014 10:28:04 for proton by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|