qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject [38/51] [abbrv] [partial] qpid-site git commit: QPID-8154: Refresh the proton doc snapshot
Date Tue, 01 May 2018 13:45:28 GMT
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/701caf21/content/releases/qpid-proton-master/proton/c/api/message_8h_source.html
----------------------------------------------------------------------
diff --git a/content/releases/qpid-proton-master/proton/c/api/message_8h_source.html b/content/releases/qpid-proton-master/proton/c/api/message_8h_source.html
index 07dfe4a..4ab4803 100755
--- a/content/releases/qpid-proton-master/proton/c/api/message_8h_source.html
+++ b/content/releases/qpid-proton-master/proton/c/api/message_8h_source.html
@@ -93,9 +93,9 @@ $(document).ready(function(){initNavTree('message_8h_source.html','');});
 <div class="title">message.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="message_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="preprocessor">#ifndef PROTON_MESSAGE_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define PROTON_MESSAGE_H 1</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<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>&#160;<span class="comment"> * or more contributor license agr
 eements.  See the NOTICE file</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<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>&#160;<span class
 ="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<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>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<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>&#160;<span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * under the License.</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;proton/import_export.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">proton/types.h</a>&gt;</span></div><div class="line"><a nam
 e="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="codec_8h.html">proton/codec.h</a>&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="error_8h.html">proton/error.h</a>&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;proton/type_compat.h&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="prepr
 ocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">   51</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> <a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__message.html#ga732b155202644a5c5be75a651a3c4fac">   56</a></span>&#160;<span class="preprocessor">#define PN_DEFAULT_PRIORITY (4)</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00066"></a><span class="linen
 o">   66</span>&#160;PN_EXTERN <a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * <a class="code" href="group__message.html#gaaf98d84b9ddc1c6537dddd4c9c5b979e">pn_message</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;PN_EXTERN <span class="keywordtype">void</span>           <a class="code" href="group__message.html#ga69aadbc3a80f1fa16962774e711392f8">pn_message_free</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;PN_EXTERN <span class="keywordtype">void</span>           <a class="code" href="group__message.html#ga918c90a049d6b39041b0a2044f9048c6">pn_messa
 ge_clear</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gac10c5d8f12e4817fec126fdb608baf53">pn_message_errno</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;PN_EXTERN <a class="code" href="group__error.html#ga24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a>    *<a class="code" href="group__message.html#ga9ad09178e7682efde76e2d39f352dfe8">pn_message_error</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_mess
 age_t</a> *msg);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>           <a class="code" href="group__message.html#ga5d9367609d74ca3511d4172806eeb55b">pn_message_is_inferred</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga63bdd43b7cee8741665db999fac97a62">pn_message_set_inferred</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> inferred);</div><div class="line"><a name="l00140"></a><span class="lineno">  
 140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">// standard message headers and properties</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>           <a class="code" href="group__message.html#gaf9e131dcfb094bebc3424661042d3c36">pn_message_is_durable</a>            (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga63f6065e770ddf435e38d8c0e01bc5ad">pn_message_set_durable</a>           (<a class="code" href="group__message.html
 #gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> durable);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;PN_EXTERN uint8_t        <a class="code" href="group__message.html#ga5e6769354fcb71c9053fff0045301a0e">pn_message_get_priority</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga62c632d8bd001658cf6206eb5fac7e6c">pn_message_set_priority</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint8_t priority);</div><div class="l
 ine"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a>    <a class="code" href="group__message.html#ga2ade598da4a8bb0464980ae227f29d5c">pn_message_get_ttl</a>               (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaf39d162f5ee8f43b32cc7f1ebf56ffa3">pn_message_set_ttl</a>               (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723
 c">pn_millis_t</a> ttl);</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>           <a class="code" href="group__message.html#gac8a1e35c70d625b69e0d1769d9c898d2">pn_message_is_first_acquirer</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga64240467da74892010a7282116b0b234">pn_message_set_first_acquirer</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> first);</div><div class="line"><a name="l00239"><
 /a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;PN_EXTERN uint32_t       <a class="code" href="group__message.html#gad514ef95e642698876bedf6ec772eb72">pn_message_get_delivery_count</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga195472fabe3416dccf8a4bfcdacfa6c0">pn_message_set_delivery_count</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint32_t count);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;PN
 _EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *    <a class="code" href="group__message.html#ga296bd7b984c4b9cfabc297ab5badf7de">pn_message_id</a>                    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a>      <a class="code" href="group__message.html#gad7d3aa060b7666dce6a6d955945bedce">pn_message_get_id</a>                (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;PN_EXTERN <span class="keywordty
 pe">int</span>            <a class="code" href="group__message.html#gad169c319e27eacf91864da26a23b6d74">pn_message_set_id</a>                (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a>     <a class="code" href="group__message.html#ga957f54f40b8a297cdf9ceee8a71b3c1c">pn_message_get_user_id</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</spa
 n>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga5fc42eff5ec52b83099089f5888be38d">pn_message_set_user_id</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a> user_id);</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gaa4f5b4884d5422123a4e6f48bf00701c">pn_message_get_address</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  3
 61</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga38ecee233f94e128bed9be3e530f27e5">pn_message_set_address</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *address);</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gaf35cc7fb503f99b434a970ff669e5c4c">pn_message_get_subject</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  
 391</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa8594da8507dc031b1e0e89d51a2f281">pn_message_set_subject</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *subject);</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga5b9e011902e7bd3a9f94ecf52b723c33">pn_message_get_reply_to</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno"> 
  421</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa9a53e784afb72ea8a4d2033f99ce313">pn_message_set_reply_to</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *reply_to);</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *    <a class="code" href="group__message.html#gaceb08618e468fdb4a95e103cce6e7cbd">pn_message_correlation_id</a>        (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00448"></a><sp
 an class="lineno">  448</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a>      <a class="code" href="group__message.html#ga7c7a49b84141d130f885e3a6b357d65a">pn_message_get_correlation_id</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga2179a56c66e47eb65c61a8f84ae4488a">pn_message_set_correlation_id</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;</div><di
 v class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga280a96bf80dd37a4062432f45e679ea1">pn_message_get_content_type</a>      (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa0247560f0cd4590bc8ece20565eb611">pn_message_set_content_type</a>      (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *type);</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div 
 class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gacb97f21822b058b6297bc618f6d190b0">pn_message_get_content_encoding</a>  (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gafc79b5a0c8bd56aaa07f1357ba07475b">pn_message_set_content_encoding</a>  (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *encoding);</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div><di
 v class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;PN_EXTERN <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> <a class="code" href="group__message.html#ga8fdfd3daca961bbfaa7affacee6047ce">pn_message_get_expiry_time</a>       (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga6c108bc39b13c5257671aee68ea981c7">pn_message_set_expiry_time</a>       (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> time);</div><div class="line"><a name="l00544"></a
 ><span class="lineno">  544</span>&#160;</div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;PN_EXTERN <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> <a class="code" href="group__message.html#ga4a18377a68cc26d68141e1b1afd82a52">pn_message_get_creation_time</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gab7f1c0d93b93dee6c3eef730e35ef5e2">pn_message_set_creation_time</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> t
 ime);</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga4ebc7c7e7f524f5bf36214ff0ccaa00b">pn_message_get_group_id</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga0ec7ed8750b4d418c60aa77e4b1812bc">pn_message_set_group_id</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *gro
 up_id);</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div><div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a>  <a class="code" href="group__message.html#ga4c33c1f6b80dd62e2b4bdf23d0b2dbf4">pn_message_get_group_sequence</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga2b9e17a8c639adba856130ad714ca31a">pn_message_set_group_sequence</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#ga92033
 eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> n);</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;</div><div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga7163a0174e7c71361172a1f6387f232a">pn_message_get_reply_to_group_id</a> (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga304bbec66cac6f09f01cbf7014196fd9">pn_message_set_reply_to_group_id</a> (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</spa
 n> <span class="keywordtype">char</span> *reply_to_group_id);</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;</div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga02347ad161f972e4b94567f329b53a8a">pn_message_instructions</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;</div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#gadadb16710eccb6d332d039acc9dc1042">pn_message_annotations</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message
 _t</a> *msg);</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga43c7ee6ab70316145fb2bb5fcad210ad">pn_message_properties</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga145c06edbcccfbe97136bfb5cb2b22b1">pn_message_body</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00712"></a
 ><span class="lineno">  712</span>&#160;</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#gab0bae90838f4661b0c82c15f25e1e988">pn_message_decode</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *bytes, <span class="keywordtype">size_t</span> size);</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#ga2173bbce3c1f4b04074e42d2fe7da473">pn_message_encode</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">char</span> *bytes, <span class="keywordtype">size_t</sp
 an> *size);</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#ga013d429f94d653bc1e00f1f438a079a6">pn_message_data</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data);</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;PN_EXTERN <a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * pn_message_with_extra(<span class="keywordtype">size_t</span> extra);</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;</div><div class="line"><a name="l00753"></a><sp
 an class="lineno">  753</span>&#160;PN_EXTERN <span class="keywordtype">void</span>* pn_message_get_extra(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;}</div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;</div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* message.h */</span><span class="preprocessor"></span></div><div class="ttc" id="group__message_html_ga280a96bf80dd37a4062432f45
 e679ea1"><div class="ttname"><a href="group__message.html#ga280a96bf80dd37a4062432f45e679ea1">pn_message_get_content_type</a></div><div class="ttdeci">const char * pn_message_get_content_type(pn_message_t *msg)</div><div class="ttdoc">Get the content_type for a message. </div></div>
+<a href="message_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="preprocessor">#ifndef PROTON_MESSAGE_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define PROTON_MESSAGE_H 1</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<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>&#160;<span class="comment"> * or more contributor license agr
 eements.  See the NOTICE file</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<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>&#160;<span class
 ="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<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>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<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>&#160;<span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * under the License.</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;proton/import_export.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">proton/types.h</a>&gt;</span></div><div class="line"><a nam
 e="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="codec_8h.html">proton/codec.h</a>&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="error_8h.html">proton/error.h</a>&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;proton/type_compat.h&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="prepr
 ocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">   51</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> <a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__message.html#ga732b155202644a5c5be75a651a3c4fac">   56</a></span>&#160;<span class="preprocessor">#define PN_DEFAULT_PRIORITY (4)</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00066"></a><span class="linen
 o">   66</span>&#160;PN_EXTERN <a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * <a class="code" href="group__message.html#gaaf98d84b9ddc1c6537dddd4c9c5b979e">pn_message</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;PN_EXTERN <span class="keywordtype">void</span>           <a class="code" href="group__message.html#ga69aadbc3a80f1fa16962774e711392f8">pn_message_free</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;PN_EXTERN <span class="keywordtype">void</span>           <a class="code" href="group__message.html#ga918c90a049d6b39041b0a2044f9048c6">pn_messa
 ge_clear</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gac10c5d8f12e4817fec126fdb608baf53">pn_message_errno</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;PN_EXTERN <a class="code" href="group__error.html#ga24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a>    *<a class="code" href="group__message.html#ga9ad09178e7682efde76e2d39f352dfe8">pn_message_error</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_mess
 age_t</a> *msg);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>           <a class="code" href="group__message.html#ga5d9367609d74ca3511d4172806eeb55b">pn_message_is_inferred</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga63bdd43b7cee8741665db999fac97a62">pn_message_set_inferred</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> inferred);</div><div class="line"><a name="l00140"></a><span class="lineno">  
 140</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>           <a class="code" href="group__message.html#gaf9e131dcfb094bebc3424661042d3c36">pn_message_is_durable</a>            (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga63f6065e770ddf435e38d8c0e01bc5ad">pn_message_set_durable</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> durable);</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00174"></a><sp
 an class="lineno">  174</span>&#160;PN_EXTERN uint8_t        <a class="code" href="group__message.html#ga5e6769354fcb71c9053fff0045301a0e">pn_message_get_priority</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga62c632d8bd001658cf6206eb5fac7e6c">pn_message_set_priority</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint8_t priority);</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723c"
 >pn_millis_t</a>    <a class="code" href="group__message.html#ga2ade598da4a8bb0464980ae227f29d5c">pn_message_get_ttl</a>               (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaf39d162f5ee8f43b32cc7f1ebf56ffa3">pn_message_set_ttl</a>               (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a> ttl);</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;PN_EXTERN <span class="keywordtype">bool</span>
            <a class="code" href="group__message.html#gac8a1e35c70d625b69e0d1769d9c898d2">pn_message_is_first_acquirer</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga64240467da74892010a7282116b0b234">pn_message_set_first_acquirer</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">bool</span> first);</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;PN_EXTERN uint32_t       <a class="code" href="group__message.html#gad514ef95e642698876bedf6ec772eb72">pn_message
 _get_delivery_count</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga195472fabe3416dccf8a4bfcdacfa6c0">pn_message_set_delivery_count</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint32_t count);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *    <a class="code" href="group__message.html#ga296bd7b984c4b9cfabc297ab5badf7de">pn_message_id</a>                    (<a class="code" href=
 "group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a>      <a class="code" href="group__message.html#gad7d3aa060b7666dce6a6d955945bedce">pn_message_get_id</a>                (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gad169c319e27eacf91864da26a23b6d74">pn_message_set_id</a>                (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *m
 sg, <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a>     <a class="code" href="group__message.html#ga957f54f40b8a297cdf9ceee8a71b3c1c">pn_message_get_user_id</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga5fc42eff5ec52b83099089f5888be38d">pn_message_set_user_id</a>           (<a class="code" href="group__message.html#gad9259fa9271e8
 844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a> user_id);</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gaa4f5b4884d5422123a4e6f48bf00701c">pn_message_get_address</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga38ecee233f94e128bed9be3e530f27e5">pn_message_set_address</a>           (<a class="code" href="group__message.html#gad9259f
 a9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *address);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gaf35cc7fb503f99b434a970ff669e5c4c">pn_message_get_subject</a>           (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa8594da8507dc031b1e0e89d51a2f281">pn_message_set_subject</a>           (<a class="code" href="group__message.html#gad9259
 fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *subject);</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga5b9e011902e7bd3a9f94ecf52b723c33">pn_message_get_reply_to</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa9a53e784afb72ea8a4d2033f99ce313">pn_message_set_reply_to</a>          (<a class="code" href="group__message.html#gad925
 9fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *reply_to);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *    <a class="code" href="group__message.html#gaceb08618e468fdb4a95e103cce6e7cbd">pn_message_correlation_id</a>        (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a>      <a class="code" href="group__message.html#ga7c7a49b84141d130f885e3a6b357d65a">pn_message_get_correlation_id</a
 >    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga2179a56c66e47eb65c61a8f84ae4488a">pn_message_set_correlation_id</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#structpn__atom__t">pn_atom_t</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga280a96bf80dd37a4062432f45e679ea1"
 >pn_message_get_content_type</a>      (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gaa0247560f0cd4590bc8ece20565eb611">pn_message_set_content_type</a>      (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *type);</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#gacb97f21822b058b6297bc618f6d190b0">p
 n_message_get_content_encoding</a>  (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gafc79b5a0c8bd56aaa07f1357ba07475b">pn_message_set_content_encoding</a>  (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *encoding);</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;PN_EXTERN <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> <a class="code" href="group__message.html#ga8fdfd3dac
 a961bbfaa7affacee6047ce">pn_message_get_expiry_time</a>       (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga6c108bc39b13c5257671aee68ea981c7">pn_message_set_expiry_time</a>       (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> time);</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;PN_EXTERN <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> <a c
 lass="code" href="group__message.html#ga4a18377a68cc26d68141e1b1afd82a52">pn_message_get_creation_time</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#gab7f1c0d93b93dee6c3eef730e35ef5e2">pn_message_set_creation_time</a>     (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> time);</div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;PN_EXTERN <span class="keyword">const</span> <span class="keywordt
 ype">char</span> *   <a class="code" href="group__message.html#ga4ebc7c7e7f524f5bf36214ff0ccaa00b">pn_message_get_group_id</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga0ec7ed8750b4d418c60aa77e4b1812bc">pn_message_set_group_id</a>          (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *group_id);</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;PN_EXTERN <a class="code" href="group__api__types.html#ga92033ea
 a8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a>  <a class="code" href="group__message.html#ga4c33c1f6b80dd62e2b4bdf23d0b2dbf4">pn_message_get_group_sequence</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga2b9e17a8c639adba856130ad714ca31a">pn_message_set_group_sequence</a>    (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__api__types.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> n);</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;PN_EXTERN <span class
 ="keyword">const</span> <span class="keywordtype">char</span> *   <a class="code" href="group__message.html#ga7163a0174e7c71361172a1f6387f232a">pn_message_get_reply_to_group_id</a> (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;PN_EXTERN <span class="keywordtype">int</span>            <a class="code" href="group__message.html#ga304bbec66cac6f09f01cbf7014196fd9">pn_message_set_reply_to_group_id</a> (<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *reply_to_group_id);</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;PN_EXTERN 
 <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga02347ad161f972e4b94567f329b53a8a">pn_message_instructions</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#gadadb16710eccb6d332d039acc9dc1042">pn_message_annotations</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;</div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf52
 8776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga43c7ee6ab70316145fb2bb5fcad210ad">pn_message_properties</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;PN_EXTERN <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *<a class="code" href="group__message.html#ga145c06edbcccfbe97136bfb5cb2b22b1">pn_message_body</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg);</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;</div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#gab0bae90838f4661b0c82c15f
 25e1e988">pn_message_decode</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *bytes, <span class="keywordtype">size_t</span> size);</div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#ga2173bbce3c1f4b04074e42d2fe7da473">pn_message_encode</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <span class="keywordtype">char</span> *bytes, <span class="keywordtype">size_t</span> *size);</div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;<span class="keyword">struct </span><a class="code" href="gr
 oup__link.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>;</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;PN_EXTERN ssize_t <a class="code" href="group__message.html#ga86cd32577f0e78bab29bd0e49869f0b5">pn_message_send</a>(<a class="code" href="group__message.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__link.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *sender, <a class="code" href="group__api__types.html#structpn__rwbytes__t">pn_rwbytes_t</a> *buf);</div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__message.html#ga013d429f94d653bc1e00f1f438a079a6">pn_message_data</a>(<a class="code" href="group__message.html#gad9
 259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="code" href="group__data.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data);</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;}</div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;</div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* message.h */</span><span class="preprocessor"></span></div><div class="ttc" id="group__message_html_ga280a96bf80dd37a4062432f45e679ea1"><div class="ttname"><a href="group__message.htm
 l#ga280a96bf80dd37a4062432f45e679ea1">pn_message_get_content_type</a></div><div class="ttdeci">const char * pn_message_get_content_type(pn_message_t *msg)</div><div class="ttdoc">Get the content_type for a message. </div></div>
 <div class="ttc" id="group__message_html_gaa9a53e784afb72ea8a4d2033f99ce313"><div class="ttname"><a href="group__message.html#gaa9a53e784afb72ea8a4d2033f99ce313">pn_message_set_reply_to</a></div><div class="ttdeci">int pn_message_set_reply_to(pn_message_t *msg, const char *reply_to)</div><div class="ttdoc">Set the reply_to for a message. </div></div>
-<div class="ttc" id="group__api__types_html_ga9a701bc6dc9af9f42c3f4679172a723c"><div class="ttname"><a href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a></div><div class="ttdeci">uint32_t pn_millis_t</div><div class="ttdoc">A span of time in milliseconds. </div><div class="ttdef"><b>Definition:</b> types.h:147</div></div>
+<div class="ttc" id="group__api__types_html_ga9a701bc6dc9af9f42c3f4679172a723c"><div class="ttname"><a href="group__api__types.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a></div><div class="ttdeci">uint32_t pn_millis_t</div><div class="ttdoc">A span of time in milliseconds. </div><div class="ttdef"><b>Definition:</b> types.h:145</div></div>
 <div class="ttc" id="group__message_html_ga62c632d8bd001658cf6206eb5fac7e6c"><div class="ttname"><a href="group__message.html#ga62c632d8bd001658cf6206eb5fac7e6c">pn_message_set_priority</a></div><div class="ttdeci">int pn_message_set_priority(pn_message_t *msg, uint8_t priority)</div><div class="ttdoc">Set the priority for a message. </div></div>
 <div class="ttc" id="group__message_html_ga4c33c1f6b80dd62e2b4bdf23d0b2dbf4"><div class="ttname"><a href="group__message.html#ga4c33c1f6b80dd62e2b4bdf23d0b2dbf4">pn_message_get_group_sequence</a></div><div class="ttdeci">pn_sequence_t pn_message_get_group_sequence(pn_message_t *msg)</div><div class="ttdoc">Get the group sequence for a message. </div></div>
 <div class="ttc" id="types_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div><div class="ttdoc">AMQP and API data types. </div></div>
@@ -104,8 +104,8 @@ $(document).ready(function(){initNavTree('message_8h_source.html','');});
 <div class="ttc" id="group__message_html_ga63f6065e770ddf435e38d8c0e01bc5ad"><div class="ttname"><a href="group__message.html#ga63f6065e770ddf435e38d8c0e01bc5ad">pn_message_set_durable</a></div><div class="ttdeci">int pn_message_set_durable(pn_message_t *msg, bool durable)</div><div class="ttdoc">Set the durable flag for a message. </div></div>
 <div class="ttc" id="group__message_html_gaa8594da8507dc031b1e0e89d51a2f281"><div class="ttname"><a href="group__message.html#gaa8594da8507dc031b1e0e89d51a2f281">pn_message_set_subject</a></div><div class="ttdeci">int pn_message_set_subject(pn_message_t *msg, const char *subject)</div><div class="ttdoc">Set the subject for a message. </div></div>
 <div class="ttc" id="group__message_html_ga296bd7b984c4b9cfabc297ab5badf7de"><div class="ttname"><a href="group__message.html#ga296bd7b984c4b9cfabc297ab5badf7de">pn_message_id</a></div><div class="ttdeci">pn_data_t * pn_message_id(pn_message_t *msg)</div><div class="ttdoc">Get/set the id for a message. </div></div>
-<div class="ttc" id="group__message_html_ga43c7ee6ab70316145fb2bb5fcad210ad"><div class="ttname"><a href="group__message.html#ga43c7ee6ab70316145fb2bb5fcad210ad">pn_message_properties</a></div><div class="ttdeci">pn_data_t * pn_message_properties(pn_message_t *msg)</div><div class="ttdoc">Get/set the properties for a message. </div></div>
-<div class="ttc" id="group__api__types_html_structpn__atom__t"><div class="ttname"><a href="group__api__types.html#structpn__atom__t">pn_atom_t</a></div><div class="ttdoc">A descriminated union that holds any scalar AMQP value. </div><div class="ttdef"><b>Definition:</b> codec.h:200</div></div>
+<div class="ttc" id="group__message_html_ga43c7ee6ab70316145fb2bb5fcad210ad"><div class="ttname"><a href="group__message.html#ga43c7ee6ab70316145fb2bb5fcad210ad">pn_message_properties</a></div><div class="ttdeci">pn_data_t * pn_message_properties(pn_message_t *msg)</div><div class="ttdoc">Get and set the properties for a message. </div></div>
+<div class="ttc" id="group__api__types_html_structpn__atom__t"><div class="ttname"><a href="group__api__types.html#structpn__atom__t">pn_atom_t</a></div><div class="ttdoc">A discriminated union that holds any scalar AMQP value. </div><div class="ttdef"><b>Definition:</b> codec.h:200</div></div>
 <div class="ttc" id="group__message_html_gac8a1e35c70d625b69e0d1769d9c898d2"><div class="ttname"><a href="group__message.html#gac8a1e35c70d625b69e0d1769d9c898d2">pn_message_is_first_acquirer</a></div><div class="ttdeci">bool pn_message_is_first_acquirer(pn_message_t *msg)</div><div class="ttdoc">Get the first acquirer flag for a message. </div></div>
 <div class="ttc" id="group__message_html_ga5d9367609d74ca3511d4172806eeb55b"><div class="ttname"><a href="group__message.html#ga5d9367609d74ca3511d4172806eeb55b">pn_message_is_inferred</a></div><div class="ttdeci">bool pn_message_is_inferred(pn_message_t *msg)</div><div class="ttdoc">Get the inferred flag for a message. </div></div>
 <div class="ttc" id="group__message_html_ga7163a0174e7c71361172a1f6387f232a"><div class="ttname"><a href="group__message.html#ga7163a0174e7c71361172a1f6387f232a">pn_message_get_reply_to_group_id</a></div><div class="ttdeci">const char * pn_message_get_reply_to_group_id(pn_message_t *msg)</div><div class="ttdoc">Get the reply_to_group_id for a message. </div></div>
@@ -113,14 +113,16 @@ $(document).ready(function(){initNavTree('message_8h_source.html','');});
 <div class="ttc" id="group__message_html_gaaf98d84b9ddc1c6537dddd4c9c5b979e"><div class="ttname"><a href="group__message.html#gaaf98d84b9ddc1c6537dddd4c9c5b979e">pn_message</a></div><div class="ttdeci">pn_message_t * pn_message(void)</div><div class="ttdoc">Construct a new pn_message_t. </div></div>
 <div class="ttc" id="group__message_html_gaa0247560f0cd4590bc8ece20565eb611"><div class="ttname"><a href="group__message.html#gaa0247560f0cd4590bc8ece20565eb611">pn_message_set_content_type</a></div><div class="ttdeci">int pn_message_set_content_type(pn_message_t *msg, const char *type)</div><div class="ttdoc">Set the content_type for a message. </div></div>
 <div class="ttc" id="group__message_html_ga4a18377a68cc26d68141e1b1afd82a52"><div class="ttname"><a href="group__message.html#ga4a18377a68cc26d68141e1b1afd82a52">pn_message_get_creation_time</a></div><div class="ttdeci">pn_timestamp_t pn_message_get_creation_time(pn_message_t *msg)</div><div class="ttdoc">Get the creation time for a message. </div></div>
+<div class="ttc" id="group__api__types_html_structpn__rwbytes__t"><div class="ttname"><a href="group__api__types.html#structpn__rwbytes__t">pn_rwbytes_t</a></div><div class="ttdoc">A non-const byte buffer. </div><div class="ttdef"><b>Definition:</b> types.h:231</div></div>
 <div class="ttc" id="codec_8h_html"><div class="ttname"><a href="codec_8h.html">codec.h</a></div><div class="ttdoc">AMQP data encoding and decoding. </div></div>
+<div class="ttc" id="group__link_html_ga89dad3aa7934329a7ff467c636687bc0"><div class="ttname"><a href="group__link.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:311</div></div>
 <div class="ttc" id="group__message_html_gaf35cc7fb503f99b434a970ff669e5c4c"><div class="ttname"><a href="group__message.html#gaf35cc7fb503f99b434a970ff669e5c4c">pn_message_get_subject</a></div><div class="ttdeci">const char * pn_message_get_subject(pn_message_t *msg)</div><div class="ttdoc">Get the subject for a message. </div></div>
 <div class="ttc" id="group__message_html_gacb97f21822b058b6297bc618f6d190b0"><div class="ttname"><a href="group__message.html#gacb97f21822b058b6297bc618f6d190b0">pn_message_get_content_encoding</a></div><div class="ttdeci">const char * pn_message_get_content_encoding(pn_message_t *msg)</div><div class="ttdoc">Get the content_encoding for a message. </div></div>
 <div class="ttc" id="group__message_html_ga8fdfd3daca961bbfaa7affacee6047ce"><div class="ttname"><a href="group__message.html#ga8fdfd3daca961bbfaa7affacee6047ce">pn_message_get_expiry_time</a></div><div class="ttdeci">pn_timestamp_t pn_message_get_expiry_time(pn_message_t *msg)</div><div class="ttdoc">Get the expiry time for a message. </div></div>
 <div class="ttc" id="group__error_html_ga24a289d5b32c9bd8a775600a5af83d52"><div class="ttname"><a href="group__error.html#ga24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a></div><div class="ttdeci">struct pn_error_t pn_error_t</div><div class="ttdoc">An int error code and some string text to describe the error. </div><div class="ttdef"><b>Definition:</b> error.h:44</div></div>
 <div class="ttc" id="group__message_html_gac10c5d8f12e4817fec126fdb608baf53"><div class="ttname"><a href="group__message.html#gac10c5d8f12e4817fec126fdb608baf53">pn_message_errno</a></div><div class="ttdeci">int pn_message_errno(pn_message_t *msg)</div><div class="ttdoc">Access the error code of a message. </div></div>
 <div class="ttc" id="group__message_html_gaceb08618e468fdb4a95e103cce6e7cbd"><div class="ttname"><a href="group__message.html#gaceb08618e468fdb4a95e103cce6e7cbd">pn_message_correlation_id</a></div><div class="ttdeci">pn_data_t * pn_message_correlation_id(pn_message_t *msg)</div><div class="ttdoc">Get/set the correlation id for a message. </div></div>
-<div class="ttc" id="group__api__types_html_ga92033eaa8a158e7e4bb5d1f0e94ca606"><div class="ttname"><a href="group__api__types.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a></div><div class="ttdeci">int32_t pn_sequence_t</div><div class="ttdoc">A sequence number. </div><div class="ttdef"><b>Definition:</b> types.h:140</div></div>
+<div class="ttc" id="group__api__types_html_ga92033eaa8a158e7e4bb5d1f0e94ca606"><div class="ttname"><a href="group__api__types.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a></div><div class="ttdeci">int32_t pn_sequence_t</div><div class="ttdoc">A sequence number. </div><div class="ttdef"><b>Definition:</b> types.h:138</div></div>
 <div class="ttc" id="group__message_html_ga69aadbc3a80f1fa16962774e711392f8"><div class="ttname"><a href="group__message.html#ga69aadbc3a80f1fa16962774e711392f8">pn_message_free</a></div><div class="ttdeci">void pn_message_free(pn_message_t *msg)</div><div class="ttdoc">Free a previously constructed pn_message_t. </div></div>
 <div class="ttc" id="group__message_html_gad514ef95e642698876bedf6ec772eb72"><div class="ttname"><a href="group__message.html#gad514ef95e642698876bedf6ec772eb72">pn_message_get_delivery_count</a></div><div class="ttdeci">uint32_t pn_message_get_delivery_count(pn_message_t *msg)</div><div class="ttdoc">Get the delivery count for a message. </div></div>
 <div class="ttc" id="group__message_html_ga64240467da74892010a7282116b0b234"><div class="ttname"><a href="group__message.html#ga64240467da74892010a7282116b0b234">pn_message_set_first_acquirer</a></div><div class="ttdeci">int pn_message_set_first_acquirer(pn_message_t *msg, bool first)</div><div class="ttdoc">Set the first acquirer flag for a message. </div></div>
@@ -128,7 +130,7 @@ $(document).ready(function(){initNavTree('message_8h_source.html','');});
 <div class="ttc" id="group__message_html_ga304bbec66cac6f09f01cbf7014196fd9"><div class="ttname"><a href="group__message.html#ga304bbec66cac6f09f01cbf7014196fd9">pn_message_set_reply_to_group_id</a></div><div class="ttdeci">int pn_message_set_reply_to_group_id(pn_message_t *msg, const char *reply_to_group_id)</div><div class="ttdoc">Set the reply_to_group_id for a message. </div></div>
 <div class="ttc" id="group__message_html_ga918c90a049d6b39041b0a2044f9048c6"><div class="ttname"><a href="group__message.html#ga918c90a049d6b39041b0a2044f9048c6">pn_message_clear</a></div><div class="ttdeci">void pn_message_clear(pn_message_t *msg)</div><div class="ttdoc">Clears the content of a pn_message_t. </div></div>
 <div class="ttc" id="group__message_html_gab7f1c0d93b93dee6c3eef730e35ef5e2"><div class="ttname"><a href="group__message.html#gab7f1c0d93b93dee6c3eef730e35ef5e2">pn_message_set_creation_time</a></div><div class="ttdeci">int pn_message_set_creation_time(pn_message_t *msg, pn_timestamp_t time)</div><div class="ttdoc">Set the creation time for a message. </div></div>
-<div class="ttc" id="group__message_html_ga2173bbce3c1f4b04074e42d2fe7da473"><div class="ttname"><a href="group__message.html#ga2173bbce3c1f4b04074e42d2fe7da473">pn_message_encode</a></div><div class="ttdeci">int pn_message_encode(pn_message_t *msg, char *bytes, size_t *size)</div><div class="ttdoc">Encode/save message content as AMQP formatted binary data. </div></div>
+<div class="ttc" id="group__message_html_ga2173bbce3c1f4b04074e42d2fe7da473"><div class="ttname"><a href="group__message.html#ga2173bbce3c1f4b04074e42d2fe7da473">pn_message_encode</a></div><div class="ttdeci">int pn_message_encode(pn_message_t *msg, char *bytes, size_t *size)</div><div class="ttdoc">Encode a message as AMQP formatted binary data. </div></div>
 <div class="ttc" id="group__message_html_ga4ebc7c7e7f524f5bf36214ff0ccaa00b"><div class="ttname"><a href="group__message.html#ga4ebc7c7e7f524f5bf36214ff0ccaa00b">pn_message_get_group_id</a></div><div class="ttdeci">const char * pn_message_get_group_id(pn_message_t *msg)</div><div class="ttdoc">Get the group_id for a message. </div></div>
 <div class="ttc" id="group__message_html_ga957f54f40b8a297cdf9ceee8a71b3c1c"><div class="ttname"><a href="group__message.html#ga957f54f40b8a297cdf9ceee8a71b3c1c">pn_message_get_user_id</a></div><div class="ttdeci">pn_bytes_t pn_message_get_user_id(pn_message_t *msg)</div><div class="ttdoc">Get the user id for a message. </div></div>
 <div class="ttc" id="group__message_html_gad7d3aa060b7666dce6a6d955945bedce"><div class="ttname"><a href="group__message.html#gad7d3aa060b7666dce6a6d955945bedce">pn_message_get_id</a></div><div class="ttdeci">pn_atom_t pn_message_get_id(pn_message_t *msg)</div><div class="ttdoc">Get the id for a message. </div></div>
@@ -148,12 +150,13 @@ $(document).ready(function(){initNavTree('message_8h_source.html','');});
 <div class="ttc" id="group__message_html_ga0ec7ed8750b4d418c60aa77e4b1812bc"><div class="ttname"><a href="group__message.html#ga0ec7ed8750b4d418c60aa77e4b1812bc">pn_message_set_group_id</a></div><div class="ttdeci">int pn_message_set_group_id(pn_message_t *msg, const char *group_id)</div><div class="ttdoc">Set the group_id for a message. </div></div>
 <div class="ttc" id="group__message_html_gaa4f5b4884d5422123a4e6f48bf00701c"><div class="ttname"><a href="group__message.html#gaa4f5b4884d5422123a4e6f48bf00701c">pn_message_get_address</a></div><div class="ttdeci">const char * pn_message_get_address(pn_message_t *msg)</div><div class="ttdoc">Get the address for a message. </div></div>
 <div class="ttc" id="group__message_html_ga63bdd43b7cee8741665db999fac97a62"><div class="ttname"><a href="group__message.html#ga63bdd43b7cee8741665db999fac97a62">pn_message_set_inferred</a></div><div class="ttdeci">int pn_message_set_inferred(pn_message_t *msg, bool inferred)</div><div class="ttdoc">Set the inferred flag for a message. </div></div>
+<div class="ttc" id="group__message_html_ga86cd32577f0e78bab29bd0e49869f0b5"><div class="ttname"><a href="group__message.html#ga86cd32577f0e78bab29bd0e49869f0b5">pn_message_send</a></div><div class="ttdeci">ssize_t pn_message_send(pn_message_t *msg, pn_link_t *sender, pn_rwbytes_t *buf)</div><div class="ttdoc">Encode and send a message on a sender link. </div></div>
 <div class="ttc" id="group__message_html_ga6c108bc39b13c5257671aee68ea981c7"><div class="ttname"><a href="group__message.html#ga6c108bc39b13c5257671aee68ea981c7">pn_message_set_expiry_time</a></div><div class="ttdeci">int pn_message_set_expiry_time(pn_message_t *msg, pn_timestamp_t time)</div><div class="ttdoc">Set the expiry time for a message. </div></div>
 <div class="ttc" id="group__message_html_gadadb16710eccb6d332d039acc9dc1042"><div class="ttname"><a href="group__message.html#gadadb16710eccb6d332d039acc9dc1042">pn_message_annotations</a></div><div class="ttdeci">pn_data_t * pn_message_annotations(pn_message_t *msg)</div><div class="ttdoc">Get/set the annotations for a message. </div></div>
 <div class="ttc" id="group__message_html_ga38ecee233f94e128bed9be3e530f27e5"><div class="ttname"><a href="group__message.html#ga38ecee233f94e128bed9be3e530f27e5">pn_message_set_address</a></div><div class="ttdeci">int pn_message_set_address(pn_message_t *msg, const char *address)</div><div class="ttdoc">Set the address for a message. </div></div>
-<div class="ttc" id="group__api__types_html_structpn__bytes__t"><div class="ttname"><a href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a></div><div class="ttdoc">A const byte buffer. </div><div class="ttdef"><b>Definition:</b> types.h:214</div></div>
-<div class="ttc" id="group__message_html_ga145c06edbcccfbe97136bfb5cb2b22b1"><div class="ttname"><a href="group__message.html#ga145c06edbcccfbe97136bfb5cb2b22b1">pn_message_body</a></div><div class="ttdeci">pn_data_t * pn_message_body(pn_message_t *msg)</div><div class="ttdoc">Get/set the body of a message. </div></div>
-<div class="ttc" id="group__amqp__types_html_gad337c365b498106064ec28e00e5fb6dd"><div class="ttname"><a href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a></div><div class="ttdeci">int64_t pn_timestamp_t</div><div class="ttdoc">A 64-bit timestamp in milliseconds since the Unix epoch. </div><div class="ttdef"><b>Definition:</b> types.h:168</div></div>
+<div class="ttc" id="group__api__types_html_structpn__bytes__t"><div class="ttname"><a href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a></div><div class="ttdoc">A const byte buffer. </div><div class="ttdef"><b>Definition:</b> types.h:212</div></div>
+<div class="ttc" id="group__message_html_ga145c06edbcccfbe97136bfb5cb2b22b1"><div class="ttname"><a href="group__message.html#ga145c06edbcccfbe97136bfb5cb2b22b1">pn_message_body</a></div><div class="ttdeci">pn_data_t * pn_message_body(pn_message_t *msg)</div><div class="ttdoc">Get and set the body of a message. </div></div>
+<div class="ttc" id="group__amqp__types_html_gad337c365b498106064ec28e00e5fb6dd"><div class="ttname"><a href="group__amqp__types.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a></div><div class="ttdeci">int64_t pn_timestamp_t</div><div class="ttdoc">A 64-bit timestamp in milliseconds since the Unix epoch. </div><div class="ttdef"><b>Definition:</b> types.h:166</div></div>
 <div class="ttc" id="group__message_html_gad169c319e27eacf91864da26a23b6d74"><div class="ttname"><a href="group__message.html#gad169c319e27eacf91864da26a23b6d74">pn_message_set_id</a></div><div class="ttdeci">int pn_message_set_id(pn_message_t *msg, pn_atom_t id)</div><div class="ttdoc">Set the id for a message. </div></div>
 <div class="ttc" id="group__message_html_ga5b9e011902e7bd3a9f94ecf52b723c33"><div class="ttname"><a href="group__message.html#ga5b9e011902e7bd3a9f94ecf52b723c33">pn_message_get_reply_to</a></div><div class="ttdeci">const char * pn_message_get_reply_to(pn_message_t *msg)</div><div class="ttdoc">Get the reply_to for a message. </div></div>
 </div><!-- fragment --></div><!-- contents -->


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message