/usr/share/proton-0.10/docs/api-c/a00042.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 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 | <!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: Data</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="#nested-classes">Data Structures</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Data</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html">pn_atom_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A descriminated union that holds any scalar AMQP value. <a href="a00004.html#details">More...</a><br /></td></tr>
<tr class="separator:"><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:ga5d6cf528776e8b6ad6d67caf095986bf"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a></td></tr>
<tr class="memdesc:ga5d6cf528776e8b6ad6d67caf095986bf"><td class="mdescLeft"> </td><td class="mdescRight">An AMQP Data object. <a href="#ga5d6cf528776e8b6ad6d67caf095986bf">More...</a><br /></td></tr>
<tr class="separator:ga5d6cf528776e8b6ad6d67caf095986bf"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga4465b5ea7d3c4f15c1dffa4deda905db"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> { <br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe">PN_NULL</a> = 1,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7">PN_BOOL</a> = 2,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256">PN_UBYTE</a> = 3,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba32d7a9a461945791cb02902af9ff6592">PN_BYTE</a> = 4,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba657a836a5ee74d9468924982ba3a3b41">PN_USHORT</a> = 5,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3dbf1221e02329a7f41b41e597833d97">PN_SHORT</a> = 6,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa7a251ed9fe5c31f0473976467bfefdd">PN_UINT</a> = 7,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab">PN_INT</a> = 8,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba905512ea57a64d4e2aecf4877b192124">PN_CHAR</a> = 9,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba5f6b5fd2edbedf3f21285b69b8864777">PN_ULONG</a> = 10,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7a1b08f15b17b3d820a6fb50e65ffe1c">PN_LONG</a> = 11,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaca241b4fa6cd92fdf26b4460d02a17b1">PN_TIMESTAMP</a> = 12,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba9c27cba605584c7d093f26e7270bfaa0">PN_FLOAT</a> = 13,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa1367e8029855849dc4e0d3f027279a5">PN_DOUBLE</a> = 14,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae998dd044ac55b959427fc90531b14ca">PN_DECIMAL32</a> = 15,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbacb54239601b8bf4795e34417425b92ae">PN_DECIMAL64</a> = 16,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae54cf8095578932042be640555855cd4">PN_DECIMAL128</a> = 17,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba0a6946e5c032bae8d108100e2c56ac13">PN_UUID</a> = 18,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7dc0fd4874c2b57a8249614d348643e9">PN_BINARY</a> = 19,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b">PN_STRING</a> = 20,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbad5f0929805f481d3ca6089ed172451e9">PN_SYMBOL</a> = 21,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaff3c998d42222a4a4be01cac89418d07">PN_DESCRIBED</a> = 22,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2c6f15d0ad9e27f040382ef4a2be807d">PN_ARRAY</a> = 23,
<a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba653d98ae82ff7048973b4c755d2b2804">PN_LIST</a> = 24,
<br />
  <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3295ee98cb6c69f50951aea30ffe46dd">PN_MAP</a> = 25
<br />
}<tr class="memdesc:ga4465b5ea7d3c4f15c1dffa4deda905db"><td class="mdescLeft"> </td><td class="mdescRight">Identifies an AMQP type. <a href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga4465b5ea7d3c4f15c1dffa4deda905db"><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:ga2a546fbd721f3b528190b3298014f134"><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="a00042.html#ga2a546fbd721f3b528190b3298014f134">pn_type_name</a> (<a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> type)</td></tr>
<tr class="memdesc:ga2a546fbd721f3b528190b3298014f134"><td class="mdescLeft"> </td><td class="mdescRight">Return a string name for an AMQP type. <a href="#ga2a546fbd721f3b528190b3298014f134">More...</a><br /></td></tr>
<tr class="separator:ga2a546fbd721f3b528190b3298014f134"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafcc8aae2df7d12f3d2a9b9d3ddc82494"><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="a00042.html#gafcc8aae2df7d12f3d2a9b9d3ddc82494">pn_data</a> (size_t capacity)</td></tr>
<tr class="memdesc:gafcc8aae2df7d12f3d2a9b9d3ddc82494"><td class="mdescLeft"> </td><td class="mdescRight">Construct a pn_data_t object with the supplied initial capacity. <a href="#gafcc8aae2df7d12f3d2a9b9d3ddc82494">More...</a><br /></td></tr>
<tr class="separator:gafcc8aae2df7d12f3d2a9b9d3ddc82494"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5c3a83c1afb9b5425d145d5b5a92fbc4"><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="a00042.html#ga5c3a83c1afb9b5425d145d5b5a92fbc4">pn_data_free</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga5c3a83c1afb9b5425d145d5b5a92fbc4"><td class="mdescLeft"> </td><td class="mdescRight">Free a pn_data_t object. <a href="#ga5c3a83c1afb9b5425d145d5b5a92fbc4">More...</a><br /></td></tr>
<tr class="separator:ga5c3a83c1afb9b5425d145d5b5a92fbc4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga00f68f246fe5a0641c206d1e4bd3ce34"><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="a00042.html#ga00f68f246fe5a0641c206d1e4bd3ce34">pn_data_errno</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga00f68f246fe5a0641c206d1e4bd3ce34"><td class="mdescLeft"> </td><td class="mdescRight">Access the current error code for a given pn_data_t. <a href="#ga00f68f246fe5a0641c206d1e4bd3ce34">More...</a><br /></td></tr>
<tr class="separator:ga00f68f246fe5a0641c206d1e4bd3ce34"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac784c15b856ff9f953ec7d22d90fc0fc"><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="a00042.html#gac784c15b856ff9f953ec7d22d90fc0fc">pn_data_error</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gac784c15b856ff9f953ec7d22d90fc0fc"><td class="mdescLeft"> </td><td class="mdescRight">Access the current error for a givn pn_data_t. <a href="#gac784c15b856ff9f953ec7d22d90fc0fc">More...</a><br /></td></tr>
<tr class="separator:gac784c15b856ff9f953ec7d22d90fc0fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2f35af39742c9ae4c7a14f5c2e8ae346"><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="a00042.html#ga2f35af39742c9ae4c7a14f5c2e8ae346">pn_data_vfill</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *fmt, va_list ap)</td></tr>
<tr class="separator:ga2f35af39742c9ae4c7a14f5c2e8ae346"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf071fc8da4100e8bdde34097fe912f93"><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="a00042.html#gaf071fc8da4100e8bdde34097fe912f93">pn_data_fill</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *fmt,...)</td></tr>
<tr class="separator:gaf071fc8da4100e8bdde34097fe912f93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8364700ba4736437f596cd15e2d90870"><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="a00042.html#ga8364700ba4736437f596cd15e2d90870">pn_data_vscan</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *fmt, va_list ap)</td></tr>
<tr class="separator:ga8364700ba4736437f596cd15e2d90870"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga07a8fa4a555e213b56a92027bf85c341"><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="a00042.html#ga07a8fa4a555e213b56a92027bf85c341">pn_data_scan</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *fmt,...)</td></tr>
<tr class="separator:ga07a8fa4a555e213b56a92027bf85c341"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadcd2302af4138df54c4746a63d5d1126"><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="a00042.html#gadcd2302af4138df54c4746a63d5d1126">pn_data_clear</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gadcd2302af4138df54c4746a63d5d1126"><td class="mdescLeft"> </td><td class="mdescRight">Clears a pn_data_t object. <a href="#gadcd2302af4138df54c4746a63d5d1126">More...</a><br /></td></tr>
<tr class="separator:gadcd2302af4138df54c4746a63d5d1126"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5facc4b4d0559c4a6b334a02fd982628"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga5facc4b4d0559c4a6b334a02fd982628">pn_data_size</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga5facc4b4d0559c4a6b334a02fd982628"><td class="mdescLeft"> </td><td class="mdescRight">Returns the total number of nodes contained in a pn_data_t object. <a href="#ga5facc4b4d0559c4a6b334a02fd982628">More...</a><br /></td></tr>
<tr class="separator:ga5facc4b4d0559c4a6b334a02fd982628"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga46683edde8b3118f0a28a17737c392b1"><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="a00042.html#ga46683edde8b3118f0a28a17737c392b1">pn_data_rewind</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga46683edde8b3118f0a28a17737c392b1"><td class="mdescLeft"> </td><td class="mdescRight">Clears current node pointer and sets the parent to the root node. <a href="#ga46683edde8b3118f0a28a17737c392b1">More...</a><br /></td></tr>
<tr class="separator:ga46683edde8b3118f0a28a17737c392b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga263f241d7f97826ad223f5568b7eae79"><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="a00042.html#ga263f241d7f97826ad223f5568b7eae79">pn_data_next</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga263f241d7f97826ad223f5568b7eae79"><td class="mdescLeft"> </td><td class="mdescRight">Advances the current node to its next sibling and returns true. <a href="#ga263f241d7f97826ad223f5568b7eae79">More...</a><br /></td></tr>
<tr class="separator:ga263f241d7f97826ad223f5568b7eae79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga656b946dfaa0e4bc5e2e54275cb6304d"><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="a00042.html#ga656b946dfaa0e4bc5e2e54275cb6304d">pn_data_prev</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga656b946dfaa0e4bc5e2e54275cb6304d"><td class="mdescLeft"> </td><td class="mdescRight">Moves the current node to its previous sibling and returns true. <a href="#ga656b946dfaa0e4bc5e2e54275cb6304d">More...</a><br /></td></tr>
<tr class="separator:ga656b946dfaa0e4bc5e2e54275cb6304d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga37a5eec807c913d165ba1de45e685b19"><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="a00042.html#ga37a5eec807c913d165ba1de45e685b19">pn_data_enter</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga37a5eec807c913d165ba1de45e685b19"><td class="mdescLeft"> </td><td class="mdescRight">Sets the parent node to the current node and clears the current node. <a href="#ga37a5eec807c913d165ba1de45e685b19">More...</a><br /></td></tr>
<tr class="separator:ga37a5eec807c913d165ba1de45e685b19"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6082cb1e9b6bc00948f0878717b41270"><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="a00042.html#ga6082cb1e9b6bc00948f0878717b41270">pn_data_exit</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga6082cb1e9b6bc00948f0878717b41270"><td class="mdescLeft"> </td><td class="mdescRight">Sets the current node to the parent node and the parent node to its own parent. <a href="#ga6082cb1e9b6bc00948f0878717b41270">More...</a><br /></td></tr>
<tr class="separator:ga6082cb1e9b6bc00948f0878717b41270"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1f66aec0b42aeb5b1d9b0281ba5482a4"><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="a00042.html#ga1f66aec0b42aeb5b1d9b0281ba5482a4">pn_data_lookup</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *name)</td></tr>
<tr class="separator:ga1f66aec0b42aeb5b1d9b0281ba5482a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaac5e69565602301035f58da8759d90d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gaac5e69565602301035f58da8759d90d0">pn_data_type</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaac5e69565602301035f58da8759d90d0"><td class="mdescLeft"> </td><td class="mdescRight">Access the type of the current node. <a href="#gaac5e69565602301035f58da8759d90d0">More...</a><br /></td></tr>
<tr class="separator:gaac5e69565602301035f58da8759d90d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6cdc924144c5963bf370da33cc7b0102"><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="a00042.html#ga6cdc924144c5963bf370da33cc7b0102">pn_data_print</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga6cdc924144c5963bf370da33cc7b0102"><td class="mdescLeft"> </td><td class="mdescRight">Prints the contents of a pn_data_t object using <a class="el" href="a00042.html#gaae0ba5dd81812d60060505fbae3fcbdb" title="Formats the contents of a pn_data_t object in a human readable way and writes them to the indicated l...">pn_data_format()</a> to stdout. <a href="#ga6cdc924144c5963bf370da33cc7b0102">More...</a><br /></td></tr>
<tr class="separator:ga6cdc924144c5963bf370da33cc7b0102"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaae0ba5dd81812d60060505fbae3fcbdb"><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="a00042.html#gaae0ba5dd81812d60060505fbae3fcbdb">pn_data_format</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, char *bytes, size_t *size)</td></tr>
<tr class="memdesc:gaae0ba5dd81812d60060505fbae3fcbdb"><td class="mdescLeft"> </td><td class="mdescRight">Formats the contents of a pn_data_t object in a human readable way and writes them to the indicated location. <a href="#gaae0ba5dd81812d60060505fbae3fcbdb">More...</a><br /></td></tr>
<tr class="separator:gaae0ba5dd81812d60060505fbae3fcbdb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1b62c53f552bbd3a7d6104f370547b28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga1b62c53f552bbd3a7d6104f370547b28">pn_data_encode</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, char *bytes, size_t size)</td></tr>
<tr class="memdesc:ga1b62c53f552bbd3a7d6104f370547b28"><td class="mdescLeft"> </td><td class="mdescRight">Writes the contents of a data object to the given buffer as an AMQP data stream. <a href="#ga1b62c53f552bbd3a7d6104f370547b28">More...</a><br /></td></tr>
<tr class="separator:ga1b62c53f552bbd3a7d6104f370547b28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaff5e6d111aaa22b5bb254381bcdd9f79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gaff5e6d111aaa22b5bb254381bcdd9f79">pn_data_encoded_size</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaff5e6d111aaa22b5bb254381bcdd9f79"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of bytes needed to encode a data object. <a href="#gaff5e6d111aaa22b5bb254381bcdd9f79">More...</a><br /></td></tr>
<tr class="separator:gaff5e6d111aaa22b5bb254381bcdd9f79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab909ae76a8f77b31f3f3ebc4b42b3c53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gab909ae76a8f77b31f3f3ebc4b42b3c53">pn_data_decode</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, const char *bytes, size_t size)</td></tr>
<tr class="memdesc:gab909ae76a8f77b31f3f3ebc4b42b3c53"><td class="mdescLeft"> </td><td class="mdescRight">Decodes a single value from the contents of the AMQP data stream into the current data object. <a href="#gab909ae76a8f77b31f3f3ebc4b42b3c53">More...</a><br /></td></tr>
<tr class="separator:gab909ae76a8f77b31f3f3ebc4b42b3c53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaac31eb899c93e404926081a2650d7f55"><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="a00042.html#gaac31eb899c93e404926081a2650d7f55">pn_data_put_list</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaac31eb899c93e404926081a2650d7f55"><td class="mdescLeft"> </td><td class="mdescRight">Puts an empty list value into a pn_data_t. <a href="#gaac31eb899c93e404926081a2650d7f55">More...</a><br /></td></tr>
<tr class="separator:gaac31eb899c93e404926081a2650d7f55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1ef7d014a1fcbfc6f39f363b6825ad2c"><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="a00042.html#ga1ef7d014a1fcbfc6f39f363b6825ad2c">pn_data_put_map</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga1ef7d014a1fcbfc6f39f363b6825ad2c"><td class="mdescLeft"> </td><td class="mdescRight">Puts an empty map value into a pn_data_t. <a href="#ga1ef7d014a1fcbfc6f39f363b6825ad2c">More...</a><br /></td></tr>
<tr class="separator:ga1ef7d014a1fcbfc6f39f363b6825ad2c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabee4683d01f40d0bf0e75cbf55d13d43"><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="a00042.html#gabee4683d01f40d0bf0e75cbf55d13d43">pn_data_put_array</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, bool described, <a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> type)</td></tr>
<tr class="memdesc:gabee4683d01f40d0bf0e75cbf55d13d43"><td class="mdescLeft"> </td><td class="mdescRight">Puts an empty array value into a pn_data_t. <a href="#gabee4683d01f40d0bf0e75cbf55d13d43">More...</a><br /></td></tr>
<tr class="separator:gabee4683d01f40d0bf0e75cbf55d13d43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7dac51e4345896a1ac969169237b5c16"><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="a00042.html#ga7dac51e4345896a1ac969169237b5c16">pn_data_put_described</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga7dac51e4345896a1ac969169237b5c16"><td class="mdescLeft"> </td><td class="mdescRight">Puts a described value into a pn_data_t object. <a href="#ga7dac51e4345896a1ac969169237b5c16">More...</a><br /></td></tr>
<tr class="separator:ga7dac51e4345896a1ac969169237b5c16"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga52cdd84bd9964c29cb6cd4cad7ef0467"><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="a00042.html#ga52cdd84bd9964c29cb6cd4cad7ef0467">pn_data_put_null</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga52cdd84bd9964c29cb6cd4cad7ef0467"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a> value. <a href="#ga52cdd84bd9964c29cb6cd4cad7ef0467">More...</a><br /></td></tr>
<tr class="separator:ga52cdd84bd9964c29cb6cd4cad7ef0467"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9bd8fa2e72aee9b7a49a471d0ab891d6"><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="a00042.html#ga9bd8fa2e72aee9b7a49a471d0ab891d6">pn_data_put_bool</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, bool b)</td></tr>
<tr class="memdesc:ga9bd8fa2e72aee9b7a49a471d0ab891d6"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7" title="The boolean AMQP type. ">PN_BOOL</a> value. <a href="#ga9bd8fa2e72aee9b7a49a471d0ab891d6">More...</a><br /></td></tr>
<tr class="separator:ga9bd8fa2e72aee9b7a49a471d0ab891d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga03f3769fafcfe3208db645eb629b536c"><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="a00042.html#ga03f3769fafcfe3208db645eb629b536c">pn_data_put_ubyte</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, uint8_t ub)</td></tr>
<tr class="memdesc:ga03f3769fafcfe3208db645eb629b536c"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256" title="The unsigned byte AMQP type. ">PN_UBYTE</a> value. <a href="#ga03f3769fafcfe3208db645eb629b536c">More...</a><br /></td></tr>
<tr class="separator:ga03f3769fafcfe3208db645eb629b536c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0fb37ff2b6220644c70c89d07b04b318"><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="a00042.html#ga0fb37ff2b6220644c70c89d07b04b318">pn_data_put_byte</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, int8_t b)</td></tr>
<tr class="memdesc:ga0fb37ff2b6220644c70c89d07b04b318"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba32d7a9a461945791cb02902af9ff6592" title="The byte AMQP type. ">PN_BYTE</a> value. <a href="#ga0fb37ff2b6220644c70c89d07b04b318">More...</a><br /></td></tr>
<tr class="separator:ga0fb37ff2b6220644c70c89d07b04b318"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga847e4703a17ad4ebc1a8013bd34c1c39"><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="a00042.html#ga847e4703a17ad4ebc1a8013bd34c1c39">pn_data_put_ushort</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, uint16_t us)</td></tr>
<tr class="memdesc:ga847e4703a17ad4ebc1a8013bd34c1c39"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba657a836a5ee74d9468924982ba3a3b41" title="The unsigned short AMQP type. ">PN_USHORT</a> value. <a href="#ga847e4703a17ad4ebc1a8013bd34c1c39">More...</a><br /></td></tr>
<tr class="separator:ga847e4703a17ad4ebc1a8013bd34c1c39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga00d64770a609ca56d0eeda41dd8847bb"><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="a00042.html#ga00d64770a609ca56d0eeda41dd8847bb">pn_data_put_short</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, int16_t s)</td></tr>
<tr class="memdesc:ga00d64770a609ca56d0eeda41dd8847bb"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3dbf1221e02329a7f41b41e597833d97" title="The short AMQP type. ">PN_SHORT</a> value. <a href="#ga00d64770a609ca56d0eeda41dd8847bb">More...</a><br /></td></tr>
<tr class="separator:ga00d64770a609ca56d0eeda41dd8847bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga44f6fae3db7765bb79eb29394afa02c7"><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="a00042.html#ga44f6fae3db7765bb79eb29394afa02c7">pn_data_put_uint</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, uint32_t ui)</td></tr>
<tr class="memdesc:ga44f6fae3db7765bb79eb29394afa02c7"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa7a251ed9fe5c31f0473976467bfefdd" title="The unsigned int AMQP type. ">PN_UINT</a> value. <a href="#ga44f6fae3db7765bb79eb29394afa02c7">More...</a><br /></td></tr>
<tr class="separator:ga44f6fae3db7765bb79eb29394afa02c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabe6b2617d9361332c57fac7c152a3ea6"><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="a00042.html#gabe6b2617d9361332c57fac7c152a3ea6">pn_data_put_int</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, int32_t i)</td></tr>
<tr class="memdesc:gabe6b2617d9361332c57fac7c152a3ea6"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab" title="The signed int AMQP type. ">PN_INT</a> value. <a href="#gabe6b2617d9361332c57fac7c152a3ea6">More...</a><br /></td></tr>
<tr class="separator:gabe6b2617d9361332c57fac7c152a3ea6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga10e83457b188e64e16816f4837fbe2f0"><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="a00042.html#ga10e83457b188e64e16816f4837fbe2f0">pn_data_put_char</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00064.html#gaa1713f25d484600197d2a25ace856672">pn_char_t</a> c)</td></tr>
<tr class="memdesc:ga10e83457b188e64e16816f4837fbe2f0"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba905512ea57a64d4e2aecf4877b192124" title="The char AMQP type. ">PN_CHAR</a> value. <a href="#ga10e83457b188e64e16816f4837fbe2f0">More...</a><br /></td></tr>
<tr class="separator:ga10e83457b188e64e16816f4837fbe2f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae432d32c8155d28a261f428f4b9fd870"><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="a00042.html#gae432d32c8155d28a261f428f4b9fd870">pn_data_put_ulong</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, uint64_t ul)</td></tr>
<tr class="memdesc:gae432d32c8155d28a261f428f4b9fd870"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba5f6b5fd2edbedf3f21285b69b8864777" title="The ulong AMQP type. ">PN_ULONG</a> value. <a href="#gae432d32c8155d28a261f428f4b9fd870">More...</a><br /></td></tr>
<tr class="separator:gae432d32c8155d28a261f428f4b9fd870"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga538519513a20a441fddd98214c049fb6"><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="a00042.html#ga538519513a20a441fddd98214c049fb6">pn_data_put_long</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, int64_t l)</td></tr>
<tr class="memdesc:ga538519513a20a441fddd98214c049fb6"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7a1b08f15b17b3d820a6fb50e65ffe1c" title="The long AMQP type. ">PN_LONG</a> value. <a href="#ga538519513a20a441fddd98214c049fb6">More...</a><br /></td></tr>
<tr class="separator:ga538519513a20a441fddd98214c049fb6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab3a5aea516790f3b87b7a0f2f5374e10"><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="a00042.html#gab3a5aea516790f3b87b7a0f2f5374e10">pn_data_put_timestamp</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> t)</td></tr>
<tr class="memdesc:gab3a5aea516790f3b87b7a0f2f5374e10"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaca241b4fa6cd92fdf26b4460d02a17b1" title="The timestamp AMQP type. ">PN_TIMESTAMP</a> value. <a href="#gab3a5aea516790f3b87b7a0f2f5374e10">More...</a><br /></td></tr>
<tr class="separator:gab3a5aea516790f3b87b7a0f2f5374e10"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacb96a69af27c8a6d1a041e51cb4319e3"><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="a00042.html#gacb96a69af27c8a6d1a041e51cb4319e3">pn_data_put_float</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, float f)</td></tr>
<tr class="memdesc:gacb96a69af27c8a6d1a041e51cb4319e3"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba9c27cba605584c7d093f26e7270bfaa0" title="The float AMQP type. ">PN_FLOAT</a> value. <a href="#gacb96a69af27c8a6d1a041e51cb4319e3">More...</a><br /></td></tr>
<tr class="separator:gacb96a69af27c8a6d1a041e51cb4319e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga03bbb354d2ebc461e952a6fe84e25d57"><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="a00042.html#ga03bbb354d2ebc461e952a6fe84e25d57">pn_data_put_double</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, double d)</td></tr>
<tr class="memdesc:ga03bbb354d2ebc461e952a6fe84e25d57"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa1367e8029855849dc4e0d3f027279a5" title="The double AMQP type. ">PN_DOUBLE</a> value. <a href="#ga03bbb354d2ebc461e952a6fe84e25d57">More...</a><br /></td></tr>
<tr class="separator:ga03bbb354d2ebc461e952a6fe84e25d57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga97266ce50aee4c6e0c8603d68c07a2d4"><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="a00042.html#ga97266ce50aee4c6e0c8603d68c07a2d4">pn_data_put_decimal32</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00064.html#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a> d)</td></tr>
<tr class="memdesc:ga97266ce50aee4c6e0c8603d68c07a2d4"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae998dd044ac55b959427fc90531b14ca" title="The decimal32 AMQP type. ">PN_DECIMAL32</a> value. <a href="#ga97266ce50aee4c6e0c8603d68c07a2d4">More...</a><br /></td></tr>
<tr class="separator:ga97266ce50aee4c6e0c8603d68c07a2d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6a964f2c22a015983793a3323651e0f0"><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="a00042.html#ga6a964f2c22a015983793a3323651e0f0">pn_data_put_decimal64</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00064.html#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a> d)</td></tr>
<tr class="memdesc:ga6a964f2c22a015983793a3323651e0f0"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbacb54239601b8bf4795e34417425b92ae" title="The decimal64 AMQP type. ">PN_DECIMAL64</a> value. <a href="#ga6a964f2c22a015983793a3323651e0f0">More...</a><br /></td></tr>
<tr class="separator:ga6a964f2c22a015983793a3323651e0f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac78d77572b1c36b01b469ff604da9710"><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="a00042.html#gac78d77572b1c36b01b469ff604da9710">pn_data_put_decimal128</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00007.html">pn_decimal128_t</a> d)</td></tr>
<tr class="memdesc:gac78d77572b1c36b01b469ff604da9710"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae54cf8095578932042be640555855cd4" title="The decimal128 AMQP type. ">PN_DECIMAL128</a> value. <a href="#gac78d77572b1c36b01b469ff604da9710">More...</a><br /></td></tr>
<tr class="separator:gac78d77572b1c36b01b469ff604da9710"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2d0f06871283cdd3cfa9b978ff9a9ae2"><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="a00042.html#ga2d0f06871283cdd3cfa9b978ff9a9ae2">pn_data_put_uuid</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00009.html">pn_uuid_t</a> u)</td></tr>
<tr class="memdesc:ga2d0f06871283cdd3cfa9b978ff9a9ae2"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba0a6946e5c032bae8d108100e2c56ac13" title="The UUID AMQP type. ">PN_UUID</a> value. <a href="#ga2d0f06871283cdd3cfa9b978ff9a9ae2">More...</a><br /></td></tr>
<tr class="separator:ga2d0f06871283cdd3cfa9b978ff9a9ae2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gada1c4399957d9d07ee7676e1be703d3c"><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="a00042.html#gada1c4399957d9d07ee7676e1be703d3c">pn_data_put_binary</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00005.html">pn_bytes_t</a> bytes)</td></tr>
<tr class="memdesc:gada1c4399957d9d07ee7676e1be703d3c"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7dc0fd4874c2b57a8249614d348643e9" title="The binary AMQP type. ">PN_BINARY</a> value. <a href="#gada1c4399957d9d07ee7676e1be703d3c">More...</a><br /></td></tr>
<tr class="separator:gada1c4399957d9d07ee7676e1be703d3c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga03fa959001ad29c5646edcb42caaa12c"><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="a00042.html#ga03fa959001ad29c5646edcb42caaa12c">pn_data_put_string</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00005.html">pn_bytes_t</a> string)</td></tr>
<tr class="memdesc:ga03fa959001ad29c5646edcb42caaa12c"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b" title="The string AMQP type. ">PN_STRING</a> value. <a href="#ga03fa959001ad29c5646edcb42caaa12c">More...</a><br /></td></tr>
<tr class="separator:ga03fa959001ad29c5646edcb42caaa12c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabc1d7ff29b81c7a6f72f5f8a0466b723"><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="a00042.html#gabc1d7ff29b81c7a6f72f5f8a0466b723">pn_data_put_symbol</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00005.html">pn_bytes_t</a> symbol)</td></tr>
<tr class="memdesc:gabc1d7ff29b81c7a6f72f5f8a0466b723"><td class="mdescLeft"> </td><td class="mdescRight">Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbad5f0929805f481d3ca6089ed172451e9" title="The symbol AMQP type. ">PN_SYMBOL</a> value. <a href="#gabc1d7ff29b81c7a6f72f5f8a0466b723">More...</a><br /></td></tr>
<tr class="separator:gabc1d7ff29b81c7a6f72f5f8a0466b723"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacc956eb9cd9d1434e95e8e89d24f6d75"><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="a00042.html#gacc956eb9cd9d1434e95e8e89d24f6d75">pn_data_put_atom</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00004.html">pn_atom_t</a> atom)</td></tr>
<tr class="memdesc:gacc956eb9cd9d1434e95e8e89d24f6d75"><td class="mdescLeft"> </td><td class="mdescRight">Puts any scalar value value. <a href="#gacc956eb9cd9d1434e95e8e89d24f6d75">More...</a><br /></td></tr>
<tr class="separator:gacc956eb9cd9d1434e95e8e89d24f6d75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf57a68675bf7c951ef93e333d12331af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gaf57a68675bf7c951ef93e333d12331af">pn_data_get_list</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaf57a68675bf7c951ef93e333d12331af"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a list, return the number of elements, otherwise return zero. <a href="#gaf57a68675bf7c951ef93e333d12331af">More...</a><br /></td></tr>
<tr class="separator:gaf57a68675bf7c951ef93e333d12331af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad6401b3b6546a86d10b666d648de26b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gad6401b3b6546a86d10b666d648de26b7">pn_data_get_map</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gad6401b3b6546a86d10b666d648de26b7"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a map, return the number of child elements, otherwise return zero. <a href="#gad6401b3b6546a86d10b666d648de26b7">More...</a><br /></td></tr>
<tr class="separator:gad6401b3b6546a86d10b666d648de26b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac9700149093e77e783ddcef52a8a4db1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gac9700149093e77e783ddcef52a8a4db1">pn_data_get_array</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="separator:gac9700149093e77e783ddcef52a8a4db1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacae4481af22f2d9c5253c022de89c808"><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="a00042.html#gacae4481af22f2d9c5253c022de89c808">pn_data_is_array_described</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gacae4481af22f2d9c5253c022de89c808"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the current node points to a described array. <a href="#gacae4481af22f2d9c5253c022de89c808">More...</a><br /></td></tr>
<tr class="separator:gacae4481af22f2d9c5253c022de89c808"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab8e7bedd5273ca39de95b8b8b3864d61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gab8e7bedd5273ca39de95b8b8b3864d61">pn_data_get_array_type</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gab8e7bedd5273ca39de95b8b8b3864d61"><td class="mdescLeft"> </td><td class="mdescRight">Return the array type if the current node points to an array, undefined otherwise. <a href="#gab8e7bedd5273ca39de95b8b8b3864d61">More...</a><br /></td></tr>
<tr class="separator:gab8e7bedd5273ca39de95b8b8b3864d61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga017f9e11e72206d02dc82e06282ec956"><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="a00042.html#ga017f9e11e72206d02dc82e06282ec956">pn_data_is_described</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga017f9e11e72206d02dc82e06282ec956"><td class="mdescLeft"> </td><td class="mdescRight">Checks if the current node is a described value. <a href="#ga017f9e11e72206d02dc82e06282ec956">More...</a><br /></td></tr>
<tr class="separator:ga017f9e11e72206d02dc82e06282ec956"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae6200ee577b92809bab4762802b4a01e"><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="a00042.html#gae6200ee577b92809bab4762802b4a01e">pn_data_is_null</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gae6200ee577b92809bab4762802b4a01e"><td class="mdescLeft"> </td><td class="mdescRight">Checks if the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a>. <a href="#gae6200ee577b92809bab4762802b4a01e">More...</a><br /></td></tr>
<tr class="separator:gae6200ee577b92809bab4762802b4a01e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga37f4661f13f7ede4db33095298089e60"><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="a00042.html#ga37f4661f13f7ede4db33095298089e60">pn_data_get_bool</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga37f4661f13f7ede4db33095298089e60"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7" title="The boolean AMQP type. ">PN_BOOL</a>, returns its value. <a href="#ga37f4661f13f7ede4db33095298089e60">More...</a><br /></td></tr>
<tr class="separator:ga37f4661f13f7ede4db33095298089e60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga833462593fa1366867d399e54e12f95a"><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="a00042.html#ga833462593fa1366867d399e54e12f95a">pn_data_get_ubyte</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga833462593fa1366867d399e54e12f95a"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256" title="The unsigned byte AMQP type. ">PN_UBYTE</a>, return its value, otherwise return 0. <a href="#ga833462593fa1366867d399e54e12f95a">More...</a><br /></td></tr>
<tr class="separator:ga833462593fa1366867d399e54e12f95a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga03a69f9332eee0e205cf9f11ad3d2249"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga03a69f9332eee0e205cf9f11ad3d2249">pn_data_get_byte</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga03a69f9332eee0e205cf9f11ad3d2249"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a signed byte, returns its value, returns 0 otherwise. <a href="#ga03a69f9332eee0e205cf9f11ad3d2249">More...</a><br /></td></tr>
<tr class="separator:ga03a69f9332eee0e205cf9f11ad3d2249"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9839bc1094a1626db6684f9fc9997d81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga9839bc1094a1626db6684f9fc9997d81">pn_data_get_ushort</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga9839bc1094a1626db6684f9fc9997d81"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is an unsigned short, returns its value, returns 0 otherwise. <a href="#ga9839bc1094a1626db6684f9fc9997d81">More...</a><br /></td></tr>
<tr class="separator:ga9839bc1094a1626db6684f9fc9997d81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga00cdfc2b8b894ec53143924dc8dcf95b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga00cdfc2b8b894ec53143924dc8dcf95b">pn_data_get_short</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga00cdfc2b8b894ec53143924dc8dcf95b"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a signed short, returns its value, returns 0 otherwise. <a href="#ga00cdfc2b8b894ec53143924dc8dcf95b">More...</a><br /></td></tr>
<tr class="separator:ga00cdfc2b8b894ec53143924dc8dcf95b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadc681a22d35a8cf825506107190537dc"><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="a00042.html#gadc681a22d35a8cf825506107190537dc">pn_data_get_uint</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gadc681a22d35a8cf825506107190537dc"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is an unsigned int, returns its value, returns 0 otherwise. <a href="#gadc681a22d35a8cf825506107190537dc">More...</a><br /></td></tr>
<tr class="separator:gadc681a22d35a8cf825506107190537dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2063c4861ad5fedc59e2c9eab50fd74f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga2063c4861ad5fedc59e2c9eab50fd74f">pn_data_get_int</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga2063c4861ad5fedc59e2c9eab50fd74f"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a signed int, returns its value, returns 0 otherwise. <a href="#ga2063c4861ad5fedc59e2c9eab50fd74f">More...</a><br /></td></tr>
<tr class="separator:ga2063c4861ad5fedc59e2c9eab50fd74f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae664bb78d8c5ce9cf9375dac99bbb04e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#gaa1713f25d484600197d2a25ace856672">pn_char_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gae664bb78d8c5ce9cf9375dac99bbb04e">pn_data_get_char</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gae664bb78d8c5ce9cf9375dac99bbb04e"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a char, returns its value, returns 0 otherwise. <a href="#gae664bb78d8c5ce9cf9375dac99bbb04e">More...</a><br /></td></tr>
<tr class="separator:gae664bb78d8c5ce9cf9375dac99bbb04e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga51c11e03a76dce0b1013adfd51ceac4b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga51c11e03a76dce0b1013adfd51ceac4b">pn_data_get_ulong</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga51c11e03a76dce0b1013adfd51ceac4b"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is an unsigned long, returns its value, returns 0 otherwise. <a href="#ga51c11e03a76dce0b1013adfd51ceac4b">More...</a><br /></td></tr>
<tr class="separator:ga51c11e03a76dce0b1013adfd51ceac4b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1cfcd86ac89600c6bf4d496594daa6bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga1cfcd86ac89600c6bf4d496594daa6bf">pn_data_get_long</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga1cfcd86ac89600c6bf4d496594daa6bf"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is an signed long, returns its value, returns 0 otherwise. <a href="#ga1cfcd86ac89600c6bf4d496594daa6bf">More...</a><br /></td></tr>
<tr class="separator:ga1cfcd86ac89600c6bf4d496594daa6bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8d79239b695728859bb94937ebdb346e"><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="a00042.html#ga8d79239b695728859bb94937ebdb346e">pn_data_get_timestamp</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga8d79239b695728859bb94937ebdb346e"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a timestamp, returns its value, returns 0 otherwise. <a href="#ga8d79239b695728859bb94937ebdb346e">More...</a><br /></td></tr>
<tr class="separator:ga8d79239b695728859bb94937ebdb346e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad56554ed239e0ba6d5e76deb7e5151a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> float </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gad56554ed239e0ba6d5e76deb7e5151a0">pn_data_get_float</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gad56554ed239e0ba6d5e76deb7e5151a0"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a float, returns its value, raises 0 otherwise. <a href="#gad56554ed239e0ba6d5e76deb7e5151a0">More...</a><br /></td></tr>
<tr class="separator:gad56554ed239e0ba6d5e76deb7e5151a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0032a3390f1c09c4bdbb2db245126524"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> double </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga0032a3390f1c09c4bdbb2db245126524">pn_data_get_double</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga0032a3390f1c09c4bdbb2db245126524"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a double, returns its value, returns 0 otherwise. <a href="#ga0032a3390f1c09c4bdbb2db245126524">More...</a><br /></td></tr>
<tr class="separator:ga0032a3390f1c09c4bdbb2db245126524"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5941073925427acd8a8e3a2c8ffe09f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga5941073925427acd8a8e3a2c8ffe09f2">pn_data_get_decimal32</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga5941073925427acd8a8e3a2c8ffe09f2"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a decimal32, returns its value, returns 0 otherwise. <a href="#ga5941073925427acd8a8e3a2c8ffe09f2">More...</a><br /></td></tr>
<tr class="separator:ga5941073925427acd8a8e3a2c8ffe09f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga38fe961771db4952b6281e5b00ecac89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00064.html#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga38fe961771db4952b6281e5b00ecac89">pn_data_get_decimal64</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga38fe961771db4952b6281e5b00ecac89"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a decimal64, returns its value, returns 0 otherwise. <a href="#ga38fe961771db4952b6281e5b00ecac89">More...</a><br /></td></tr>
<tr class="separator:ga38fe961771db4952b6281e5b00ecac89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1b744c779f8f9ba14f27b70795cca5e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00007.html">pn_decimal128_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#ga1b744c779f8f9ba14f27b70795cca5e7">pn_data_get_decimal128</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga1b744c779f8f9ba14f27b70795cca5e7"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a decimal128, returns its value, returns 0 otherwise. <a href="#ga1b744c779f8f9ba14f27b70795cca5e7">More...</a><br /></td></tr>
<tr class="separator:ga1b744c779f8f9ba14f27b70795cca5e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab3f128742148492c7e8d509674395752"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00009.html">pn_uuid_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gab3f128742148492c7e8d509674395752">pn_data_get_uuid</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gab3f128742148492c7e8d509674395752"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a UUID, returns its value, returns None otherwise. <a href="#gab3f128742148492c7e8d509674395752">More...</a><br /></td></tr>
<tr class="separator:gab3f128742148492c7e8d509674395752"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4c77a6e34a96f6f955ce30ce9b92b41c"><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="a00042.html#ga4c77a6e34a96f6f955ce30ce9b92b41c">pn_data_get_binary</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga4c77a6e34a96f6f955ce30ce9b92b41c"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is binary, returns its value, returns "" otherwise. <a href="#ga4c77a6e34a96f6f955ce30ce9b92b41c">More...</a><br /></td></tr>
<tr class="separator:ga4c77a6e34a96f6f955ce30ce9b92b41c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6c81297c987e7ff682882c9a85f625ea"><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="a00042.html#ga6c81297c987e7ff682882c9a85f625ea">pn_data_get_string</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga6c81297c987e7ff682882c9a85f625ea"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a string, returns its value, returns "" otherwise. <a href="#ga6c81297c987e7ff682882c9a85f625ea">More...</a><br /></td></tr>
<tr class="separator:ga6c81297c987e7ff682882c9a85f625ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1297b27c461838081be7e5e48915736f"><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="a00042.html#ga1297b27c461838081be7e5e48915736f">pn_data_get_symbol</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga1297b27c461838081be7e5e48915736f"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a symbol, returns its value, returns "" otherwise. <a href="#ga1297b27c461838081be7e5e48915736f">More...</a><br /></td></tr>
<tr class="separator:ga1297b27c461838081be7e5e48915736f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabac9485859d8e7e753cc7d5cca18ad63"><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="a00042.html#gabac9485859d8e7e753cc7d5cca18ad63">pn_data_get_bytes</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gabac9485859d8e7e753cc7d5cca18ad63"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a symbol, string, or binary, return the bytes representing its value. <a href="#gabac9485859d8e7e753cc7d5cca18ad63">More...</a><br /></td></tr>
<tr class="separator:gabac9485859d8e7e753cc7d5cca18ad63"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8cee2e1f0d422738f99eb538727f4319"><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="a00042.html#ga8cee2e1f0d422738f99eb538727f4319">pn_data_get_atom</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga8cee2e1f0d422738f99eb538727f4319"><td class="mdescLeft"> </td><td class="mdescRight">If the current node is a scalar value, return it as a <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a>. <a href="#ga8cee2e1f0d422738f99eb538727f4319">More...</a><br /></td></tr>
<tr class="separator:ga8cee2e1f0d422738f99eb538727f4319"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae667fd79f80ce37dde639d3a0cfd38f9"><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="a00042.html#gae667fd79f80ce37dde639d3a0cfd38f9">pn_data_copy</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *src)</td></tr>
<tr class="memdesc:gae667fd79f80ce37dde639d3a0cfd38f9"><td class="mdescLeft"> </td><td class="mdescRight">Copy the contents of another pn_data_t object. <a href="#gae667fd79f80ce37dde639d3a0cfd38f9">More...</a><br /></td></tr>
<tr class="separator:gae667fd79f80ce37dde639d3a0cfd38f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaec0e43b868e758310bfb65a3065de35"><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="a00042.html#gaaec0e43b868e758310bfb65a3065de35">pn_data_append</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *src)</td></tr>
<tr class="memdesc:gaaec0e43b868e758310bfb65a3065de35"><td class="mdescLeft"> </td><td class="mdescRight">Append the contents of another pn_data_t object. <a href="#gaaec0e43b868e758310bfb65a3065de35">More...</a><br /></td></tr>
<tr class="separator:gaaec0e43b868e758310bfb65a3065de35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga50c7179db92da951c918279c4229ec88"><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="a00042.html#ga50c7179db92da951c918279c4229ec88">pn_data_appendn</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *src, int limit)</td></tr>
<tr class="memdesc:ga50c7179db92da951c918279c4229ec88"><td class="mdescLeft"> </td><td class="mdescRight">Append up to <em>n</em> values from the contents of another pn_data_t object. <a href="#ga50c7179db92da951c918279c4229ec88">More...</a><br /></td></tr>
<tr class="separator:ga50c7179db92da951c918279c4229ec88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4df82b8d528399bc524eed5561348cf1"><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="a00042.html#ga4df82b8d528399bc524eed5561348cf1">pn_data_narrow</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:ga4df82b8d528399bc524eed5561348cf1"><td class="mdescLeft"> </td><td class="mdescRight">Modify a pn_data_t object to behave as if the current node is the root node of the tree. <a href="#ga4df82b8d528399bc524eed5561348cf1">More...</a><br /></td></tr>
<tr class="separator:ga4df82b8d528399bc524eed5561348cf1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae43fd5ef5ac16fea997dd3e212b666ce"><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="a00042.html#gae43fd5ef5ac16fea997dd3e212b666ce">pn_data_widen</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gae43fd5ef5ac16fea997dd3e212b666ce"><td class="mdescLeft"> </td><td class="mdescRight">Reverse the effect of <a class="el" href="a00042.html#ga4df82b8d528399bc524eed5561348cf1" title="Modify a pn_data_t object to behave as if the current node is the root node of the tree...">pn_data_narrow()</a>. <a href="#gae43fd5ef5ac16fea997dd3e212b666ce">More...</a><br /></td></tr>
<tr class="separator:gae43fd5ef5ac16fea997dd3e212b666ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa155cf465bb16a4f77a9b939211f1ef8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a37234f17c9c63843480356a235f1c3e8">pn_handle_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html#gaa155cf465bb16a4f77a9b939211f1ef8">pn_data_point</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaa155cf465bb16a4f77a9b939211f1ef8"><td class="mdescLeft"> </td><td class="mdescRight">Returns a handle for the current navigational state of a pn_data_t so that it can be later restored using <a class="el" href="a00042.html#gae70c79935ccce9b893494044e29423fa" title="Restores a prior navigational state that was saved using pn_data_point(). ">pn_data_restore()</a>. <a href="#gaa155cf465bb16a4f77a9b939211f1ef8">More...</a><br /></td></tr>
<tr class="separator:gaa155cf465bb16a4f77a9b939211f1ef8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae70c79935ccce9b893494044e29423fa"><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="a00042.html#gae70c79935ccce9b893494044e29423fa">pn_data_restore</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data, <a class="el" href="a00028.html#a37234f17c9c63843480356a235f1c3e8">pn_handle_t</a> point)</td></tr>
<tr class="memdesc:gae70c79935ccce9b893494044e29423fa"><td class="mdescLeft"> </td><td class="mdescRight">Restores a prior navigational state that was saved using <a class="el" href="a00042.html#gaa155cf465bb16a4f77a9b939211f1ef8" title="Returns a handle for the current navigational state of a pn_data_t so that it can be later restored u...">pn_data_point()</a>. <a href="#gae70c79935ccce9b893494044e29423fa">More...</a><br /></td></tr>
<tr class="separator:gae70c79935ccce9b893494044e29423fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf2cd71e20873f001af7df46411ea82ec"><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="a00042.html#gaf2cd71e20873f001af7df46411ea82ec">pn_data_dump</a> (<a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> *data)</td></tr>
<tr class="memdesc:gaf2cd71e20873f001af7df46411ea82ec"><td class="mdescLeft"> </td><td class="mdescRight">Dumps a debug representation of the internal state of the pn_data_t object that includes its navigational state to stdout for debugging purposes. <a href="#gaf2cd71e20873f001af7df46411ea82ec">More...</a><br /></td></tr>
<tr class="separator:gaf2cd71e20873f001af7df46411ea82ec"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga5d6cf528776e8b6ad6d67caf095986bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An AMQP Data object. </p>
<p>A pn_data_t object provides an interface for decoding, extracting, creating, and encoding arbitrary AMQP data. A pn_data_t object contains a tree of AMQP values. Leaf nodes in this tree correspond to scalars in the AMQP type system such as <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab">ints </a> or <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b">strings </a>. Non-leaf nodes in this tree correspond to compound values in the AMQP type system such as <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba653d98ae82ff7048973b4c755d2b2804">lists </a>, <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3295ee98cb6c69f50951aea30ffe46dd">maps </a>, <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2c6f15d0ad9e27f040382ef4a2be807d">arrays </a>, or <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaff3c998d42222a4a4be01cac89418d07">described </a> values. The root node of the tree is the pn_data_t object itself and can have an arbitrary number of children.</p>
<p>A pn_data_t object maintains the notion of the current node and the current parent node. Siblings are ordered within their parent. Values are accessed and/or added by using the <a class="el" href="a00042.html#ga263f241d7f97826ad223f5568b7eae79" title="Advances the current node to its next sibling and returns true. ">pn_data_next()</a>, <a class="el" href="a00042.html#ga656b946dfaa0e4bc5e2e54275cb6304d" title="Moves the current node to its previous sibling and returns true. ">pn_data_prev()</a>, <a class="el" href="a00042.html#ga37a5eec807c913d165ba1de45e685b19" title="Sets the parent node to the current node and clears the current node. ">pn_data_enter()</a>, and <a class="el" href="a00042.html#ga6082cb1e9b6bc00948f0878717b41270" title="Sets the current node to the parent node and the parent node to its own parent. ">pn_data_exit()</a> operations to navigate to the desired location in the tree and using the supplied variety of pn_data_put_* / pn_data_get_* operations to access or add a value of the desired type.</p>
<p>The pn_data_put_* operations will always add a value <em>after</em> the current node in the tree. If the current node has a next sibling the pn_data_put_* operations will overwrite the value on this node. If there is no current node or the current node has no next sibling then one will be added. The pn_data_put_* operations always set the added/modified node to the current node. The pn_data_get_* operations read the value of the current node and do not change which node is current.</p>
<p>The following types of scalar values are supported:</p>
<ul>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7" title="The boolean AMQP type. ">PN_BOOL</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256" title="The unsigned byte AMQP type. ">PN_UBYTE</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba657a836a5ee74d9468924982ba3a3b41" title="The unsigned short AMQP type. ">PN_USHORT</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3dbf1221e02329a7f41b41e597833d97" title="The short AMQP type. ">PN_SHORT</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa7a251ed9fe5c31f0473976467bfefdd" title="The unsigned int AMQP type. ">PN_UINT</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab" title="The signed int AMQP type. ">PN_INT</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba5f6b5fd2edbedf3f21285b69b8864777" title="The ulong AMQP type. ">PN_ULONG</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7a1b08f15b17b3d820a6fb50e65ffe1c" title="The long AMQP type. ">PN_LONG</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba9c27cba605584c7d093f26e7270bfaa0" title="The float AMQP type. ">PN_FLOAT</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa1367e8029855849dc4e0d3f027279a5" title="The double AMQP type. ">PN_DOUBLE</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7dc0fd4874c2b57a8249614d348643e9" title="The binary AMQP type. ">PN_BINARY</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b" title="The string AMQP type. ">PN_STRING</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbad5f0929805f481d3ca6089ed172451e9" title="The symbol AMQP type. ">PN_SYMBOL</a></li>
</ul>
<p>The following types of compound values are supported:</p>
<ul>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaff3c998d42222a4a4be01cac89418d07" title="A described AMQP type. ">PN_DESCRIBED</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2c6f15d0ad9e27f040382ef4a2be807d" title="An AMQP array. ">PN_ARRAY</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba653d98ae82ff7048973b4c755d2b2804" title="An AMQP list. ">PN_LIST</a></li>
<li><a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3295ee98cb6c69f50951aea30ffe46dd" title="An AMQP map. ">PN_MAP</a> </li>
</ul>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga4465b5ea7d3c4f15c1dffa4deda905db"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Identifies an AMQP type. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe"></a>PN_NULL </td><td class="fielddoc">
<p>The NULL AMQP type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7"></a>PN_BOOL </td><td class="fielddoc">
<p>The boolean AMQP type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256"></a>PN_UBYTE </td><td class="fielddoc">
<p>The unsigned byte AMQP type. </p>
<p>An 8 bit unsigned integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba32d7a9a461945791cb02902af9ff6592"></a>PN_BYTE </td><td class="fielddoc">
<p>The byte AMQP type. </p>
<p>An 8 bit signed integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba657a836a5ee74d9468924982ba3a3b41"></a>PN_USHORT </td><td class="fielddoc">
<p>The unsigned short AMQP type. </p>
<p>A 16 bit unsigned integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba3dbf1221e02329a7f41b41e597833d97"></a>PN_SHORT </td><td class="fielddoc">
<p>The short AMQP type. </p>
<p>A 16 bit signed integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbaa7a251ed9fe5c31f0473976467bfefdd"></a>PN_UINT </td><td class="fielddoc">
<p>The unsigned int AMQP type. </p>
<p>A 32 bit unsigned integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab"></a>PN_INT </td><td class="fielddoc">
<p>The signed int AMQP type. </p>
<p>A 32 bit signed integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba905512ea57a64d4e2aecf4877b192124"></a>PN_CHAR </td><td class="fielddoc">
<p>The char AMQP type. </p>
<p>A 32 bit unicode character. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba5f6b5fd2edbedf3f21285b69b8864777"></a>PN_ULONG </td><td class="fielddoc">
<p>The ulong AMQP type. </p>
<p>An unsigned 32 bit integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba7a1b08f15b17b3d820a6fb50e65ffe1c"></a>PN_LONG </td><td class="fielddoc">
<p>The long AMQP type. </p>
<p>A signed 32 bit integer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbaca241b4fa6cd92fdf26b4460d02a17b1"></a>PN_TIMESTAMP </td><td class="fielddoc">
<p>The timestamp AMQP type. </p>
<p>A signed 64 bit value measuring milliseconds since the epoch. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba9c27cba605584c7d093f26e7270bfaa0"></a>PN_FLOAT </td><td class="fielddoc">
<p>The float AMQP type. </p>
<p>A 32 bit floating point value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbaa1367e8029855849dc4e0d3f027279a5"></a>PN_DOUBLE </td><td class="fielddoc">
<p>The double AMQP type. </p>
<p>A 64 bit floating point value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbae998dd044ac55b959427fc90531b14ca"></a>PN_DECIMAL32 </td><td class="fielddoc">
<p>The decimal32 AMQP type. </p>
<p>A 32 bit decimal floating point value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbacb54239601b8bf4795e34417425b92ae"></a>PN_DECIMAL64 </td><td class="fielddoc">
<p>The decimal64 AMQP type. </p>
<p>A 64 bit decimal floating point value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbae54cf8095578932042be640555855cd4"></a>PN_DECIMAL128 </td><td class="fielddoc">
<p>The decimal128 AMQP type. </p>
<p>A 128 bit decimal floating point value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba0a6946e5c032bae8d108100e2c56ac13"></a>PN_UUID </td><td class="fielddoc">
<p>The UUID AMQP type. </p>
<p>A 16 byte UUID. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba7dc0fd4874c2b57a8249614d348643e9"></a>PN_BINARY </td><td class="fielddoc">
<p>The binary AMQP type. </p>
<p>A variable length sequence of bytes. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b"></a>PN_STRING </td><td class="fielddoc">
<p>The string AMQP type. </p>
<p>A variable length sequence of unicode characters. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbad5f0929805f481d3ca6089ed172451e9"></a>PN_SYMBOL </td><td class="fielddoc">
<p>The symbol AMQP type. </p>
<p>A variable length sequence of unicode characters. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dbaff3c998d42222a4a4be01cac89418d07"></a>PN_DESCRIBED </td><td class="fielddoc">
<p>A described AMQP type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba2c6f15d0ad9e27f040382ef4a2be807d"></a>PN_ARRAY </td><td class="fielddoc">
<p>An AMQP array. </p>
<p>A monomorphic sequence of other AMQP values. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba653d98ae82ff7048973b4c755d2b2804"></a>PN_LIST </td><td class="fielddoc">
<p>An AMQP list. </p>
<p>A polymorphic sequence of other AMQP values. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4465b5ea7d3c4f15c1dffa4deda905dba3295ee98cb6c69f50951aea30ffe46dd"></a>PN_MAP </td><td class="fielddoc">
<p>An AMQP map. </p>
<p>A polymorphic container of other AMQP values formed into key/value pairs. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gafcc8aae2df7d12f3d2a9b9d3ddc82494"></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_data </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>capacity</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a pn_data_t object with the supplied initial capacity. </p>
<p>A pn_data_t will grow automatically as needed, so an initial capacity of 0 is permitted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">capacity</td><td>the initial capacity </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the newly constructed pn_data_t </dd></dl>
</div>
</div>
<a class="anchor" id="gaaec0e43b868e758310bfb65a3065de35"></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_data_append </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td>
<td class="paramname"><em>src</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Append the contents of another pn_data_t object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">src</td><td>the sourc pn_data_t to append from </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="ga50c7179db92da951c918279c4229ec88"></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_data_appendn </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>limit</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Append up to <em>n</em> values from the contents of another pn_data_t object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">src</td><td>the sourc pn_data_t to append from </td></tr>
<tr><td class="paramname">limit</td><td>the maximum number of values to append </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="gadcd2302af4138df54c4746a63d5d1126"></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_data_clear </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears a pn_data_t object. </p>
<p>A cleared pn_data_t object is equivalent to a newly constructed one.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>the pn_data_t object to clear </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gae667fd79f80ce37dde639d3a0cfd38f9"></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_data_copy </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td>
<td class="paramname"><em>src</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy the contents of another pn_data_t object. </p>
<p>Any values in the data object will be lost.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">src</td><td>the sourc pn_data_t to copy from </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="gab909ae76a8f77b31f3f3ebc4b42b3c53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t pn_data_decode </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 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>Decodes a single value from the contents of the AMQP data stream into the current data object. </p>
<p>Note that if the pn_data_t object is pointing to a current node, the decoded value will overwrite the current one. If the pn_data_t object has no current node then a node will be appended to the current parent. If there is no current parent then a node will be appended to the pn_data_t itself.</p>
<p>Upon success, this operation returns the number of bytes consumed from the AMQP data stream. Upon failure, this operation returns an error code.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">bytes</td><td>a pointer to an encoded AMQP data stream </td></tr>
<tr><td class="paramname">size</td><td>the size of the encoded AMQP data stream </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes consumed from the AMQP data stream or an error code </dd></dl>
</div>
</div>
<a class="anchor" id="gaf2cd71e20873f001af7df46411ea82ec"></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_data_dump </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Dumps a debug representation of the internal state of the pn_data_t object that includes its navigational state to stdout for debugging purposes. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object that is behaving in a confusing way </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga1b62c53f552bbd3a7d6104f370547b28"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t pn_data_encode </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 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>Writes the contents of a data object to the given buffer as an AMQP data stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>the data object to encode </td></tr>
<tr><td class="paramname">bytes</td><td>the buffer for encoded data </td></tr>
<tr><td class="paramname">size</td><td>the size of the buffer</td></tr>
<tr><td class="paramname">ssize_t</td><td>returns the size of the encoded data on success or an error code on failure </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaff5e6d111aaa22b5bb254381bcdd9f79"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> ssize_t pn_data_encoded_size </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of bytes needed to encode a data object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>the data object</td></tr>
<tr><td class="paramname">ssize_t</td><td>returns the size of the encoded data or an error code if data is invalid. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga37a5eec807c913d165ba1de45e685b19"></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_data_enter </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the parent node to the current node and clears the current node. </p>
<p>Clearing the current node sets it <em>before</em> the first child, calling <a class="el" href="a00042.html#ga263f241d7f97826ad223f5568b7eae79" title="Advances the current node to its next sibling and returns true. ">pn_data_next()</a> advances to the first child. This operation will return false if there is no current node or if the current node is not a compound type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the pointers to the current/parent nodes are changed </dd></dl>
</div>
</div>
<a class="anchor" id="ga00f68f246fe5a0641c206d1e4bd3ce34"></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_data_errno </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the current error code for a given pn_data_t. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current error code </dd></dl>
</div>
</div>
<a class="anchor" id="gac784c15b856ff9f953ec7d22d90fc0fc"></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_data_error </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the current error for a givn pn_data_t. </p>
<p>Every pn_data_t has an error descriptor that is created with the pn_data_t and dies with the pn_data_t. The error descriptor is updated whenever an operation fails. The <a class="el" href="a00042.html#gac784c15b856ff9f953ec7d22d90fc0fc" title="Access the current error for a givn pn_data_t. ">pn_data_error()</a> function may be used to access a pn_data_t's error descriptor.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the pn_data_t's error descriptor </dd></dl>
</div>
</div>
<a class="anchor" id="ga6082cb1e9b6bc00948f0878717b41270"></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_data_exit </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the current node to the parent node and the parent node to its own parent. </p>
<p>This operation will return false if there is no current node or parent node.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the pointers to the current/parent nodes are changed </dd></dl>
</div>
</div>
<a class="anchor" id="gaf071fc8da4100e8bdde34097fe912f93"></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_data_fill </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 class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaae0ba5dd81812d60060505fbae3fcbdb"></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_data_format </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 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>Formats the contents of a pn_data_t object in a human readable way and writes them to the indicated location. </p>
<p>The size pointer must hold the amount of free space following the bytes pointer, and upon success will be updated to indicate how much space has been used.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">bytes</td><td>a buffer to write the output to </td></tr>
<tr><td class="paramname">size</td><td>a pointer to the size of the buffer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on succes, or an error on failure </dd></dl>
</div>
</div>
<a class="anchor" id="ga5c3a83c1afb9b5425d145d5b5a92fbc4"></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_data_free </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Free a pn_data_t object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object or NULL </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gac9700149093e77e783ddcef52a8a4db1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t pn_data_get_array </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gab8e7bedd5273ca39de95b8b8b3864d61"></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#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> pn_data_get_array_type </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the array type if the current node points to an array, undefined otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the element type of an array node </dd></dl>
</div>
</div>
<a class="anchor" id="ga8cee2e1f0d422738f99eb538727f4319"></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_data_get_atom </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a scalar value, return it as a <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of the current node as <a class="el" href="a00004.html" title="A descriminated union that holds any scalar AMQP value. ">pn_atom_t</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga4c77a6e34a96f6f955ce30ce9b92b41c"></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_data_get_binary </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is binary, returns its value, returns "" otherwise. </p>
<p>The <a class="el" href="a00005.html">pn_bytes_t</a> returned will point to memory held inside the pn_data_t. When the pn_data_t is cleared or freed, this memory will be reclaimed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga37f4661f13f7ede4db33095298089e60"></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_data_get_bool </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7" title="The boolean AMQP type. ">PN_BOOL</a>, returns its value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga03a69f9332eee0e205cf9f11ad3d2249"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int8_t pn_data_get_byte </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a signed byte, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gabac9485859d8e7e753cc7d5cca18ad63"></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_data_get_bytes </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a symbol, string, or binary, return the bytes representing its value. </p>
<p>The <a class="el" href="a00005.html">pn_bytes_t</a> returned will point to memory held inside the pn_data_t. When the pn_data_t is cleared or freed, this memory will be reclaimed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t 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> pointing to the node's value </dd></dl>
</div>
</div>
<a class="anchor" id="gae664bb78d8c5ce9cf9375dac99bbb04e"></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#gaa1713f25d484600197d2a25ace856672">pn_char_t</a> pn_data_get_char </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a char, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga1b744c779f8f9ba14f27b70795cca5e7"></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="a00007.html">pn_decimal128_t</a> pn_data_get_decimal128 </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a decimal128, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga5941073925427acd8a8e3a2c8ffe09f2"></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#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a> pn_data_get_decimal32 </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a decimal32, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga38fe961771db4952b6281e5b00ecac89"></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#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a> pn_data_get_decimal64 </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a decimal64, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga0032a3390f1c09c4bdbb2db245126524"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> double pn_data_get_double </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a double, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gad56554ed239e0ba6d5e76deb7e5151a0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> float pn_data_get_float </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a float, returns its value, raises 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga2063c4861ad5fedc59e2c9eab50fd74f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int32_t pn_data_get_int </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a signed int, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaf57a68675bf7c951ef93e333d12331af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t pn_data_get_list </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a list, return the number of elements, otherwise return zero. </p>
<p>List elements can be accessed by entering the list.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> ...</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> size_t count = pn_data_get_list(data);</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_enter(data);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> for (size_t i = 0; i < count; i++) {</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  if (pn_data_next(data)) {</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  switch (pn_data_type(data)) {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  case PN_STRING:</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  ...</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  break;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  case PN_INT:</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  ...</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  break;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  }</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> }</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> pn_data_exit(data);</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> ...</div></div><!-- fragment --><p> .* </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the size of a list node </dd></dl>
</div>
</div>
<a class="anchor" id="ga1cfcd86ac89600c6bf4d496594daa6bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int64_t pn_data_get_long </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is an signed long, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gad6401b3b6546a86d10b666d648de26b7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t pn_data_get_map </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a map, return the number of child elements, otherwise return zero. </p>
<p>Key value pairs can be accessed by entering the map.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> ...</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> size_t count = pn_data_get_map(data);</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_enter(data);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> for (size_t i = 0; i < count/2; i++) {</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  // read key</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  if (pn_data_next(data)) {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  switch (pn_data_type(data)) {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  case PN_STRING:</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  ...</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  break;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  ...</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  }</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  }</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  ...</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  // read value</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  if (pn_data_next(data)) {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  switch (pn_data_type(data)) {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  case PN_INT:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  ...</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  break;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  ...</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  }</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  ...</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> }</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> pn_data_exit(data);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of child elements of a map node </dd></dl>
</div>
</div>
<a class="anchor" id="ga00cdfc2b8b894ec53143924dc8dcf95b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int16_t pn_data_get_short </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a signed short, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga6c81297c987e7ff682882c9a85f625ea"></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_data_get_string </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a string, returns its value, returns "" otherwise. </p>
<p>The <a class="el" href="a00005.html">pn_bytes_t</a> returned will point to memory held inside the pn_data_t. When the pn_data_t is cleared or freed, this memory will be reclaimed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t 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> pointing to utf8 </dd></dl>
</div>
</div>
<a class="anchor" id="ga1297b27c461838081be7e5e48915736f"></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_data_get_symbol </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a symbol, returns its value, returns "" otherwise. </p>
<p>The <a class="el" href="a00005.html">pn_bytes_t</a> returned will point to memory held inside the pn_data_t. When the pn_data_t is cleared or freed, this memory will be reclaimed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t 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> pointing to ascii </dd></dl>
</div>
</div>
<a class="anchor" id="ga8d79239b695728859bb94937ebdb346e"></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_data_get_timestamp </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a timestamp, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga833462593fa1366867d399e54e12f95a"></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_data_get_ubyte </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256" title="The unsigned byte AMQP type. ">PN_UBYTE</a>, return its value, otherwise return 0. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gadc681a22d35a8cf825506107190537dc"></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_data_get_uint </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is an unsigned int, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga51c11e03a76dce0b1013adfd51ceac4b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint64_t pn_data_get_ulong </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is an unsigned long, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga9839bc1094a1626db6684f9fc9997d81"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> uint16_t pn_data_get_ushort </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is an unsigned short, returns its value, returns 0 otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gab3f128742148492c7e8d509674395752"></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="a00009.html">pn_uuid_t</a> pn_data_get_uuid </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the current node is a UUID, returns its value, returns None otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a uuid value </dd></dl>
</div>
</div>
<a class="anchor" id="gacae4481af22f2d9c5253c022de89c808"></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_data_is_array_described </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the current node points to a described array. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current node points to a described array </dd></dl>
</div>
</div>
<a class="anchor" id="ga017f9e11e72206d02dc82e06282ec956"></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_data_is_described </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if the current node is a described value. </p>
<p>The descriptor and value may be accessed by entering the described value node.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> ...</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> // read a symbolically described string</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> if (pn_data_is_described(data)) {</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  pn_data_enter(data);</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  pn_data_next(data);</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  assert(pn_data_type(data) == PN_SYMBOL);</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  pn_bytes_t symbol = pn_data_get_symbol(data);</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  pn_data_next(data);</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  assert(pn_data_type(data) == PN_STRING);</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  pn_bytes_t utf8 = pn_data_get_string(data);</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  pn_data_exit(data);</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> }</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current node is a described type </dd></dl>
</div>
</div>
<a class="anchor" id="gae6200ee577b92809bab4762802b4a01e"></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_data_is_null </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if the current node is a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the current node is <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga1f66aec0b42aeb5b1d9b0281ba5482a4"></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_data_lookup </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 class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga4df82b8d528399bc524eed5561348cf1"></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_data_narrow </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify a pn_data_t object to behave as if the current node is the root node of the tree. </p>
<p>This impacts the behaviour of <a class="el" href="a00042.html#ga46683edde8b3118f0a28a17737c392b1" title="Clears current node pointer and sets the parent to the root node. ">pn_data_rewind()</a>, <a class="el" href="a00042.html#ga263f241d7f97826ad223f5568b7eae79" title="Advances the current node to its next sibling and returns true. ">pn_data_next()</a>, <a class="el" href="a00042.html#ga656b946dfaa0e4bc5e2e54275cb6304d" title="Moves the current node to its previous sibling and returns true. ">pn_data_prev()</a>, and anything else that depends on the navigational state of the pn_data_t object. Use <a class="el" href="a00042.html#gae43fd5ef5ac16fea997dd3e212b666ce" title="Reverse the effect of pn_data_narrow(). ">pn_data_widen()</a> to reverse the effect of this operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga263f241d7f97826ad223f5568b7eae79"></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_data_next </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Advances the current node to its next sibling and returns true. </p>
<p>If there is no next sibling the current node remains unchanged and false is returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the current node was changed </dd></dl>
</div>
</div>
<a class="anchor" id="gaa155cf465bb16a4f77a9b939211f1ef8"></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="a00028.html#a37234f17c9c63843480356a235f1c3e8">pn_handle_t</a> pn_data_point </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a handle for the current navigational state of a pn_data_t so that it can be later restored using <a class="el" href="a00042.html#gae70c79935ccce9b893494044e29423fa" title="Restores a prior navigational state that was saved using pn_data_point(). ">pn_data_restore()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a handle for the current navigational state </dd></dl>
</div>
</div>
<a class="anchor" id="ga656b946dfaa0e4bc5e2e54275cb6304d"></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_data_prev </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the current node to its previous sibling and returns true. </p>
<p>If there is no previous sibling the current node remains unchanged and false is returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the current node was changed </dd></dl>
</div>
</div>
<a class="anchor" id="ga6cdc924144c5963bf370da33cc7b0102"></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_data_print </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prints the contents of a pn_data_t object using <a class="el" href="a00042.html#gaae0ba5dd81812d60060505fbae3fcbdb" title="Formats the contents of a pn_data_t object in a human readable way and writes them to the indicated l...">pn_data_format()</a> to stdout. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success or an error on failure </dd></dl>
</div>
</div>
<a class="anchor" id="gabee4683d01f40d0bf0e75cbf55d13d43"></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_data_put_array </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 class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>described</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> </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>Puts an empty array value into a pn_data_t. </p>
<p>Elements may be filled by entering the array node and putting the element values. The values must all be of the specified array element type. If an array is described then the first child value of the array is the descriptor and may be of any type.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> pn_data_t *data = pn_data(0);</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> ...</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_put_array(data, false, PN_INT);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> pn_data_enter(data);</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> pn_data_put_int(data, 1);</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> pn_data_put_int(data, 2);</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> pn_data_put_int(data, 3);</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> pn_data_exit(data);</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> ...</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> pn_data_put_array(data, True, Data.DOUBLE);</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> pn_data_enter(data);</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> pn_data_put_symbol(data, "array-descriptor");</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> pn_data_put_double(data, 1.1);</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> pn_data_put_double(data, 1.2);</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> pn_data_put_double(data, 1.3);</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> pn_data_exit(data);</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">described</td><td>specifies whether the array is described </td></tr>
<tr><td class="paramname">type</td><td>the type of the array</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="gacc956eb9cd9d1434e95e8e89d24f6d75"></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_data_put_atom </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00004.html">pn_atom_t</a> </td>
<td class="paramname"><em>atom</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts any scalar value value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">atom</td><td>the value </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="gada1c4399957d9d07ee7676e1be703d3c"></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_data_put_binary </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00005.html">pn_bytes_t</a> </td>
<td class="paramname"><em>bytes</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7dc0fd4874c2b57a8249614d348643e9" title="The binary AMQP type. ">PN_BINARY</a> value. </p>
<p>The bytes referenced by the <a class="el" href="a00005.html">pn_bytes_t</a> argument are copied and stored inside the pn_data_t object.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">bytes</td><td>the value </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="ga9bd8fa2e72aee9b7a49a471d0ab891d6"></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_data_put_bool </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 class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>b</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba2d6444a931a66258de3c73ad01238ae7" title="The boolean AMQP type. ">PN_BOOL</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">b</td><td>the value </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="ga0fb37ff2b6220644c70c89d07b04b318"></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_data_put_byte </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 class="paramkey"></td>
<td></td>
<td class="paramtype">int8_t </td>
<td class="paramname"><em>b</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba32d7a9a461945791cb02902af9ff6592" title="The byte AMQP type. ">PN_BYTE</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">b</td><td>the value </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="ga10e83457b188e64e16816f4837fbe2f0"></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_data_put_char </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#gaa1713f25d484600197d2a25ace856672">pn_char_t</a> </td>
<td class="paramname"><em>c</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba905512ea57a64d4e2aecf4877b192124" title="The char AMQP type. ">PN_CHAR</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">c</td><td>the value </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="gac78d77572b1c36b01b469ff604da9710"></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_data_put_decimal128 </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00007.html">pn_decimal128_t</a> </td>
<td class="paramname"><em>d</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae54cf8095578932042be640555855cd4" title="The decimal128 AMQP type. ">PN_DECIMAL128</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">d</td><td>the value </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="ga97266ce50aee4c6e0c8603d68c07a2d4"></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_data_put_decimal32 </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#ga54d49ca7ff04ad10a57139c2d61f1d44">pn_decimal32_t</a> </td>
<td class="paramname"><em>d</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbae998dd044ac55b959427fc90531b14ca" title="The decimal32 AMQP type. ">PN_DECIMAL32</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">d</td><td>the value </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="ga6a964f2c22a015983793a3323651e0f0"></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_data_put_decimal64 </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#ga7d8110bc953738d83ad8b9c543ef517f">pn_decimal64_t</a> </td>
<td class="paramname"><em>d</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbacb54239601b8bf4795e34417425b92ae" title="The decimal64 AMQP type. ">PN_DECIMAL64</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">d</td><td>the value </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="ga7dac51e4345896a1ac969169237b5c16"></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_data_put_described </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a described value into a pn_data_t object. </p>
<p>A described node has two children, the descriptor and the value. These are specified by entering the node and putting the desired values.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> pn_data_t *data = pn_data(0);</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> ...</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_put_described(data);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> pn_data_enter(data);</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> pn_data_put_symbol(data, pn_bytes(16, "value-descriptor"));</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> pn_data_put_string(data, pn_bytes(9, "the value"));</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> pn_data_exit(data);</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </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="ga03bbb354d2ebc461e952a6fe84e25d57"></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_data_put_double </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 class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>d</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa1367e8029855849dc4e0d3f027279a5" title="The double AMQP type. ">PN_DOUBLE</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">d</td><td>the value </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="gacb96a69af27c8a6d1a041e51cb4319e3"></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_data_put_float </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 class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>f</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba9c27cba605584c7d093f26e7270bfaa0" title="The float AMQP type. ">PN_FLOAT</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">f</td><td>the value </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="gabe6b2617d9361332c57fac7c152a3ea6"></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_data_put_int </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 class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>i</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba175c594857c135ea2a9c3a2d415366ab" title="The signed int AMQP type. ">PN_INT</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">i</td><td>the value </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="gaac31eb899c93e404926081a2650d7f55"></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_data_put_list </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts an empty list value into a pn_data_t. </p>
<p>Elements may be filled by entering the list node using <a class="el" href="a00042.html#ga37a5eec807c913d165ba1de45e685b19" title="Sets the parent node to the current node and clears the current node. ">pn_data_enter()</a> and using ::pn_data_put_* to add the desired contents. Once done, <a class="el" href="a00042.html#ga6082cb1e9b6bc00948f0878717b41270" title="Sets the current node to the parent node and the parent node to its own parent. ">pn_data_exit()</a> may be used to return to the current level in the tree and put more values.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> pn_data_t *data = pn_data(0);</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> ...</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_put_list(data);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> pn_data_enter(data);</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> pn_data_put_int(data, 1);</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> pn_data_put_int(data, 2);</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> pn_data_put_int(data, 3);</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> pn_data_exit(data);</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </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="ga538519513a20a441fddd98214c049fb6"></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_data_put_long </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 class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t </td>
<td class="paramname"><em>l</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba7a1b08f15b17b3d820a6fb50e65ffe1c" title="The long AMQP type. ">PN_LONG</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">l</td><td>the value </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="ga1ef7d014a1fcbfc6f39f363b6825ad2c"></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_data_put_map </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts an empty map value into a pn_data_t. </p>
<p>Elements may be filled by entering the map node and putting alternating key value pairs.</p>
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> pn_data_t *data = pn_data(0);</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> ...</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> pn_data_put_map(data);</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> pn_data_enter(data);</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> pn_data_put_string(data, pn_bytes(3, "key"));</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> pn_data_put_string(data, pn_bytes(5, "value"));</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> pn_data_exit(data);</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> ...</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </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="ga52cdd84bd9964c29cb6cd4cad7ef0467"></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_data_put_null </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaee48efaa3cb0c5b5d16c5b869b7e8fbe" title="The NULL AMQP type. ">PN_NULL</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </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="ga00d64770a609ca56d0eeda41dd8847bb"></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_data_put_short </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 class="paramkey"></td>
<td></td>
<td class="paramtype">int16_t </td>
<td class="paramname"><em>s</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba3dbf1221e02329a7f41b41e597833d97" title="The short AMQP type. ">PN_SHORT</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">s</td><td>the value </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="ga03fa959001ad29c5646edcb42caaa12c"></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_data_put_string </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00005.html">pn_bytes_t</a> </td>
<td class="paramname"><em>string</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba88421417c7be2caf88c2d243cb73da6b" title="The string AMQP type. ">PN_STRING</a> value. </p>
<p>The bytes referenced by the <a class="el" href="a00005.html">pn_bytes_t</a> argument are copied and stored inside the pn_data_t object.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">string</td><td>utf8 encoded unicode </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="gabc1d7ff29b81c7a6f72f5f8a0466b723"></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_data_put_symbol </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00005.html">pn_bytes_t</a> </td>
<td class="paramname"><em>symbol</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbad5f0929805f481d3ca6089ed172451e9" title="The symbol AMQP type. ">PN_SYMBOL</a> value. </p>
<p>The bytes referenced by the <a class="el" href="a00005.html">pn_bytes_t</a> argument are copied and stored inside the pn_data_t object.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">symbol</td><td>ascii encoded symbol </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="gab3a5aea516790f3b87b7a0f2f5374e10"></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_data_put_timestamp </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00064.html#gad337c365b498106064ec28e00e5fb6dd">pn_timestamp_t</a> </td>
<td class="paramname"><em>t</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaca241b4fa6cd92fdf26b4460d02a17b1" title="The timestamp AMQP type. ">PN_TIMESTAMP</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">t</td><td>the value </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="ga03f3769fafcfe3208db645eb629b536c"></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_data_put_ubyte </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 class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>ub</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba99223ec8d1ae5d915a1eaa7e8fef0256" title="The unsigned byte AMQP type. ">PN_UBYTE</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">ub</td><td>the value </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="ga44f6fae3db7765bb79eb29394afa02c7"></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_data_put_uint </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 class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t </td>
<td class="paramname"><em>ui</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dbaa7a251ed9fe5c31f0473976467bfefdd" title="The unsigned int AMQP type. ">PN_UINT</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">ui</td><td>the value </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="gae432d32c8155d28a261f428f4b9fd870"></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_data_put_ulong </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 class="paramkey"></td>
<td></td>
<td class="paramtype">uint64_t </td>
<td class="paramname"><em>ul</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba5f6b5fd2edbedf3f21285b69b8864777" title="The ulong AMQP type. ">PN_ULONG</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">ul</td><td>the value </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="ga847e4703a17ad4ebc1a8013bd34c1c39"></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_data_put_ushort </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 class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t </td>
<td class="paramname"><em>us</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba657a836a5ee74d9468924982ba3a3b41" title="The unsigned short AMQP type. ">PN_USHORT</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">us</td><td>the value </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="ga2d0f06871283cdd3cfa9b978ff9a9ae2"></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_data_put_uuid </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00009.html">pn_uuid_t</a> </td>
<td class="paramname"><em>u</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts a <a class="el" href="a00042.html#gga4465b5ea7d3c4f15c1dffa4deda905dba0a6946e5c032bae8d108100e2c56ac13" title="The UUID AMQP type. ">PN_UUID</a> value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">u</td><td>the value </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="gae70c79935ccce9b893494044e29423fa"></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_data_restore </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 class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00028.html#a37234f17c9c63843480356a235f1c3e8">pn_handle_t</a> </td>
<td class="paramname"><em>point</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Restores a prior navigational state that was saved using <a class="el" href="a00042.html#gaa155cf465bb16a4f77a9b939211f1ef8" title="Returns a handle for the current navigational state of a pn_data_t so that it can be later restored u...">pn_data_point()</a>. </p>
<p>If the data object has been modified in such a way that the prior navigational state cannot be restored, then this will return false and the navigational state will remain unchanged, otherwise it will return true.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
<tr><td class="paramname">handle</td><td>a handle referencing the saved navigational state </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true iff the prior navigational state was restored </dd></dl>
</div>
</div>
<a class="anchor" id="ga46683edde8b3118f0a28a17737c392b1"></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_data_rewind </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears current node pointer and sets the parent to the root node. </p>
<p>Clearing the current node sets it <em>before</em> the first node, calling <a class="el" href="a00042.html#ga263f241d7f97826ad223f5568b7eae79" title="Advances the current node to its next sibling and returns true. ">pn_data_next()</a> will advance to the first node. </p>
</div>
</div>
<a class="anchor" id="ga07a8fa4a555e213b56a92027bf85c341"></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_data_scan </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 class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga5facc4b4d0559c4a6b334a02fd982628"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> size_t pn_data_size </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the total number of nodes contained in a pn_data_t object. </p>
<p>This includes all parents, children, siblings, grandchildren, etc. In other words the count of all ancesters and descendents of the current node, along with the current node if there is one.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the total number of nodes in the pn_data_t object </dd></dl>
</div>
</div>
<a class="anchor" id="gaac5e69565602301035f58da8759d90d0"></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#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> pn_data_type </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the type of the current node. </p>
<p>Returns an undefined value if there is no current node.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a data object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the type of the current node </dd></dl>
</div>
</div>
<a class="anchor" id="ga2f35af39742c9ae4c7a14f5c2e8ae346"></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_data_vfill </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 class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">va_list </td>
<td class="paramname"><em>ap</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga8364700ba4736437f596cd15e2d90870"></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_data_vscan </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 class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">va_list </td>
<td class="paramname"><em>ap</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gae43fd5ef5ac16fea997dd3e212b666ce"></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_data_widen </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><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reverse the effect of <a class="el" href="a00042.html#ga4df82b8d528399bc524eed5561348cf1" title="Modify a pn_data_t object to behave as if the current node is the root node of the tree...">pn_data_narrow()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>a pn_data_t object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga2a546fbd721f3b528190b3298014f134"></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_type_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00042.html#ga4465b5ea7d3c4f15c1dffa4deda905db">pn_type_t</a> </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a string name for an AMQP type. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>an AMQP type </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the string name of the given type </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>
|