/usr/share/proton-0.10/docs/api-c/a00054.html is in libqpid-proton2-dev-doc 0.10-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 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 | <!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.11"/>
<title>proton: Message</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">proton
 <span id="projectnumber">0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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 class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><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><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Message</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga732b155202644a5c5be75a651a3c4fac"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga732b155202644a5c5be75a651a3c4fac">PN_DEFAULT_PRIORITY</a>   (4)</td></tr>
<tr class="memdesc:ga732b155202644a5c5be75a651a3c4fac"><td class="mdescLeft"> </td><td class="mdescRight">Default priority for messages. <a href="#ga732b155202644a5c5be75a651a3c4fac">More...</a><br /></td></tr>
<tr class="separator:ga732b155202644a5c5be75a651a3c4fac"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gad9259fa9271e8844c8e05a7e8978e3b2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a></td></tr>
<tr class="memdesc:gad9259fa9271e8844c8e05a7e8978e3b2"><td class="mdescLeft"> </td><td class="mdescRight">An AMQP Message object. <a href="#gad9259fa9271e8844c8e05a7e8978e3b2">More...</a><br /></td></tr>
<tr class="separator:gad9259fa9271e8844c8e05a7e8978e3b2"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga29b1ebb0e3d0f4663e679eb92b5dfdb9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga29b1ebb0e3d0f4663e679eb92b5dfdb9">pn_message</a> (void)</td></tr>
<tr class="memdesc:ga29b1ebb0e3d0f4663e679eb92b5dfdb9"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. <a href="#ga29b1ebb0e3d0f4663e679eb92b5dfdb9">More...</a><br /></td></tr>
<tr class="separator:ga29b1ebb0e3d0f4663e679eb92b5dfdb9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga02854827986ba1b0e36d0005674661c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4">pn_message_free</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga02854827986ba1b0e36d0005674661c4"><td class="mdescLeft"> </td><td class="mdescRight">Free a previously constructed <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. <a href="#ga02854827986ba1b0e36d0005674661c4">More...</a><br /></td></tr>
<tr class="separator:ga02854827986ba1b0e36d0005674661c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad82108b69076e73f9a413297eb0fe93a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a">pn_message_clear</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gad82108b69076e73f9a413297eb0fe93a"><td class="mdescLeft"> </td><td class="mdescRight">Clears the content of a <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. <a href="#gad82108b69076e73f9a413297eb0fe93a">More...</a><br /></td></tr>
<tr class="separator:gad82108b69076e73f9a413297eb0fe93a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga98c45926c58fabb1465c59d9aa4056ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga98c45926c58fabb1465c59d9aa4056ff">pn_message_errno</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga98c45926c58fabb1465c59d9aa4056ff"><td class="mdescLeft"> </td><td class="mdescRight">Access the error code of a message. <a href="#ga98c45926c58fabb1465c59d9aa4056ff">More...</a><br /></td></tr>
<tr class="separator:ga98c45926c58fabb1465c59d9aa4056ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga87bacde8d1733671663832dbb9fd097c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00019.html#a24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga87bacde8d1733671663832dbb9fd097c">pn_message_error</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga87bacde8d1733671663832dbb9fd097c"><td class="mdescLeft"> </td><td class="mdescRight">Access the error information for a message. <a href="#ga87bacde8d1733671663832dbb9fd097c">More...</a><br /></td></tr>
<tr class="separator:ga87bacde8d1733671663832dbb9fd097c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga19e41e8cfac95c2cd0f77a92c4ec85eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga19e41e8cfac95c2cd0f77a92c4ec85eb">pn_message_is_inferred</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga19e41e8cfac95c2cd0f77a92c4ec85eb"><td class="mdescLeft"> </td><td class="mdescRight">Get the inferred flag for a message. <a href="#ga19e41e8cfac95c2cd0f77a92c4ec85eb">More...</a><br /></td></tr>
<tr class="separator:ga19e41e8cfac95c2cd0f77a92c4ec85eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa0a2a7abe7f484b5f4d5d7168d082c8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaa0a2a7abe7f484b5f4d5d7168d082c8e">pn_message_set_inferred</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, bool inferred)</td></tr>
<tr class="memdesc:gaa0a2a7abe7f484b5f4d5d7168d082c8e"><td class="mdescLeft"> </td><td class="mdescRight">Set the inferred flag for a message. <a href="#gaa0a2a7abe7f484b5f4d5d7168d082c8e">More...</a><br /></td></tr>
<tr class="separator:gaa0a2a7abe7f484b5f4d5d7168d082c8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0639e7686a2fdaabec64e26675fa805a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga0639e7686a2fdaabec64e26675fa805a">pn_message_is_durable</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga0639e7686a2fdaabec64e26675fa805a"><td class="mdescLeft"> </td><td class="mdescRight">Get the durable flag for a message. <a href="#ga0639e7686a2fdaabec64e26675fa805a">More...</a><br /></td></tr>
<tr class="separator:ga0639e7686a2fdaabec64e26675fa805a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga29d5812830f4379461472761cd5e056b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga29d5812830f4379461472761cd5e056b">pn_message_set_durable</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, bool durable)</td></tr>
<tr class="memdesc:ga29d5812830f4379461472761cd5e056b"><td class="mdescLeft"> </td><td class="mdescRight">Set the durable flag for a message. <a href="#ga29d5812830f4379461472761cd5e056b">More...</a><br /></td></tr>
<tr class="separator:ga29d5812830f4379461472761cd5e056b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf0df7d607fb85c78ada340df52db745c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaf0df7d607fb85c78ada340df52db745c">pn_message_get_priority</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gaf0df7d607fb85c78ada340df52db745c"><td class="mdescLeft"> </td><td class="mdescRight">Get the priority for a message. <a href="#gaf0df7d607fb85c78ada340df52db745c">More...</a><br /></td></tr>
<tr class="separator:gaf0df7d607fb85c78ada340df52db745c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5878b877a0b119f9eb6a7a02bdda6358"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga5878b877a0b119f9eb6a7a02bdda6358">pn_message_set_priority</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint8_t priority)</td></tr>
<tr class="memdesc:ga5878b877a0b119f9eb6a7a02bdda6358"><td class="mdescLeft"> </td><td class="mdescRight">Set the priority for a message. <a href="#ga5878b877a0b119f9eb6a7a02bdda6358">More...</a><br /></td></tr>
<tr class="separator:ga5878b877a0b119f9eb6a7a02bdda6358"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9bc059be1b3f8b48e3e02d03bd0e31cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga9bc059be1b3f8b48e3e02d03bd0e31cf">pn_message_get_ttl</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga9bc059be1b3f8b48e3e02d03bd0e31cf"><td class="mdescLeft"> </td><td class="mdescRight">Get the ttl for a message. <a href="#ga9bc059be1b3f8b48e3e02d03bd0e31cf">More...</a><br /></td></tr>
<tr class="separator:ga9bc059be1b3f8b48e3e02d03bd0e31cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga231109a27ed77c5440f5fd5e8e271dc3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga231109a27ed77c5440f5fd5e8e271dc3">pn_message_set_ttl</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00064.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a> ttl)</td></tr>
<tr class="memdesc:ga231109a27ed77c5440f5fd5e8e271dc3"><td class="mdescLeft"> </td><td class="mdescRight">Set the ttl for a message. <a href="#ga231109a27ed77c5440f5fd5e8e271dc3">More...</a><br /></td></tr>
<tr class="separator:ga231109a27ed77c5440f5fd5e8e271dc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga147807825163b84d9fdd7556fad42608"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga147807825163b84d9fdd7556fad42608">pn_message_is_first_acquirer</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga147807825163b84d9fdd7556fad42608"><td class="mdescLeft"> </td><td class="mdescRight">Get the first acquirer flag for a message. <a href="#ga147807825163b84d9fdd7556fad42608">More...</a><br /></td></tr>
<tr class="separator:ga147807825163b84d9fdd7556fad42608"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga00b7a4b62de07b070191398e1f1cff02"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga00b7a4b62de07b070191398e1f1cff02">pn_message_set_first_acquirer</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, bool first)</td></tr>
<tr class="memdesc:ga00b7a4b62de07b070191398e1f1cff02"><td class="mdescLeft"> </td><td class="mdescRight">Set the first acquirer flag for a message. <a href="#ga00b7a4b62de07b070191398e1f1cff02">More...</a><br /></td></tr>
<tr class="separator:ga00b7a4b62de07b070191398e1f1cff02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae6061ca4cd91f35db285ad4e736b4880"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gae6061ca4cd91f35db285ad4e736b4880">pn_message_get_delivery_count</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gae6061ca4cd91f35db285ad4e736b4880"><td class="mdescLeft"> </td><td class="mdescRight">Get the delivery count for a message. <a href="#gae6061ca4cd91f35db285ad4e736b4880">More...</a><br /></td></tr>
<tr class="separator:gae6061ca4cd91f35db285ad4e736b4880"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9e29a74bbaf88a38d488df17940f637a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga9e29a74bbaf88a38d488df17940f637a">pn_message_set_delivery_count</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, uint32_t count)</td></tr>
<tr class="memdesc:ga9e29a74bbaf88a38d488df17940f637a"><td class="mdescLeft"> </td><td class="mdescRight">Set the delivery count for a message. <a href="#ga9e29a74bbaf88a38d488df17940f637a">More...</a><br /></td></tr>
<tr class="separator:ga9e29a74bbaf88a38d488df17940f637a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad63613b52062ab477ac9c32f7131cda4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad63613b52062ab477ac9c32f7131cda4">pn_message_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gad63613b52062ab477ac9c32f7131cda4"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the id for a message. <a href="#gad63613b52062ab477ac9c32f7131cda4">More...</a><br /></td></tr>
<tr class="separator:gad63613b52062ab477ac9c32f7131cda4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6dc34192b0b265792e80b909733fc446"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00004.html">pn_atom_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga6dc34192b0b265792e80b909733fc446">pn_message_get_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga6dc34192b0b265792e80b909733fc446"><td class="mdescLeft"> </td><td class="mdescRight">Get the id for a message. <a href="#ga6dc34192b0b265792e80b909733fc446">More...</a><br /></td></tr>
<tr class="separator:ga6dc34192b0b265792e80b909733fc446"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaaa2eb9b3638f556a8e89643e7d5751d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaaaa2eb9b3638f556a8e89643e7d5751d">pn_message_set_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00004.html">pn_atom_t</a> id)</td></tr>
<tr class="memdesc:gaaaa2eb9b3638f556a8e89643e7d5751d"><td class="mdescLeft"> </td><td class="mdescRight">Set the id for a message. <a href="#gaaaa2eb9b3638f556a8e89643e7d5751d">More...</a><br /></td></tr>
<tr class="separator:gaaaa2eb9b3638f556a8e89643e7d5751d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab420ee7f0d06a3771e27b3bc0d97ded2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00005.html">pn_bytes_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gab420ee7f0d06a3771e27b3bc0d97ded2">pn_message_get_user_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gab420ee7f0d06a3771e27b3bc0d97ded2"><td class="mdescLeft"> </td><td class="mdescRight">Get the user id for a message. <a href="#gab420ee7f0d06a3771e27b3bc0d97ded2">More...</a><br /></td></tr>
<tr class="separator:gab420ee7f0d06a3771e27b3bc0d97ded2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab10575fed8437d431da449e04f835f6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gab10575fed8437d431da449e04f835f6d">pn_message_set_user_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00005.html">pn_bytes_t</a> user_id)</td></tr>
<tr class="memdesc:gab10575fed8437d431da449e04f835f6d"><td class="mdescLeft"> </td><td class="mdescRight">Set the user id for a message. <a href="#gab10575fed8437d431da449e04f835f6d">More...</a><br /></td></tr>
<tr class="separator:gab10575fed8437d431da449e04f835f6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8cb345cb31c3a3349688799b6b4f2006"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga8cb345cb31c3a3349688799b6b4f2006">pn_message_get_address</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga8cb345cb31c3a3349688799b6b4f2006"><td class="mdescLeft"> </td><td class="mdescRight">Get the address for a message. <a href="#ga8cb345cb31c3a3349688799b6b4f2006">More...</a><br /></td></tr>
<tr class="separator:ga8cb345cb31c3a3349688799b6b4f2006"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadae5d992568a088c561e5ddcdde13705"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gadae5d992568a088c561e5ddcdde13705">pn_message_set_address</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *address)</td></tr>
<tr class="memdesc:gadae5d992568a088c561e5ddcdde13705"><td class="mdescLeft"> </td><td class="mdescRight">Set the address for a message. <a href="#gadae5d992568a088c561e5ddcdde13705">More...</a><br /></td></tr>
<tr class="separator:gadae5d992568a088c561e5ddcdde13705"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf5a583d0cc1ee1a91d02e3f772a25771"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaf5a583d0cc1ee1a91d02e3f772a25771">pn_message_get_subject</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gaf5a583d0cc1ee1a91d02e3f772a25771"><td class="mdescLeft"> </td><td class="mdescRight">Get the subject for a message. <a href="#gaf5a583d0cc1ee1a91d02e3f772a25771">More...</a><br /></td></tr>
<tr class="separator:gaf5a583d0cc1ee1a91d02e3f772a25771"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaafc66aca1184747edac543e9a3985a24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaafc66aca1184747edac543e9a3985a24">pn_message_set_subject</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *subject)</td></tr>
<tr class="memdesc:gaafc66aca1184747edac543e9a3985a24"><td class="mdescLeft"> </td><td class="mdescRight">Set the subject for a message. <a href="#gaafc66aca1184747edac543e9a3985a24">More...</a><br /></td></tr>
<tr class="separator:gaafc66aca1184747edac543e9a3985a24"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafe7577a90ec17ff77af79e1b544557d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gafe7577a90ec17ff77af79e1b544557d7">pn_message_get_reply_to</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gafe7577a90ec17ff77af79e1b544557d7"><td class="mdescLeft"> </td><td class="mdescRight">Get the reply_to for a message. <a href="#gafe7577a90ec17ff77af79e1b544557d7">More...</a><br /></td></tr>
<tr class="separator:gafe7577a90ec17ff77af79e1b544557d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga04aa890bc4ff9f182462cffd50029123"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga04aa890bc4ff9f182462cffd50029123">pn_message_set_reply_to</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *reply_to)</td></tr>
<tr class="memdesc:ga04aa890bc4ff9f182462cffd50029123"><td class="mdescLeft"> </td><td class="mdescRight">Set the reply_to for a message. <a href="#ga04aa890bc4ff9f182462cffd50029123">More...</a><br /></td></tr>
<tr class="separator:ga04aa890bc4ff9f182462cffd50029123"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa030d35726172445701c3abd365717b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaa030d35726172445701c3abd365717b3">pn_message_correlation_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gaa030d35726172445701c3abd365717b3"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the correlation id for a message. <a href="#gaa030d35726172445701c3abd365717b3">More...</a><br /></td></tr>
<tr class="separator:gaa030d35726172445701c3abd365717b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga85500c85e451bb223084a5261be4f107"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00004.html">pn_atom_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga85500c85e451bb223084a5261be4f107">pn_message_get_correlation_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga85500c85e451bb223084a5261be4f107"><td class="mdescLeft"> </td><td class="mdescRight">Get the correlation id for a message. <a href="#ga85500c85e451bb223084a5261be4f107">More...</a><br /></td></tr>
<tr class="separator:ga85500c85e451bb223084a5261be4f107"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad8cc824cf918cec1a53816c15527322a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad8cc824cf918cec1a53816c15527322a">pn_message_set_correlation_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00004.html">pn_atom_t</a> id)</td></tr>
<tr class="memdesc:gad8cc824cf918cec1a53816c15527322a"><td class="mdescLeft"> </td><td class="mdescRight">Set the correlation id for a message. <a href="#gad8cc824cf918cec1a53816c15527322a">More...</a><br /></td></tr>
<tr class="separator:gad8cc824cf918cec1a53816c15527322a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8b7dbd80b354c3e1210bd7d223c08d64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga8b7dbd80b354c3e1210bd7d223c08d64">pn_message_get_content_type</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga8b7dbd80b354c3e1210bd7d223c08d64"><td class="mdescLeft"> </td><td class="mdescRight">Get the content_type for a message. <a href="#ga8b7dbd80b354c3e1210bd7d223c08d64">More...</a><br /></td></tr>
<tr class="separator:ga8b7dbd80b354c3e1210bd7d223c08d64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8881958619bd06d75c0c6cfffc59ee07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga8881958619bd06d75c0c6cfffc59ee07">pn_message_set_content_type</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *type)</td></tr>
<tr class="memdesc:ga8881958619bd06d75c0c6cfffc59ee07"><td class="mdescLeft"> </td><td class="mdescRight">Set the content_type for a message. <a href="#ga8881958619bd06d75c0c6cfffc59ee07">More...</a><br /></td></tr>
<tr class="separator:ga8881958619bd06d75c0c6cfffc59ee07"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9ec4d67e6527397023d119ae81f57c03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga9ec4d67e6527397023d119ae81f57c03">pn_message_get_content_encoding</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga9ec4d67e6527397023d119ae81f57c03"><td class="mdescLeft"> </td><td class="mdescRight">Get the content_encoding for a message. <a href="#ga9ec4d67e6527397023d119ae81f57c03">More...</a><br /></td></tr>
<tr class="separator:ga9ec4d67e6527397023d119ae81f57c03"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga39f2990e3a541fd9371d7dfb3ca82953"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga39f2990e3a541fd9371d7dfb3ca82953">pn_message_set_content_encoding</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *encoding)</td></tr>
<tr class="memdesc:ga39f2990e3a541fd9371d7dfb3ca82953"><td class="mdescLeft"> </td><td class="mdescRight">Set the content_encoding for a message. <a href="#ga39f2990e3a541fd9371d7dfb3ca82953">More...</a><br /></td></tr>
<tr class="separator:ga39f2990e3a541fd9371d7dfb3ca82953"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab79cc8c5eb7352d82e8f5bbfbe06234c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gab79cc8c5eb7352d82e8f5bbfbe06234c">pn_message_get_expiry_time</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gab79cc8c5eb7352d82e8f5bbfbe06234c"><td class="mdescLeft"> </td><td class="mdescRight">Get the expiry time for a message. <a href="#gab79cc8c5eb7352d82e8f5bbfbe06234c">More...</a><br /></td></tr>
<tr class="separator:gab79cc8c5eb7352d82e8f5bbfbe06234c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad5044e606189589abafd65890d8824d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad5044e606189589abafd65890d8824d8">pn_message_set_expiry_time</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> time)</td></tr>
<tr class="memdesc:gad5044e606189589abafd65890d8824d8"><td class="mdescLeft"> </td><td class="mdescRight">Set the expiry time for a message. <a href="#gad5044e606189589abafd65890d8824d8">More...</a><br /></td></tr>
<tr class="separator:gad5044e606189589abafd65890d8824d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaac9bf53b47cbfba119f47ecd08c6bc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaaac9bf53b47cbfba119f47ecd08c6bc6">pn_message_get_creation_time</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gaaac9bf53b47cbfba119f47ecd08c6bc6"><td class="mdescLeft"> </td><td class="mdescRight">Get the creation time for a message. <a href="#gaaac9bf53b47cbfba119f47ecd08c6bc6">More...</a><br /></td></tr>
<tr class="separator:gaaac9bf53b47cbfba119f47ecd08c6bc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7f328d0874a181f508b0af9eece5e95d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga7f328d0874a181f508b0af9eece5e95d">pn_message_set_creation_time</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> time)</td></tr>
<tr class="memdesc:ga7f328d0874a181f508b0af9eece5e95d"><td class="mdescLeft"> </td><td class="mdescRight">Set the creation time for a message. <a href="#ga7f328d0874a181f508b0af9eece5e95d">More...</a><br /></td></tr>
<tr class="separator:ga7f328d0874a181f508b0af9eece5e95d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaac9c32067e50f3279fe17b17a3b0cc7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gaac9c32067e50f3279fe17b17a3b0cc7f">pn_message_get_group_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gaac9c32067e50f3279fe17b17a3b0cc7f"><td class="mdescLeft"> </td><td class="mdescRight">Get the group_id for a message. <a href="#gaac9c32067e50f3279fe17b17a3b0cc7f">More...</a><br /></td></tr>
<tr class="separator:gaac9c32067e50f3279fe17b17a3b0cc7f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0ba2c671c5db93e8c7321ef6e66c962e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga0ba2c671c5db93e8c7321ef6e66c962e">pn_message_set_group_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *group_id)</td></tr>
<tr class="memdesc:ga0ba2c671c5db93e8c7321ef6e66c962e"><td class="mdescLeft"> </td><td class="mdescRight">Set the group_id for a message. <a href="#ga0ba2c671c5db93e8c7321ef6e66c962e">More...</a><br /></td></tr>
<tr class="separator:ga0ba2c671c5db93e8c7321ef6e66c962e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7820752b1c9d5f88e74d291e48fc1638"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga7820752b1c9d5f88e74d291e48fc1638">pn_message_get_group_sequence</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga7820752b1c9d5f88e74d291e48fc1638"><td class="mdescLeft"> </td><td class="mdescRight">Get the group sequence for a message. <a href="#ga7820752b1c9d5f88e74d291e48fc1638">More...</a><br /></td></tr>
<tr class="separator:ga7820752b1c9d5f88e74d291e48fc1638"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga31d881ca2663b0903f9a866da1e911ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga31d881ca2663b0903f9a866da1e911ef">pn_message_set_group_sequence</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00064.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> n)</td></tr>
<tr class="memdesc:ga31d881ca2663b0903f9a866da1e911ef"><td class="mdescLeft"> </td><td class="mdescRight">Set the group sequence for a message. <a href="#ga31d881ca2663b0903f9a866da1e911ef">More...</a><br /></td></tr>
<tr class="separator:ga31d881ca2663b0903f9a866da1e911ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga165beee02cfa76912ec7eb89e3869135"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga165beee02cfa76912ec7eb89e3869135">pn_message_get_reply_to_group_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga165beee02cfa76912ec7eb89e3869135"><td class="mdescLeft"> </td><td class="mdescRight">Get the reply_to_group_id for a message. <a href="#ga165beee02cfa76912ec7eb89e3869135">More...</a><br /></td></tr>
<tr class="separator:ga165beee02cfa76912ec7eb89e3869135"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga99fcb933bf3dc699a1b04027f770922e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga99fcb933bf3dc699a1b04027f770922e">pn_message_set_reply_to_group_id</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *reply_to_group_id)</td></tr>
<tr class="memdesc:ga99fcb933bf3dc699a1b04027f770922e"><td class="mdescLeft"> </td><td class="mdescRight">Set the reply_to_group_id for a message. <a href="#ga99fcb933bf3dc699a1b04027f770922e">More...</a><br /></td></tr>
<tr class="separator:ga99fcb933bf3dc699a1b04027f770922e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae22d080b9928ac446349117783e5e1e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gae22d080b9928ac446349117783e5e1e7">pn_message_instructions</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gae22d080b9928ac446349117783e5e1e7"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the delivery instructions for a message. <a href="#gae22d080b9928ac446349117783e5e1e7">More...</a><br /></td></tr>
<tr class="separator:gae22d080b9928ac446349117783e5e1e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac41af78e905b660a8df54baad6499a2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gac41af78e905b660a8df54baad6499a2d">pn_message_annotations</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gac41af78e905b660a8df54baad6499a2d"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the annotations for a message. <a href="#gac41af78e905b660a8df54baad6499a2d">More...</a><br /></td></tr>
<tr class="separator:gac41af78e905b660a8df54baad6499a2d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga197f2c80f13dbfc5ee5527d387a0beab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga197f2c80f13dbfc5ee5527d387a0beab">pn_message_properties</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:ga197f2c80f13dbfc5ee5527d387a0beab"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the properties for a message. <a href="#ga197f2c80f13dbfc5ee5527d387a0beab">More...</a><br /></td></tr>
<tr class="separator:ga197f2c80f13dbfc5ee5527d387a0beab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad9c06e0d3ef5f2663fc5d8e2dd465ca3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#gad9c06e0d3ef5f2663fc5d8e2dd465ca3">pn_message_body</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg)</td></tr>
<tr class="memdesc:gad9c06e0d3ef5f2663fc5d8e2dd465ca3"><td class="mdescLeft"> </td><td class="mdescRight">Get/set the body of a message. <a href="#gad9c06e0d3ef5f2663fc5d8e2dd465ca3">More...</a><br /></td></tr>
<tr class="separator:gad9c06e0d3ef5f2663fc5d8e2dd465ca3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8e14c80d737f01e2a54b8198c48910d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga8e14c80d737f01e2a54b8198c48910d4">pn_message_decode</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, const char *bytes, size_t size)</td></tr>
<tr class="memdesc:ga8e14c80d737f01e2a54b8198c48910d4"><td class="mdescLeft"> </td><td class="mdescRight">Decode/load message content from AMQP formatted binary data. <a href="#ga8e14c80d737f01e2a54b8198c48910d4">More...</a><br /></td></tr>
<tr class="separator:ga8e14c80d737f01e2a54b8198c48910d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9b9e3322a64a594001f1d97f7cf2affa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga9b9e3322a64a594001f1d97f7cf2affa">pn_message_encode</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, char *bytes, size_t *size)</td></tr>
<tr class="memdesc:ga9b9e3322a64a594001f1d97f7cf2affa"><td class="mdescLeft"> </td><td class="mdescRight">Encode/save message content as AMQP formatted binary data. <a href="#ga9b9e3322a64a594001f1d97f7cf2affa">More...</a><br /></td></tr>
<tr class="separator:ga9b9e3322a64a594001f1d97f7cf2affa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga320d01b638a1780bebec73f4a943778a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00054.html#ga320d01b638a1780bebec73f4a943778a">pn_message_data</a> (<a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> *msg, <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga320d01b638a1780bebec73f4a943778a"><td class="mdescLeft"> </td><td class="mdescRight">Save message content into a pn_data_t object data. <a href="#ga320d01b638a1780bebec73f4a943778a">More...</a><br /></td></tr>
<tr class="separator:ga320d01b638a1780bebec73f4a943778a"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga732b155202644a5c5be75a651a3c4fac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_DEFAULT_PRIORITY   (4)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Default priority for messages. </p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="gad9259fa9271e8844c8e05a7e8978e3b2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An AMQP Message object. </p>
<p>An AMQP Message object is a mutable holder of message content that may be used to generate and encode or decode and access AMQP formatted message data. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga29b1ebb0e3d0f4663e679eb92b5dfdb9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a>* pn_message </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. </p>
<p>Every message that is constructed must be freed using <a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>pointer to a new <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gac41af78e905b660a8df54baad6499a2d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_annotations </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the annotations for a message. </p>
<p>This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> representing the content of the annotations section of a message. The pointer is valid until the message is freed and may be used to both access and modify the content of the annotations section of a message.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> must either be empty or consist of a symbol keyed map in order to be considered valid message annotations.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the message annotations </dd></dl>
</div>
</div>
<a class="anchor" id="gad9c06e0d3ef5f2663fc5d8e2dd465ca3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_body </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the body of a message. </p>
<p>This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> representing the body of a message. The pointer is valid until the message is freed and may be used to both access and modify the content of the message body.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the message body </dd></dl>
</div>
</div>
<a class="anchor" id="gad82108b69076e73f9a413297eb0fe93a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_message_clear </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears the content of a <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. </p>
<p>When pn_message_clear returns, the supplied <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a> will be emptied of all content and effectively returned to the same state as if it was just created.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>pointer to the <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a> to be cleared </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaa030d35726172445701c3abd365717b3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_correlation_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the correlation id for a message. </p>
<p>A correlation id can be an a string, an unsigned long, a uuid or a binary value. This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> that can be used to access and/or modify the value of the correlation id. The pointer is valid until the message is freed. See <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> for details on how to get/set the value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> holding the correlation id </dd></dl>
</div>
</div>
<a class="anchor" id="ga320d01b638a1780bebec73f4a943778a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Save message content into a pn_data_t object data. </p>
<p>The data object will first be cleared. </p>
</div>
</div>
<a class="anchor" id="ga8e14c80d737f01e2a54b8198c48910d4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_decode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Decode/load message content from AMQP formatted binary data. </p>
<p>Upon invoking this operation, any existing message content will be cleared and replaced with the content from the provided binary data.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">bytes</td><td>the start of the encoded AMQP data </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>the size of the encoded AMQP data </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga9b9e3322a64a594001f1d97f7cf2affa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_encode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char * </td>
<td class="paramname"><em>bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t * </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Encode/save message content as AMQP formatted binary data. </p>
<p>If the buffer space provided is insufficient to store the content held in the message, the operation will fail and return a <a class="el" href="a00019.html#aaeef136648e1fd51c2b56c0265fa86f7">PN_OVERFLOW</a> error code.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">bytes</td><td>the start of empty buffer space </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>the amount of empty buffer space </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">size</td><td>the amount of data written </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga98c45926c58fabb1465c59d9aa4056ff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_errno </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the error code of a message. </p>
<p>Every operation on a message that can result in an error will set the message's error code in case of error. The <a class="el" href="a00054.html#ga98c45926c58fabb1465c59d9aa4056ff" title="Access the error code of a message. ">pn_message_errno()</a> call will access the error code of the most recent failed operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message's error code </dd></dl>
</div>
</div>
<a class="anchor" id="ga87bacde8d1733671663832dbb9fd097c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00019.html#a24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a>* pn_message_error </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the error information for a message. </p>
<p>Every operation on a message that can result in an error will update the error information held by its error descriptor should that operation fail. The <a class="el" href="a00054.html#ga87bacde8d1733671663832dbb9fd097c" title="Access the error information for a message. ">pn_message_error()</a> call will access the error information of the most recent failed operation. The pointer returned by this call is valid until the message is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message's error descriptor </dd></dl>
</div>
</div>
<a class="anchor" id="ga02854827986ba1b0e36d0005674661c4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_message_free </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Free a previously constructed <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>pointer to a <a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2" title="An AMQP Message object. ">pn_message_t</a> or NULL </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga8cb345cb31c3a3349688799b6b4f2006"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_address </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the address for a message. </p>
<p>This operation will return NULL if no address has been set or if the address has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#gadae5d992568a088c561e5ddcdde13705" title="Set the address for a message. ">pn_message_set_address()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the address of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga9ec4d67e6527397023d119ae81f57c03"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_content_encoding </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the content_encoding for a message. </p>
<p>This operation will return NULL if no content_encoding has been set or if the content_encoding has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#ga39f2990e3a541fd9371d7dfb3ca82953" title="Set the content_encoding for a message. ">pn_message_set_content_encoding()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the content_encoding of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga8b7dbd80b354c3e1210bd7d223c08d64"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_content_type </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the content_type for a message. </p>
<p>This operation will return NULL if no content_type has been set or if the content_type has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#ga8881958619bd06d75c0c6cfffc59ee07" title="Set the content_type for a message. ">pn_message_set_content_type()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the content_type of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga85500c85e451bb223084a5261be4f107"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00004.html">pn_atom_t</a> pn_message_get_correlation_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the correlation id for a message. </p>
<p>A correlation id can be an a string, an unsigned long, a uuid or a binary value. This operation returns the value of the id using the <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a> descriminated union. See <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a> for details on how to access the value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message id </dd></dl>
</div>
</div>
<a class="anchor" id="gaaac9bf53b47cbfba119f47ecd08c6bc6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> pn_message_get_creation_time </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the creation time for a message. </p>
<p>A zero value for the creation time indicates that the creation time has not been set. This is the default value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the creation time for the message </dd></dl>
</div>
</div>
<a class="anchor" id="gae6061ca4cd91f35db285ad4e736b4880"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint32_t pn_message_get_delivery_count </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the delivery count for a message. </p>
<p>The delivery count field tracks how many attempts have been made to delivery a message. Use <a class="el" href="a00054.html#ga9e29a74bbaf88a38d488df17940f637a" title="Set the delivery count for a message. ">pn_message_set_delivery_count()</a> to set the delivery count for a message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the delivery count for the message </dd></dl>
</div>
</div>
<a class="anchor" id="gab79cc8c5eb7352d82e8f5bbfbe06234c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> pn_message_get_expiry_time </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the expiry time for a message. </p>
<p>A zero value for the expiry time indicates that the message will never expire. This is the default value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the expiry time for the message </dd></dl>
</div>
</div>
<a class="anchor" id="gaac9c32067e50f3279fe17b17a3b0cc7f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_group_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the group_id for a message. </p>
<p>This operation will return NULL if no group_id has been set or if the group_id has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#ga0ba2c671c5db93e8c7321ef6e66c962e" title="Set the group_id for a message. ">pn_message_set_group_id()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the group_id of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga7820752b1c9d5f88e74d291e48fc1638"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> pn_message_get_group_sequence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the group sequence for a message. </p>
<p>The group sequence of a message identifies the relative ordering of messages within a group. The default value for the group sequence of a message is zero.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the group sequence for the message </dd></dl>
</div>
</div>
<a class="anchor" id="ga6dc34192b0b265792e80b909733fc446"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00004.html">pn_atom_t</a> pn_message_get_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the id for a message. </p>
<p>The message id provides a globally unique identifier for a message. A message id can be an a string, an unsigned long, a uuid or a binary value. This operation returns the value of the id using the <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a> descriminated union. See <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a> for details on how to access the value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message id </dd></dl>
</div>
</div>
<a class="anchor" id="gaf0df7d607fb85c78ada340df52db745c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint8_t pn_message_get_priority </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the priority for a message. </p>
<p>The priority of a message impacts ordering guarantees. Within a given ordered context, higher priority messages may jump ahead of lower priority messages.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message priority </dd></dl>
</div>
</div>
<a class="anchor" id="gafe7577a90ec17ff77af79e1b544557d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_reply_to </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the reply_to for a message. </p>
<p>This operation will return NULL if no reply_to has been set or if the reply_to has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#ga04aa890bc4ff9f182462cffd50029123" title="Set the reply_to for a message. ">pn_message_set_reply_to()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the reply_to of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga165beee02cfa76912ec7eb89e3869135"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_reply_to_group_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the reply_to_group_id for a message. </p>
<p>This operation will return NULL if no reply_to_group_id has been set or if the reply_to_group_id has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#ga99fcb933bf3dc699a1b04027f770922e" title="Set the reply_to_group_id for a message. ">pn_message_set_reply_to_group_id()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the reply_to_group_id of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="gaf5a583d0cc1ee1a91d02e3f772a25771"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_message_get_subject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the subject for a message. </p>
<p>This operation will return NULL if no subject has been set or if the subject has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#gaafc66aca1184747edac543e9a3985a24" title="Set the subject for a message. ">pn_message_set_subject()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the subject of the message (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga9bc059be1b3f8b48e3e02d03bd0e31cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a> pn_message_get_ttl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the ttl for a message. </p>
<p>The ttl for a message determines how long a message is considered live. When a message is held for retransmit, the ttl is decremented. Once the ttl reaches zero, the message is considered dead. Once a message is considered dead it may be dropped. Use <a class="el" href="a00054.html#ga231109a27ed77c5440f5fd5e8e271dc3" title="Set the ttl for a message. ">pn_message_set_ttl()</a> to set the ttl for a message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the ttl in milliseconds </dd></dl>
</div>
</div>
<a class="anchor" id="gab420ee7f0d06a3771e27b3bc0d97ded2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00005.html">pn_bytes_t</a> pn_message_get_user_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the user id for a message. </p>
<p>The pointer referenced by the <a class="el" href="a00005.html">pn_bytes_t</a> struct will be valid until any one of the following operations occur:</p>
<ul>
<li><a class="el" href="a00054.html#ga02854827986ba1b0e36d0005674661c4" title="Free a previously constructed pn_message_t. ">pn_message_free()</a></li>
<li><a class="el" href="a00054.html#gad82108b69076e73f9a413297eb0fe93a" title="Clears the content of a pn_message_t. ">pn_message_clear()</a></li>
<li><a class="el" href="a00054.html#gab10575fed8437d431da449e04f835f6d" title="Set the user id for a message. ">pn_message_set_user_id()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="a00005.html">pn_bytes_t</a> referencing the message's user_id </dd></dl>
</div>
</div>
<a class="anchor" id="gad63613b52062ab477ac9c32f7131cda4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the id for a message. </p>
<p>The message id provides a globally unique identifier for a message. A message id can be an a string, an unsigned long, a uuid or a binary value. This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> that can be used to access and/or modify the value of the message id. The pointer is valid until the message is freed. See <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> for details on how to get/set the value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> holding the id </dd></dl>
</div>
</div>
<a class="anchor" id="gae22d080b9928ac446349117783e5e1e7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_instructions </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the delivery instructions for a message. </p>
<p>This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> representing the content of the delivery instructions section of a message. The pointer is valid until the message is freed and may be used to both access and modify the content of the delivery instructions section of a message.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> must either be empty or consist of a symbol keyed map in order to be considered valid delivery instructions.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the delivery instructions </dd></dl>
</div>
</div>
<a class="anchor" id="ga0639e7686a2fdaabec64e26675fa805a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_message_is_durable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the durable flag for a message. </p>
<p>The durable flag indicates that any parties taking responsibility for the message must durably store the content.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of the durable flag </dd></dl>
</div>
</div>
<a class="anchor" id="ga147807825163b84d9fdd7556fad42608"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_message_is_first_acquirer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the first acquirer flag for a message. </p>
<p>When set to true, the first acquirer flag for a message indicates that the recipient of the message is the first recipient to acquire the message, i.e. there have been no failed delivery attempts to other acquirers. Note that this does not mean the message has not been delivered to, but not acquired, by other recipients.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the first acquirer flag for the message </dd></dl>
</div>
</div>
<a class="anchor" id="ga19e41e8cfac95c2cd0f77a92c4ec85eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_message_is_inferred </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the inferred flag for a message. </p>
<p>The inferred flag for a message indicates how the message content is encoded into AMQP sections. If inferred is true then binary and list values in the body of the message will be encoded as AMQP DATA and AMQP SEQUENCE sections, respectively. If inferred is false, then all values in the body of the message will be encoded as AMQP VALUE sections regardless of their type. Use <a class="el" href="a00054.html#gaa0a2a7abe7f484b5f4d5d7168d082c8e" title="Set the inferred flag for a message. ">pn_message_set_inferred</a> to set the value.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of the inferred flag for the message </dd></dl>
</div>
</div>
<a class="anchor" id="ga197f2c80f13dbfc5ee5527d387a0beab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_message_properties </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get/set the properties for a message. </p>
<p>This operation returns a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> representing the content of the properties section of a message. The pointer is valid until the message is freed and may be used to both access and modify the content of the properties section of a message.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> must either be empty or consist of a string keyed map in order to be considered valid message properties.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the message properties </dd></dl>
</div>
</div>
<a class="anchor" id="gadae5d992568a088c561e5ddcdde13705"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_address </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>address</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the address for a message. </p>
<p>The supplied address pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the address of the message is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">address</td><td>a pointer to the new address (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga39f2990e3a541fd9371d7dfb3ca82953"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_content_encoding </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>encoding</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the content_encoding for a message. </p>
<p>The supplied content_encoding pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the content_encoding is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">encoding</td><td>a pointer to the new content_encoding (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga8881958619bd06d75c0c6cfffc59ee07"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_content_type </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the content_type for a message. </p>
<p>The supplied content_type pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the content_type is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>a pointer to the new content_type (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gad8cc824cf918cec1a53816c15527322a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_correlation_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00004.html">pn_atom_t</a> </td>
<td class="paramname"><em>id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the correlation id for a message. </p>
<p>See <a class="el" href="a00054.html#ga85500c85e451bb223084a5261be4f107" title="Get the correlation id for a message. ">pn_message_get_correlation_id()</a> for more details on the meaning of the correlation id. Note that only string, unsigned long, uuid, or binary values are permitted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the new value of the message id </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga7f328d0874a181f508b0af9eece5e95d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_creation_time </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> </td>
<td class="paramname"><em>time</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the creation time for a message. </p>
<p>See <a class="el" href="a00054.html#gaaac9bf53b47cbfba119f47ecd08c6bc6" title="Get the creation time for a message. ">pn_message_get_creation_time()</a> for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">time</td><td>the new creation time for the message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga9e29a74bbaf88a38d488df17940f637a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_delivery_count </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t </td>
<td class="paramname"><em>count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the delivery count for a message. </p>
<p>See <a class="el" href="a00054.html#gae6061ca4cd91f35db285ad4e736b4880" title="Get the delivery count for a message. ">pn_message_get_delivery_count()</a> for details on what the delivery count means.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>the new delivery count </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga29d5812830f4379461472761cd5e056b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_durable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>durable</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the durable flag for a message. </p>
<p>See <a class="el" href="a00054.html#ga0639e7686a2fdaabec64e26675fa805a" title="Get the durable flag for a message. ">pn_message_is_durable()</a> for a description of the durable flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">durable</td><td>the new value of the durable flag </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gad5044e606189589abafd65890d8824d8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_expiry_time </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> </td>
<td class="paramname"><em>time</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the expiry time for a message. </p>
<p>See <a class="el" href="a00054.html#gab79cc8c5eb7352d82e8f5bbfbe06234c" title="Get the expiry time for a message. ">pn_message_get_expiry_time()</a> for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">time</td><td>the new expiry time for the message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga00b7a4b62de07b070191398e1f1cff02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_first_acquirer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>first</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the first acquirer flag for a message. </p>
<p>See <a class="el" href="a00054.html#ga147807825163b84d9fdd7556fad42608" title="Get the first acquirer flag for a message. ">pn_message_is_first_acquirer()</a> for details on the first acquirer flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">first</td><td>the new value for the first acquirer flag </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga0ba2c671c5db93e8c7321ef6e66c962e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_group_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>group_id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the group_id for a message. </p>
<p>The supplied group_id pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the group_id is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">group_id</td><td>a pointer to the new group_id (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga31d881ca2663b0903f9a866da1e911ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_group_sequence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#ga92033eaa8a158e7e4bb5d1f0e94ca606">pn_sequence_t</a> </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the group sequence for a message. </p>
<p>See <a class="el" href="a00054.html#ga7820752b1c9d5f88e74d291e48fc1638" title="Get the group sequence for a message. ">pn_message_get_group_sequence()</a> for details on what the group sequence means.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>the new group sequence for the message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gaaaa2eb9b3638f556a8e89643e7d5751d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00004.html">pn_atom_t</a> </td>
<td class="paramname"><em>id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the id for a message. </p>
<p>See <a class="el" href="a00054.html#ga6dc34192b0b265792e80b909733fc446" title="Get the id for a message. ">pn_message_get_id()</a> for more details on the meaning of the message id. Note that only string, unsigned long, uuid, or binary values are permitted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the new value of the message id </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gaa0a2a7abe7f484b5f4d5d7168d082c8e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_inferred </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>inferred</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the inferred flag for a message. </p>
<p>See <a class="el" href="a00054.html#ga19e41e8cfac95c2cd0f77a92c4ec85eb" title="Get the inferred flag for a message. ">pn_message_is_inferred()</a> for a description of what the inferred flag is.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">inferred</td><td>the new value of the inferred flag </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga5878b877a0b119f9eb6a7a02bdda6358"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_priority </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>priority</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the priority for a message. </p>
<p>See <a class="el" href="a00054.html#gaf0df7d607fb85c78ada340df52db745c" title="Get the priority for a message. ">pn_message_get_priority()</a> for details on message priority.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">priority</td><td>the new priority for the message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga04aa890bc4ff9f182462cffd50029123"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_reply_to </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>reply_to</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the reply_to for a message. </p>
<p>The supplied reply_to pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the reply_to is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reply_to</td><td>a pointer to the new reply_to (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga99fcb933bf3dc699a1b04027f770922e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_reply_to_group_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>reply_to_group_id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the reply_to_group_id for a message. </p>
<p>The supplied reply_to_group_id pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the reply_to_group_id is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reply_to_group_id</td><td>a pointer to the new reply_to_group_id (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gaafc66aca1184747edac543e9a3985a24"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_subject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>subject</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the subject for a message. </p>
<p>The supplied subject pointer must either be NULL or reference a NUL terminated string. When the pointer is NULL, the subject is set to NULL. When the pointer is non NULL, the contents are copied into the message.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">subject</td><td>a pointer to the new subject (or NULL) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga231109a27ed77c5440f5fd5e8e271dc3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_ttl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#ga9a701bc6dc9af9f42c3f4679172a723c">pn_millis_t</a> </td>
<td class="paramname"><em>ttl</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the ttl for a message. </p>
<p>See <a class="el" href="a00054.html#ga9bc059be1b3f8b48e3e02d03bd0e31cf" title="Get the ttl for a message. ">pn_message_get_ttl()</a> for a detailed description of message ttl.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">ttl</td><td>the new value for the message ttl </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gab10575fed8437d431da449e04f835f6d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int pn_message_set_user_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00054.html#gad9259fa9271e8844c8e05a7e8978e3b2">pn_message_t</a> * </td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00005.html">pn_bytes_t</a> </td>
<td class="paramname"><em>user_id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the user id for a message. </p>
<p>This operation copies the bytes referenced by the provided <a class="el" href="a00005.html">pn_bytes_t</a> struct.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>a message object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">user_id</td><td>the new user_id for the message </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error code on failure </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Apr 4 2016 09:18:57 for proton by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|