This file is indexed.

/usr/share/proton-0.10/docs/api-c/a00051.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
<!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: Link</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
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;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="#groups">Modules</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Link<div class="ingroups"><a class="el" href="a00048.html">Engine</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:a00052"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00052.html">Sender</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00053"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00053.html">Receiver</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00061"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html">Terminus</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:ga89dad3aa7934329a7ff467c636687bc0"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a></td></tr>
<tr class="memdesc:ga89dad3aa7934329a7ff467c636687bc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">An AMQP Link object.  <a href="#ga89dad3aa7934329a7ff467c636687bc0">More...</a><br /></td></tr>
<tr class="separator:ga89dad3aa7934329a7ff467c636687bc0"><td class="memSeparator" colspan="2">&#160;</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:ga3fb58bd0b88d37407ebb615c2630e608"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a> { <a class="el" href="a00051.html#gga3fb58bd0b88d37407ebb615c2630e608a8bd9806d2f8d8c1724ed26bb0543bade">PN_SND_UNSETTLED</a> = 0, 
<a class="el" href="a00051.html#gga3fb58bd0b88d37407ebb615c2630e608ac159f0edca565961b554768a42e82bf0">PN_SND_SETTLED</a> = 1, 
<a class="el" href="a00051.html#gga3fb58bd0b88d37407ebb615c2630e608ac33a5700d0247976b465aeb7c1437fd1">PN_SND_MIXED</a> = 2
 }<tr class="memdesc:ga3fb58bd0b88d37407ebb615c2630e608"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the permitted/expected settlement behaviours of a sending link.  <a href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga3fb58bd0b88d37407ebb615c2630e608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1c2388cdae687be26222a5d66fd2d58"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a> { <a class="el" href="a00051.html#ggad1c2388cdae687be26222a5d66fd2d58ac22b82396bd686940dfcc861302a8262">PN_RCV_FIRST</a> = 0, 
<a class="el" href="a00051.html#ggad1c2388cdae687be26222a5d66fd2d58ac79dc7f63fce078a8f0fe268c81dcaf3">PN_RCV_SECOND</a> = 1
 }<tr class="memdesc:gad1c2388cdae687be26222a5d66fd2d58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the permitted/expected settlement behaviours of a receiving link.  <a href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gad1c2388cdae687be26222a5d66fd2d58"><td class="memSeparator" colspan="2">&#160;</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:ga1d87431c33b1d5e84ee8f42875cae8d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga1d87431c33b1d5e84ee8f42875cae8d5">pn_sender</a> (<a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *session, const char *name)</td></tr>
<tr class="memdesc:ga1d87431c33b1d5e84ee8f42875cae8d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new sender on a session.  <a href="#ga1d87431c33b1d5e84ee8f42875cae8d5">More...</a><br /></td></tr>
<tr class="separator:ga1d87431c33b1d5e84ee8f42875cae8d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga476a97822eff18e7b8ae39a0a3a0b20f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga476a97822eff18e7b8ae39a0a3a0b20f">pn_receiver</a> (<a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *session, const char *name)</td></tr>
<tr class="memdesc:ga476a97822eff18e7b8ae39a0a3a0b20f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new receiver on a session.  <a href="#ga476a97822eff18e7b8ae39a0a3a0b20f">More...</a><br /></td></tr>
<tr class="separator:ga476a97822eff18e7b8ae39a0a3a0b20f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa28fac1437012b534873b6e255bcb494"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gaa28fac1437012b534873b6e255bcb494">pn_link_free</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gaa28fac1437012b534873b6e255bcb494"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free a link object.  <a href="#gaa28fac1437012b534873b6e255bcb494">More...</a><br /></td></tr>
<tr class="separator:gaa28fac1437012b534873b6e255bcb494"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bca6c08ba0179233dc76cb3834cbe4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga1bca6c08ba0179233dc76cb3834cbe4e">pn_link_get_context</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="separator:ga1bca6c08ba0179233dc76cb3834cbe4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0be02619b09c3b7b38fe50318466792e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga0be02619b09c3b7b38fe50318466792e">pn_link_set_context</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link, void *context)</td></tr>
<tr class="separator:ga0be02619b09c3b7b38fe50318466792e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51ace30d440f3f6a1c7b022a17c14738"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga51ace30d440f3f6a1c7b022a17c14738">pn_link_attachments</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga51ace30d440f3f6a1c7b022a17c14738"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the attachments that are associated with a link object.  <a href="#ga51ace30d440f3f6a1c7b022a17c14738">More...</a><br /></td></tr>
<tr class="separator:ga51ace30d440f3f6a1c7b022a17c14738"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d284db80651c3183a60f706325f2266"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga3d284db80651c3183a60f706325f2266">pn_link_name</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga3d284db80651c3183a60f706325f2266"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of a link.  <a href="#ga3d284db80651c3183a60f706325f2266">More...</a><br /></td></tr>
<tr class="separator:ga3d284db80651c3183a60f706325f2266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb14567cf4afa5a3d2ec774cd66ec9fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gacb14567cf4afa5a3d2ec774cd66ec9fe">pn_link_is_sender</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gacb14567cf4afa5a3d2ec774cd66ec9fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if a link is a sender.  <a href="#gacb14567cf4afa5a3d2ec774cd66ec9fe">More...</a><br /></td></tr>
<tr class="separator:gacb14567cf4afa5a3d2ec774cd66ec9fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac02f18d19fa8da9fef840e52be41cf68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gac02f18d19fa8da9fef840e52be41cf68">pn_link_is_receiver</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gac02f18d19fa8da9fef840e52be41cf68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if a link is a receiver.  <a href="#gac02f18d19fa8da9fef840e52be41cf68">More...</a><br /></td></tr>
<tr class="separator:gac02f18d19fa8da9fef840e52be41cf68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef39c0b3b65fca7d9b227ef38a345394"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gaef39c0b3b65fca7d9b227ef38a345394">pn_link_state</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gaef39c0b3b65fca7d9b227ef38a345394"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the endpoint state flags for a link.  <a href="#gaef39c0b3b65fca7d9b227ef38a345394">More...</a><br /></td></tr>
<tr class="separator:gaef39c0b3b65fca7d9b227ef38a345394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72d4d05cc2a29cc1a3c96cd984c2a4b6"><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> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga72d4d05cc2a29cc1a3c96cd984c2a4b6">pn_link_error</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga72d4d05cc2a29cc1a3c96cd984c2a4b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get additional error information associated with the link.  <a href="#ga72d4d05cc2a29cc1a3c96cd984c2a4b6">More...</a><br /></td></tr>
<tr class="separator:ga72d4d05cc2a29cc1a3c96cd984c2a4b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d9321a1831d214e079152b7a8030cf1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga3d9321a1831d214e079152b7a8030cf1">pn_link_condition</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga3d9321a1831d214e079152b7a8030cf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the local condition associated with a link endpoint.  <a href="#ga3d9321a1831d214e079152b7a8030cf1">More...</a><br /></td></tr>
<tr class="separator:ga3d9321a1831d214e079152b7a8030cf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabac87dd5667123557a0e73a45ad13349"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gabac87dd5667123557a0e73a45ad13349">pn_link_remote_condition</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gabac87dd5667123557a0e73a45ad13349"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the remote condition associated with a link endpoint.  <a href="#gabac87dd5667123557a0e73a45ad13349">More...</a><br /></td></tr>
<tr class="separator:gabac87dd5667123557a0e73a45ad13349"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9417ad2f784646ae23318782411e422a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga9417ad2f784646ae23318782411e422a">pn_link_session</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga9417ad2f784646ae23318782411e422a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the parent session for a link object.  <a href="#ga9417ad2f784646ae23318782411e422a">More...</a><br /></td></tr>
<tr class="separator:ga9417ad2f784646ae23318782411e422a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd5a06ca5daa5d4910d795d7157ebfde"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gacd5a06ca5daa5d4910d795d7157ebfde">pn_link_head</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a> state)</td></tr>
<tr class="memdesc:gacd5a06ca5daa5d4910d795d7157ebfde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the first link that matches the given state mask.  <a href="#gacd5a06ca5daa5d4910d795d7157ebfde">More...</a><br /></td></tr>
<tr class="separator:gacd5a06ca5daa5d4910d795d7157ebfde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07d0254efd3df298246a043f5323d540"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga07d0254efd3df298246a043f5323d540">pn_link_next</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link, <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a> state)</td></tr>
<tr class="memdesc:ga07d0254efd3df298246a043f5323d540"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the next link that matches the given state mask.  <a href="#ga07d0254efd3df298246a043f5323d540">More...</a><br /></td></tr>
<tr class="separator:ga07d0254efd3df298246a043f5323d540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9a73ca4ac5383a71ddf54cbcb748083"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gab9a73ca4ac5383a71ddf54cbcb748083">pn_link_open</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gab9a73ca4ac5383a71ddf54cbcb748083"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a link.  <a href="#gab9a73ca4ac5383a71ddf54cbcb748083">More...</a><br /></td></tr>
<tr class="separator:gab9a73ca4ac5383a71ddf54cbcb748083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9d63c2255cae6c913cb980f8812ace0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gad9d63c2255cae6c913cb980f8812ace0">pn_link_close</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gad9d63c2255cae6c913cb980f8812ace0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close a link.  <a href="#gad9d63c2255cae6c913cb980f8812ace0">More...</a><br /></td></tr>
<tr class="separator:gad9d63c2255cae6c913cb980f8812ace0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga82df1bbe52ddbc75c7b7403489d4652f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga82df1bbe52ddbc75c7b7403489d4652f">pn_link_detach</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga82df1bbe52ddbc75c7b7403489d4652f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detach a link.  <a href="#ga82df1bbe52ddbc75c7b7403489d4652f">More...</a><br /></td></tr>
<tr class="separator:ga82df1bbe52ddbc75c7b7403489d4652f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a8002b94c660f1fd1cbb3e932bd52f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga8a8002b94c660f1fd1cbb3e932bd52f0">pn_link_source</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga8a8002b94c660f1fd1cbb3e932bd52f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the locally defined source definition for a link.  <a href="#ga8a8002b94c660f1fd1cbb3e932bd52f0">More...</a><br /></td></tr>
<tr class="separator:ga8a8002b94c660f1fd1cbb3e932bd52f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44c7bdc0a9179d9cdd96c3153e4da36c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga44c7bdc0a9179d9cdd96c3153e4da36c">pn_link_target</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga44c7bdc0a9179d9cdd96c3153e4da36c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the locally defined target definition for a link.  <a href="#ga44c7bdc0a9179d9cdd96c3153e4da36c">More...</a><br /></td></tr>
<tr class="separator:ga44c7bdc0a9179d9cdd96c3153e4da36c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6955876604a5982a969cf3e44bc3b045"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga6955876604a5982a969cf3e44bc3b045">pn_link_remote_source</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga6955876604a5982a969cf3e44bc3b045"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the remotely defined source definition for a link.  <a href="#ga6955876604a5982a969cf3e44bc3b045">More...</a><br /></td></tr>
<tr class="separator:ga6955876604a5982a969cf3e44bc3b045"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9c24558b723dc4877abad8bacd5a17a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gad9c24558b723dc4877abad8bacd5a17a">pn_link_remote_target</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gad9c24558b723dc4877abad8bacd5a17a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the remotely defined target definition for a link.  <a href="#gad9c24558b723dc4877abad8bacd5a17a">More...</a><br /></td></tr>
<tr class="separator:gad9c24558b723dc4877abad8bacd5a17a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga662d2bf8a9a447cf1a69f4ec7d72a6ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga662d2bf8a9a447cf1a69f4ec7d72a6ac">pn_link_current</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga662d2bf8a9a447cf1a69f4ec7d72a6ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current delivery for a link.  <a href="#ga662d2bf8a9a447cf1a69f4ec7d72a6ac">More...</a><br /></td></tr>
<tr class="separator:ga662d2bf8a9a447cf1a69f4ec7d72a6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea1f1ff885604e194ecfbae8c43e91d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gaea1f1ff885604e194ecfbae8c43e91d7">pn_link_advance</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gaea1f1ff885604e194ecfbae8c43e91d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advance the current delivery of a link to the next delivery on the link.  <a href="#gaea1f1ff885604e194ecfbae8c43e91d7">More...</a><br /></td></tr>
<tr class="separator:gaea1f1ff885604e194ecfbae8c43e91d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae106eccd62d41a1b6125bc471315066d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gae106eccd62d41a1b6125bc471315066d">pn_link_credit</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gae106eccd62d41a1b6125bc471315066d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the credit balance for a link.  <a href="#gae106eccd62d41a1b6125bc471315066d">More...</a><br /></td></tr>
<tr class="separator:gae106eccd62d41a1b6125bc471315066d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5a35ccbd14c04285845a6d7b40f44df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gab5a35ccbd14c04285845a6d7b40f44df">pn_link_queued</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gab5a35ccbd14c04285845a6d7b40f44df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of queued deliveries for a link.  <a href="#gab5a35ccbd14c04285845a6d7b40f44df">More...</a><br /></td></tr>
<tr class="separator:gab5a35ccbd14c04285845a6d7b40f44df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c9b1a283a88199a2dc56af8ab150760"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga1c9b1a283a88199a2dc56af8ab150760">pn_link_remote_credit</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga1c9b1a283a88199a2dc56af8ab150760"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the remote view of the credit for a link.  <a href="#ga1c9b1a283a88199a2dc56af8ab150760">More...</a><br /></td></tr>
<tr class="separator:ga1c9b1a283a88199a2dc56af8ab150760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga412100bbe765f6fa0313257b6f24a1b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga412100bbe765f6fa0313257b6f24a1b8">pn_link_get_drain</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga412100bbe765f6fa0313257b6f24a1b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the drain flag for a link.  <a href="#ga412100bbe765f6fa0313257b6f24a1b8">More...</a><br /></td></tr>
<tr class="separator:ga412100bbe765f6fa0313257b6f24a1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72edd3ec60adb06f7af3f53580dfcebc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga72edd3ec60adb06f7af3f53580dfcebc">pn_link_drained</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga72edd3ec60adb06f7af3f53580dfcebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drain excess credit for a link.  <a href="#ga72edd3ec60adb06f7af3f53580dfcebc">More...</a><br /></td></tr>
<tr class="separator:ga72edd3ec60adb06f7af3f53580dfcebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae87b35d45c495a640c04376175696403"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gae87b35d45c495a640c04376175696403">pn_link_available</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:gae87b35d45c495a640c04376175696403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the available deliveries hint for a link.  <a href="#gae87b35d45c495a640c04376175696403">More...</a><br /></td></tr>
<tr class="separator:gae87b35d45c495a640c04376175696403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44b6238638d71356b00f3129e0b28182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga44b6238638d71356b00f3129e0b28182">pn_link_snd_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga44b6238638d71356b00f3129e0b28182"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the local sender settle mode for a link.  <a href="#ga44b6238638d71356b00f3129e0b28182">More...</a><br /></td></tr>
<tr class="separator:ga44b6238638d71356b00f3129e0b28182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8aec1bf839d167e81037595a86c8751a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga8aec1bf839d167e81037595a86c8751a">pn_link_rcv_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga8aec1bf839d167e81037595a86c8751a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the local receiver settle mode for a link.  <a href="#ga8aec1bf839d167e81037595a86c8751a">More...</a><br /></td></tr>
<tr class="separator:ga8aec1bf839d167e81037595a86c8751a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga410b0f045ee235b93a7fa1439af50d2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga410b0f045ee235b93a7fa1439af50d2c">pn_link_set_snd_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link, <a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a> mode)</td></tr>
<tr class="memdesc:ga410b0f045ee235b93a7fa1439af50d2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the local sender settle mode for a link.  <a href="#ga410b0f045ee235b93a7fa1439af50d2c">More...</a><br /></td></tr>
<tr class="separator:ga410b0f045ee235b93a7fa1439af50d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff06cd4918c76523e1893dc1341ebc48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#gaff06cd4918c76523e1893dc1341ebc48">pn_link_set_rcv_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link, <a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a> mode)</td></tr>
<tr class="memdesc:gaff06cd4918c76523e1893dc1341ebc48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the local receiver settle mode for a link.  <a href="#gaff06cd4918c76523e1893dc1341ebc48">More...</a><br /></td></tr>
<tr class="separator:gaff06cd4918c76523e1893dc1341ebc48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03991c2d516e68c0eba2a2eb910bb9f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga03991c2d516e68c0eba2a2eb910bb9f5">pn_link_remote_snd_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga03991c2d516e68c0eba2a2eb910bb9f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the remote sender settle mode for a link.  <a href="#ga03991c2d516e68c0eba2a2eb910bb9f5">More...</a><br /></td></tr>
<tr class="separator:ga03991c2d516e68c0eba2a2eb910bb9f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13d85968d1ced071196379c9cbd108b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga13d85968d1ced071196379c9cbd108b1">pn_link_remote_rcv_settle_mode</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga13d85968d1ced071196379c9cbd108b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the remote receiver settle mode for a link.  <a href="#ga13d85968d1ced071196379c9cbd108b1">More...</a><br /></td></tr>
<tr class="separator:ga13d85968d1ced071196379c9cbd108b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77f816f63c744283b2fd62e6f8abef07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga77f816f63c744283b2fd62e6f8abef07">pn_link_unsettled</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga77f816f63c744283b2fd62e6f8abef07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of unsettled deliveries for a link.  <a href="#ga77f816f63c744283b2fd62e6f8abef07">More...</a><br /></td></tr>
<tr class="separator:ga77f816f63c744283b2fd62e6f8abef07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79008e1324488bcbc7387b657c1d2897"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga79008e1324488bcbc7387b657c1d2897">pn_unsettled_head</a> (<a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *link)</td></tr>
<tr class="memdesc:ga79008e1324488bcbc7387b657c1d2897"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the first unsettled delivery for a link.  <a href="#ga79008e1324488bcbc7387b657c1d2897">More...</a><br /></td></tr>
<tr class="separator:ga79008e1324488bcbc7387b657c1d2897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29f38b239a25d8adad5fa7457e4ec014"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ga29f38b239a25d8adad5fa7457e4ec014">pn_unsettled_next</a> (<a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *delivery)</td></tr>
<tr class="memdesc:ga29f38b239a25d8adad5fa7457e4ec014"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next unsettled delivery on a link.  <a href="#ga29f38b239a25d8adad5fa7457e4ec014">More...</a><br /></td></tr>
<tr class="separator:ga29f38b239a25d8adad5fa7457e4ec014"><td class="memSeparator" colspan="2">&#160;</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="ga89dad3aa7934329a7ff467c636687bc0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An AMQP Link object. </p>
<p>A pn_link_t object encapsulates all of the endpoint state associated with an AMQP Link. A pn_link_t object contains an ordered sequence of <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects representing in-flight deliveries. A pn_link_t may be either a <a class="el" href="a00052.html">Sender </a>, or a <a class="el" href="a00053.html">Receiver </a>, but never both.</p>
<p>A pn_link_t object maintains a pointer to the <em>current</em> delivery within the ordered sequence of deliveries contained by the link (See <a class="el" href="a00051.html#ga662d2bf8a9a447cf1a69f4ec7d72a6ac" title="Get the current delivery for a link. ">pn_link_current</a>). The <em>current</em> delivery is the target of a number of operations associated with the link, such as sending (<a class="el" href="a00052.html#ga6edd45454fe2ddd093aad94f3d277475" title="Send message data for the current delivery on a link. ">pn_link_send</a>) and receiving (<a class="el" href="a00053.html#gaa98289676877e6c820a95e4bce94eda6" title="Receive message data for the current delivery on a link. ">pn_link_recv</a>) message data. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="gad1c2388cdae687be26222a5d66fd2d58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Describes the permitted/expected settlement behaviours of a receiving link. </p>
<p>The receiver settle mode describes the permitted and expected behaviour of a receiving link with respect to settling of deliveries. See <a class="el" href="a00046.html#ga8b3a1e6da2acabf21fedea60198d4cdb" title="Settle a delivery. ">pn_delivery_settle</a> for more details. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggad1c2388cdae687be26222a5d66fd2d58ac22b82396bd686940dfcc861302a8262"></a>PN_RCV_FIRST&#160;</td><td class="fielddoc">
<p>The receiver will settle deliveries regardless of what the sender does. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggad1c2388cdae687be26222a5d66fd2d58ac79dc7f63fce078a8f0fe268c81dcaf3"></a>PN_RCV_SECOND&#160;</td><td class="fielddoc">
<p>The receiver will only settle deliveries after the sender settles. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga3fb58bd0b88d37407ebb615c2630e608"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Describes the permitted/expected settlement behaviours of a sending link. </p>
<p>The sender settle mode describes the permitted and expected behaviour of a sending link with respect to settling of deliveries. See <a class="el" href="a00046.html#ga8b3a1e6da2acabf21fedea60198d4cdb" title="Settle a delivery. ">pn_delivery_settle</a> for more details. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga3fb58bd0b88d37407ebb615c2630e608a8bd9806d2f8d8c1724ed26bb0543bade"></a>PN_SND_UNSETTLED&#160;</td><td class="fielddoc">
<p>The sender will send all deliveries initially unsettled. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga3fb58bd0b88d37407ebb615c2630e608ac159f0edca565961b554768a42e82bf0"></a>PN_SND_SETTLED&#160;</td><td class="fielddoc">
<p>The sender will send all deliveries settled to the receiver. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga3fb58bd0b88d37407ebb615c2630e608ac33a5700d0247976b465aeb7c1437fd1"></a>PN_SND_MIXED&#160;</td><td class="fielddoc">
<p>The sender may send a mixure of settled and unsettled deliveries. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaea1f1ff885604e194ecfbae8c43e91d7"></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_link_advance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Advance the current delivery of a link to the next delivery on the link. </p>
<p>For sending links this operation is used to finish sending message data for the current outgoing delivery and move on to the next outgoing delivery (if any).</p>
<p>For receiving links, this operation is used to finish accessing message data from the current incoming delivery and move on to the next incoming delivery (if any).</p>
<p>Each link maintains a sequence of deliveries in the order they were created, along with a pointer to the <em>current</em> delivery. The pn_link_advance operation will modify the <em>current</em> delivery on the link to point to the next delivery in the sequence. If there is no next delivery in the sequence, the current delivery will be set to NULL. This operation will return true if invoking it caused the value of the current delivery to change, even if it was set to NULL.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current delivery was changed </dd></dl>

</div>
</div>
<a class="anchor" id="ga51ace30d440f3f6a1c7b022a17c14738"></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#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a>* pn_link_attachments </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the attachments that are associated with a link object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link whose attachments are to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the attachments for the link object </dd></dl>

</div>
</div>
<a class="anchor" id="gae87b35d45c495a640c04376175696403"></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_link_available </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the available deliveries hint for a link. </p>
<p>The available count for a link provides a hint as to the number of deliveries that might be able to be sent if sufficient credit were issued by the receiving link endpoint. See <a class="el" href="a00052.html#gaa7a1eb227dde862c8a311535d1737b1a" title="Signal the availability of deliveries for a link. ">pn_link_offered</a> for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the available deliveries hint </dd></dl>

</div>
</div>
<a class="anchor" id="gad9d63c2255cae6c913cb980f8812ace0"></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_link_close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close a link. </p>
<p>Once this operation has completed, the PN_LOCAL_CLOSED state flag will be set. This may be called without calling <a class="el" href="a00051.html#gab9a73ca4ac5383a71ddf54cbcb748083" title="Open a link. ">pn_link_open</a>, in this case it is equivalent to calling <a class="el" href="a00051.html#gab9a73ca4ac5383a71ddf54cbcb748083" title="Open a link. ">pn_link_open</a> followed by <a class="el" href="a00051.html#gad9d63c2255cae6c913cb980f8812ace0" title="Close a link. ">pn_link_close</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3d9321a1831d214e079152b7a8030cf1"></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="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a>* pn_link_condition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the local condition associated with a link endpoint. </p>
<p>The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object retrieved may be modified prior to closing a link in order to indicate a particular condition exists when the link closes. This is normally used to communicate error conditions to the remote peer, however it may also be used in non error cases. See <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> for more details.</p>
<p>The pointer returned by this operation is valid until the link object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link's local condition object </dd></dl>

</div>
</div>
<a class="anchor" id="gae106eccd62d41a1b6125bc471315066d"></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_link_credit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the credit balance for a link. </p>
<p>Links use a credit based flow control scheme. Every receiver maintains a credit balance that corresponds to the number of deliveries that the receiver can accept at any given moment. As more capacity becomes available at the receiver (see <a class="el" href="a00053.html#gaf331f33acd1fddbb6f8e674a8a7c6aa2" title="Grant credit for incoming deliveries on a receiver. ">pn_link_flow</a>), it adds credit to this balance and communicates the new balance to the sender. Whenever a delivery is sent/received, the credit balance maintained by the link is decremented by one. Once the credit balance at the sender reaches zero, the sender must pause sending until more credit is obtained from the receiver.</p>
<p>Note that a sending link may still be used to send deliveries even if pn_link_credit reaches zero, however those deliveries will end up being buffered by the link until enough credit is obtained from the receiver to send them over the wire. In this case the balance reported by <a class="el" href="a00051.html#gae106eccd62d41a1b6125bc471315066d" title="Get the credit balance for a link. ">pn_link_credit</a> will go negative.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the credit balance for the link </dd></dl>

</div>
</div>
<a class="anchor" id="ga662d2bf8a9a447cf1a69f4ec7d72a6ac"></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="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>* pn_link_current </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current delivery for a link. </p>
<p>Each link maintains a sequence of deliveries in the order they were created, along with a pointer to the <em>current</em> delivery. All send/recv operations on a link take place on the <em>current</em> delivery. If a link has no current delivery, the current delivery is automatically initialized to the next delivery created on the link. Once initialized, the current delivery remains the same until it is changed through use of <a class="el" href="a00051.html#gaea1f1ff885604e194ecfbae8c43e91d7" title="Advance the current delivery of a link to the next delivery on the link. ">pn_link_advance</a> or until it is settled via <a class="el" href="a00046.html#ga8b3a1e6da2acabf21fedea60198d4cdb" title="Settle a delivery. ">pn_delivery_settle</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current delivery for the link, or NULL if there is none </dd></dl>

</div>
</div>
<a class="anchor" id="ga82df1bbe52ddbc75c7b7403489d4652f"></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_link_detach </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Detach a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga72edd3ec60adb06f7af3f53580dfcebc"></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_link_drained </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Drain excess credit for a link. </p>
<p>When a link is in drain mode, the sender must use all excess credit immediately, and release any excess credit back to the receiver if there are no deliveries available to send.</p>
<p>When invoked on a sending link that is in drain mode, this operation will release all excess credit back to the receiver and return the number of credits released back to the sender. If the link is not in drain mode, this operation is a noop.</p>
<p>When invoked on a receiving link, this operation will return and reset the number of credits the sender has released back to the receiver.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of credits drained </dd></dl>

</div>
</div>
<a class="anchor" id="ga72d4d05cc2a29cc1a3c96cd984c2a4b6"></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_link_error </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get additional error information associated with the link. </p>
<p>Whenever a link operation fails (i.e. returns an error code), additional error details can be obtained using this function. The error object that is returned may also be used to clear the error condition.</p>
<p>The pointer returned by this operation is valid until the link object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link's error object </dd></dl>

</div>
</div>
<a class="anchor" id="gaa28fac1437012b534873b6e255bcb494"></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_link_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Free a link object. </p>
<p>When a link object is freed, all <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects associated with the session are also freed. Freeing a link will settle any unsettled deliveries on the link.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object to free (or NULL) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1bca6c08ba0179233dc76cb3834cbe4e"></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_link_get_context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="a00001.html#_deprecated000005">Deprecated:</a></b></dt><dd>Get the application context that is associated with a link object.</dd></dl>
<p>The application context for a link may be set using <a class="el" href="a00051.html#ga0be02619b09c3b7b38fe50318466792e">pn_link_set_context</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link whose context is to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the application context for the link object </dd></dl>

</div>
</div>
<a class="anchor" id="ga412100bbe765f6fa0313257b6f24a1b8"></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_link_get_drain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the drain flag for a link. </p>
<p>If a link is in drain mode, then the sending endpoint of a link must immediately use up all available credit on the link. If this is not possible, the excess credit must be returned by invoking <a class="el" href="a00051.html#ga72edd3ec60adb06f7af3f53580dfcebc" title="Drain excess credit for a link. ">pn_link_drained</a>. Only the receiving endpoint can set the drain mode. See <a class="el" href="a00053.html#ga22837f7f8e152add8de867bbe4163892" title="Set the drain mode on a link. ">pn_link_set_drain</a> for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if and only if the link is in drain mode </dd></dl>

</div>
</div>
<a class="anchor" id="gacd5a06ca5daa5d4910d795d7157ebfde"></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="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_link_head </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *&#160;</td>
          <td class="paramname"><em>connection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a>&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the first link that matches the given state mask. </p>
<p>Examines the state of each link owned by the connection and returns the first link that matches the given state mask. If state contains both local and remote flags, then an exact match against those flags is performed. If state contains only local or only remote flags, then a match occurs if any of the local or remote flags are set respectively.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>to be searched for matching Links </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>mask to match </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the first link owned by the connection that matches the mask, else NULL if no links match </dd></dl>

</div>
</div>
<a class="anchor" id="gac02f18d19fa8da9fef840e52be41cf68"></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_link_is_receiver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test if a link is a receiver. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if and only if the link is a receiver </dd></dl>

</div>
</div>
<a class="anchor" id="gacb14567cf4afa5a3d2ec774cd66ec9fe"></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_link_is_sender </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test if a link is a sender. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if and only if the link is a sender </dd></dl>

</div>
</div>
<a class="anchor" id="ga3d284db80651c3183a60f706325f2266"></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_link_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the name of a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the name of the link </dd></dl>

</div>
</div>
<a class="anchor" id="ga07d0254efd3df298246a043f5323d540"></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="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_link_next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a>&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the next link that matches the given state mask. </p>
<p>When used with pn_link_head, the application can access all links on the connection that match the given state. See pn_link_head for description of match behavior.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the previous link obtained from pn_link_head or pn_link_next </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>mask to match </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the next session owned by the connection that matches the mask, else NULL if no sessions match </dd></dl>

</div>
</div>
<a class="anchor" id="gab9a73ca4ac5383a71ddf54cbcb748083"></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_link_open </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open a link. </p>
<p>Once this operation has completed, the PN_LOCAL_ACTIVE state flag will be set.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gab5a35ccbd14c04285845a6d7b40f44df"></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_link_queued </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of queued deliveries for a link. </p>
<p>Links may queue deliveries for a number of reasons, for example there may be insufficient credit to send them to the receiver (see <a class="el" href="a00051.html#gae106eccd62d41a1b6125bc471315066d" title="Get the credit balance for a link. ">pn_link_credit</a>), or they simply may not have yet had a chance to be written to the wire. This operation will return the number of queued deliveries on a link.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of queued deliveries for the link </dd></dl>

</div>
</div>
<a class="anchor" id="ga8aec1bf839d167e81037595a86c8751a"></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="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a> pn_link_rcv_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the local receiver settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the local receiver settle mode </dd></dl>

</div>
</div>
<a class="anchor" id="gabac87dd5667123557a0e73a45ad13349"></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="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a>* pn_link_remote_condition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the remote condition associated with a link endpoint. </p>
<p>The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object retrieved may be examined in order to determine whether the remote peer was indicating some sort of exceptional condition when the remote link endpoint was closed. The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object returned may not be modified.</p>
<p>The pointer returned by this operation is valid until the link object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link's remote condition object </dd></dl>

</div>
</div>
<a class="anchor" id="ga1c9b1a283a88199a2dc56af8ab150760"></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_link_remote_credit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the remote view of the credit for a link. </p>
<p>The remote view of the credit for a link differs from local view of credit for a link by the number of queued deliveries. In other words <a class="el" href="a00051.html#ga1c9b1a283a88199a2dc56af8ab150760" title="Get the remote view of the credit for a link. ">pn_link_remote_credit</a> is defined to be <a class="el" href="a00051.html#gae106eccd62d41a1b6125bc471315066d" title="Get the credit balance for a link. ">pn_link_credit</a> - <a class="el" href="a00051.html#gab5a35ccbd14c04285845a6d7b40f44df" title="Get the number of queued deliveries for a link. ">pn_link_queued</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote view of the credit for a link </dd></dl>

</div>
</div>
<a class="anchor" id="ga13d85968d1ced071196379c9cbd108b1"></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="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a> pn_link_remote_rcv_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the remote receiver settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote receiver settle mode </dd></dl>

</div>
</div>
<a class="anchor" id="ga03991c2d516e68c0eba2a2eb910bb9f5"></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="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a> pn_link_remote_snd_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the remote sender settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote sender settle mode </dd></dl>

</div>
</div>
<a class="anchor" id="ga6955876604a5982a969cf3e44bc3b045"></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="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a>* pn_link_remote_source </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the remotely defined source definition for a link. </p>
<p>The pointer returned by this operation is valid until the link object is freed. The remotely defined terminus will be empty until the link is remotely opened as indicated by the PN_REMOTE_ACTIVE flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the remotely defined source terminus </dd></dl>

</div>
</div>
<a class="anchor" id="gad9c24558b723dc4877abad8bacd5a17a"></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="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a>* pn_link_remote_target </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the remotely defined target definition for a link. </p>
<p>The pointer returned by this operation is valid until the link object is freed. The remotely defined terminus will be empty until the link is remotely opened as indicated by the PN_REMOTE_ACTIVE flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the remotely defined target terminus </dd></dl>

</div>
</div>
<a class="anchor" id="ga9417ad2f784646ae23318782411e422a"></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="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a>* pn_link_session </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the parent session for a link object. </p>
<p>This operation retrieves the parent <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9" title="An AMQP Session object. ">pn_session_t</a> object that contains the given <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a> object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the parent session object </dd></dl>

</div>
</div>
<a class="anchor" id="ga0be02619b09c3b7b38fe50318466792e"></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_link_set_context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="a00001.html#_deprecated000006">Deprecated:</a></b></dt><dd>Set a new application context for a link object.</dd></dl>
<p>The application context for a link object may be retrieved using <a class="el" href="a00051.html#ga1bca6c08ba0179233dc76cb3834cbe4e">pn_link_get_context</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link object </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">context</td><td>the application context </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaff06cd4918c76523e1893dc1341ebc48"></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_link_set_rcv_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00051.html#gad1c2388cdae687be26222a5d66fd2d58">pn_rcv_settle_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the local receiver settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>the receiver settle mode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga410b0f045ee235b93a7fa1439af50d2c"></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_link_set_snd_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the local sender settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>the sender settle mode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga44b6238638d71356b00f3129e0b28182"></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="a00051.html#ga3fb58bd0b88d37407ebb615c2630e608">pn_snd_settle_mode_t</a> pn_link_snd_settle_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the local sender settle mode for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the local sender settle mode </dd></dl>

</div>
</div>
<a class="anchor" id="ga8a8002b94c660f1fd1cbb3e932bd52f0"></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="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a>* pn_link_source </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the locally defined source definition for a link. </p>
<p>The pointer returned by this operation is valid until the link object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a source terminus </dd></dl>

</div>
</div>
<a class="anchor" id="gaef39c0b3b65fca7d9b227ef38a345394"></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="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a> pn_link_state </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the endpoint state flags for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>the link </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link's state flags </dd></dl>

</div>
</div>
<a class="anchor" id="ga44c7bdc0a9179d9cdd96c3153e4da36c"></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="a00061.html#gad202baf5c904d6991e13521b7c93fdc2">pn_terminus_t</a>* pn_link_target </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the locally defined target definition for a link. </p>
<p>The pointer returned by this operation is valid until the link object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a target terminus </dd></dl>

</div>
</div>
<a class="anchor" id="ga77f816f63c744283b2fd62e6f8abef07"></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_link_unsettled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of unsettled deliveries for a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of unsettled deliveries </dd></dl>

</div>
</div>
<a class="anchor" id="ga476a97822eff18e7b8ae39a0a3a0b20f"></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="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_receiver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a new receiver on a session. </p>
<p>Each receiving link between two AMQP containers must be uniquely named. Note that this uniqueness cannot be enforced at the API level, so some consideration should be taken in choosing link names.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">session</td><td>the session object </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>the name of the link </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly constructed receiver link or NULL on error </dd></dl>

</div>
</div>
<a class="anchor" id="ga1d87431c33b1d5e84ee8f42875cae8d5"></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="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_sender </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a new sender on a session. </p>
<p>Each sending link between two AMQP containers must be uniquely named. Note that this uniqueness cannot be enforced at the API level, so some consideration should be taken in choosing link names.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">session</td><td>the session object </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>the name of the link </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly constructed sender link or NULL on error </dd></dl>

</div>
</div>
<a class="anchor" id="ga79008e1324488bcbc7387b657c1d2897"></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="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>* pn_unsettled_head </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the first unsettled delivery for a link. </p>
<p>" </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">link</td><td>a link object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the first unsettled delivery on the link </dd></dl>

</div>
</div>
<a class="anchor" id="ga29f38b239a25d8adad5fa7457e4ec014"></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="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>* pn_unsettled_next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *&#160;</td>
          <td class="paramname"><em>delivery</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the next unsettled delivery on a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">delivery</td><td>a delivery object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the next unsettled delivery on the link </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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>