This file is indexed.

/usr/share/proton-0.7/docs/api-c/a00047.html is in libqpid-proton2-dev-doc 0.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>proton: Event</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">proton
   &#160;<span id="projectnumber">0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><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)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Modules</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<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">Event<div class="ingroups"><a class="el" href="a00046.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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga87f3028b4888632bbd56fb71ac737ae8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a></td></tr>
<tr class="memdesc:ga87f3028b4888632bbd56fb71ac737ae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">An event provides notification of a state change within the protocol engine's object model.  <a href="#ga87f3028b4888632bbd56fb71ac737ae8">More...</a><br /></td></tr>
<tr class="separator:ga87f3028b4888632bbd56fb71ac737ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga905cdecedb8020bc28e648e43348b5d1"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></td></tr>
<tr class="memdesc:ga905cdecedb8020bc28e648e43348b5d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">An event collector.  <a href="#ga905cdecedb8020bc28e648e43348b5d1">More...</a><br /></td></tr>
<tr class="separator:ga905cdecedb8020bc28e648e43348b5d1"><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:ga77e9872d347f08dd8d6522c808be5f0f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga77e9872d347f08dd8d6522c808be5f0f">pn_event_category_t</a> { <a class="el" href="a00047.html#gga77e9872d347f08dd8d6522c808be5f0fa6cca0bf51f96feae11ca5e1c853787af">PN_EVENT_CATEGORY_NONE</a> = 0, 
<a class="el" href="a00047.html#gga77e9872d347f08dd8d6522c808be5f0fa0245fc42d93bec746664cabd17a6b150">PN_EVENT_CATEGORY_PROTOCOL</a> = 0x00010000, 
<a class="el" href="a00047.html#gga77e9872d347f08dd8d6522c808be5f0fa1d36c8e976ce169fdcc2d7e696bdb59a">PN_EVENT_CATEGORY_COUNT</a> = 2
 }</td></tr>
<tr class="memdesc:ga77e9872d347f08dd8d6522c808be5f0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Related events are grouped into categories.  <a href="a00047.html#ga77e9872d347f08dd8d6522c808be5f0f">More...</a><br /></td></tr>
<tr class="separator:ga77e9872d347f08dd8d6522c808be5f0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4876e2eed24a4d4e4c52b99842103cda"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> { <br />
&#160;&#160;<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa1f5eec218463ae8e4f962fcc8eb2e657">PN_EVENT_NONE</a> = 0, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa53d1b30350c9e84515a6f05be252229c">PN_CONNECTION_REMOTE_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+1, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa1d41eeb168a03d6183cd53b2b096f3b7">PN_CONNECTION_LOCAL_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+2, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa29bd6eee124f7219de660c827912ce97">PN_SESSION_REMOTE_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+3, 
<br />
&#160;&#160;<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaadbfe6cd1f4eb288431f591a6bb66dfb6">PN_SESSION_LOCAL_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+4, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa1195df3aad57681ae646943f37afff22">PN_LINK_REMOTE_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+5, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaad9465b6589ef2d4d66e47d4d96aff950">PN_LINK_LOCAL_STATE</a> = PN_EVENT_CATEGORY_PROTOCOL+6, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa4eaecc54c07cdc9b0df7b1d536a7dc3f">PN_LINK_FLOW</a> = PN_EVENT_CATEGORY_PROTOCOL+7, 
<br />
&#160;&#160;<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaa70bbfc163d85732b5652dc70fb3330fe">PN_DELIVERY</a> = PN_EVENT_CATEGORY_PROTOCOL+8, 
<a class="el" href="a00047.html#gga4876e2eed24a4d4e4c52b99842103cdaad7329eb7a015f62ce70719ea20abab76">PN_TRANSPORT</a> = PN_EVENT_CATEGORY_PROTOCOL+9
<br />
 }</td></tr>
<tr class="memdesc:ga4876e2eed24a4d4e4c52b99842103cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">An event type.  <a href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">More...</a><br /></td></tr>
<tr class="separator:ga4876e2eed24a4d4e4c52b99842103cda"><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:gaede985de776fb37eaf3d2a34af60a5dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gaede985de776fb37eaf3d2a34af60a5dc">pn_event_type_name</a> (<a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> type)</td></tr>
<tr class="memdesc:gaede985de776fb37eaf3d2a34af60a5dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human readable name for an event type.  <a href="#gaede985de776fb37eaf3d2a34af60a5dc">More...</a><br /></td></tr>
<tr class="separator:gaede985de776fb37eaf3d2a34af60a5dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gaa880eb8a610de74e5d34bc0a4c239ada">pn_collector</a> (void)</td></tr>
<tr class="memdesc:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a collector.  <a href="#gaa880eb8a610de74e5d34bc0a4c239ada">More...</a><br /></td></tr>
<tr class="separator:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff9695d4c47feea83a5762cec75d6ccf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gaff9695d4c47feea83a5762cec75d6ccf">pn_collector_free</a> (<a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:gaff9695d4c47feea83a5762cec75d6ccf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free a collector.  <a href="#gaff9695d4c47feea83a5762cec75d6ccf">More...</a><br /></td></tr>
<tr class="separator:gaff9695d4c47feea83a5762cec75d6ccf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga93fe9a4d042d37ade5cd00b3cc1cb59f">pn_collector_peek</a> (<a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the head event contained by a collector.  <a href="#ga93fe9a4d042d37ade5cd00b3cc1cb59f">More...</a><br /></td></tr>
<tr class="separator:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa555f47b96943d506be173d3bfbb0e2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gaa555f47b96943d506be173d3bfbb0e2f">pn_collector_pop</a> (<a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:gaa555f47b96943d506be173d3bfbb0e2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the head event on a collector.  <a href="#gaa555f47b96943d506be173d3bfbb0e2f">More...</a><br /></td></tr>
<tr class="separator:gaa555f47b96943d506be173d3bfbb0e2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga6f4ad7aa02de3d8e3d9006d1ff274585">pn_event_type</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the type of an event.  <a href="#ga6f4ad7aa02de3d8e3d9006d1ff274585">More...</a><br /></td></tr>
<tr class="separator:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f9e4c084add30f5fc53bd9dcb140ec7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga77e9872d347f08dd8d6522c808be5f0f">pn_event_category_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga1f9e4c084add30f5fc53bd9dcb140ec7">pn_event_category</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga1f9e4c084add30f5fc53bd9dcb140ec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the category an event belongs to.  <a href="#ga1f9e4c084add30f5fc53bd9dcb140ec7">More...</a><br /></td></tr>
<tr class="separator:ga1f9e4c084add30f5fc53bd9dcb140ec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd51118bb12d11911fb189ace39fa20f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gabd51118bb12d11911fb189ace39fa20f">pn_event_connection</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gabd51118bb12d11911fb189ace39fa20f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the connection associated with an event.  <a href="#gabd51118bb12d11911fb189ace39fa20f">More...</a><br /></td></tr>
<tr class="separator:gabd51118bb12d11911fb189ace39fa20f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga5e61979e9bb2c76529c9b62a0a65a67d">pn_event_session</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the session associated with an event.  <a href="#ga5e61979e9bb2c76529c9b62a0a65a67d">More...</a><br /></td></tr>
<tr class="separator:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a289b44f0bb585f419f355e0e7bff81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga2a289b44f0bb585f419f355e0e7bff81">pn_event_link</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga2a289b44f0bb585f419f355e0e7bff81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the link associated with an event.  <a href="#ga2a289b44f0bb585f419f355e0e7bff81">More...</a><br /></td></tr>
<tr class="separator:ga2a289b44f0bb585f419f355e0e7bff81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadfc49bb1943bf56058bfe7affa5a380"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#gaadfc49bb1943bf56058bfe7affa5a380">pn_event_delivery</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gaadfc49bb1943bf56058bfe7affa5a380"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the delivery associated with an event.  <a href="#gaadfc49bb1943bf56058bfe7affa5a380">More...</a><br /></td></tr>
<tr class="separator:gaadfc49bb1943bf56058bfe7affa5a380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00047.html#ga5c8c7f4d2b79cb08e2f77fad9746fbc5">pn_event_transport</a> (<a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the transport associated with an event.  <a href="#ga5c8c7f4d2b79cb08e2f77fad9746fbc5">More...</a><br /></td></tr>
<tr class="separator:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><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="ga905cdecedb8020bc28e648e43348b5d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An event collector. </p>
<p>A pn_collector_t may be used to register interest in being notified of high level events that can occur to the various objects representing AMQP endpoint state. See <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8" title="An event provides notification of a state change within the protocol engine&#39;s object model...">pn_event_t</a> for more details. </p>

</div>
</div>
<a class="anchor" id="ga87f3028b4888632bbd56fb71ac737ae8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An event provides notification of a state change within the protocol engine's object model. </p>
<p>The AMQP endpoint state modeled by the protocol engine is captured by the following object types: <a class="el" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">Deliveries </a>, <a class="el" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">Links </a>, <a class="el" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Sessions </a>, <a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">Connections </a>, and <a class="el" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">Transports </a>. These objects are related as follows:</p>
<ul>
<li><a class="el" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">Deliveries </a> always have a single parent Link</li>
<li><a class="el" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">Links </a> always have a single parent Session</li>
<li><a class="el" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Sessions </a> always have a single parent Connection</li>
<li><a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">Connections </a> optionally have at most one associated Transport</li>
<li><a class="el" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">Transports </a> optionally have at most one associated Connection</li>
</ul>
<p>Every event has a type (see <a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda" title="An event type. ">pn_event_type_t</a>) that identifies what sort of state change has occurred along with a pointer to the object whose state has changed (as well as its associated objects).</p>
<p>Events are accessed by creating a <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">Collector </a> with <a class="el" href="a00047.html#gaa880eb8a610de74e5d34bc0a4c239ada" title="Construct a collector. ">pn_collector()</a> and registering it with the <a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">Connection </a> of interest through use of <a class="el" href="a00042.html#ga7943e7721ab30776cb79d4799d628164" title="Associate a connection object with an event collector. ">pn_connection_collect()</a>. Once a collector has been registered, <a class="el" href="a00047.html#ga93fe9a4d042d37ade5cd00b3cc1cb59f" title="Access the head event contained by a collector. ">pn_collector_peek()</a> and <a class="el" href="a00047.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop()</a> are used to access and process events. </p>

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

<p>Related events are grouped into categories. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga77e9872d347f08dd8d6522c808be5f0fa6cca0bf51f96feae11ca5e1c853787af"></a>PN_EVENT_CATEGORY_NONE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga77e9872d347f08dd8d6522c808be5f0fa0245fc42d93bec746664cabd17a6b150"></a>PN_EVENT_CATEGORY_PROTOCOL&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga77e9872d347f08dd8d6522c808be5f0fa1d36c8e976ce169fdcc2d7e696bdb59a"></a>PN_EVENT_CATEGORY_COUNT&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga4876e2eed24a4d4e4c52b99842103cda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An event type. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1f5eec218463ae8e4f962fcc8eb2e657"></a>PN_EVENT_NONE&#160;</td><td class="fielddoc">
<p>Defined as a programming convenience. </p>
<p>No event of this type will ever be generated. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa53d1b30350c9e84515a6f05be252229c"></a>PN_CONNECTION_REMOTE_STATE&#160;</td><td class="fielddoc">
<p>The endpoint state flags for a connection have changed. </p>
<p>Events of this type point to the relevant connection as well as its associated transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1d41eeb168a03d6183cd53b2b096f3b7"></a>PN_CONNECTION_LOCAL_STATE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa29bd6eee124f7219de660c827912ce97"></a>PN_SESSION_REMOTE_STATE&#160;</td><td class="fielddoc">
<p>The endpoint state flags for a session have changed. </p>
<p>Events of this type point to the relevant session as well as its associated connection and transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaadbfe6cd1f4eb288431f591a6bb66dfb6"></a>PN_SESSION_LOCAL_STATE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1195df3aad57681ae646943f37afff22"></a>PN_LINK_REMOTE_STATE&#160;</td><td class="fielddoc">
<p>The endpoint state flags for a link have changed. </p>
<p>Events of this type point to the relevant link as well as its associated session, connection, and transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaad9465b6589ef2d4d66e47d4d96aff950"></a>PN_LINK_LOCAL_STATE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa4eaecc54c07cdc9b0df7b1d536a7dc3f"></a>PN_LINK_FLOW&#160;</td><td class="fielddoc">
<p>The flow control state for a link has changed. </p>
<p>Events of this type point to the relevant link along with its associated session, connection, and transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa70bbfc163d85732b5652dc70fb3330fe"></a>PN_DELIVERY&#160;</td><td class="fielddoc">
<p>A delivery has been created or updated. </p>
<p>Events of this type point to the relevant delivery as well as its associated link, session, connection, and transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaad7329eb7a015f62ce70719ea20abab76"></a>PN_TRANSPORT&#160;</td><td class="fielddoc">
<p>The transport has new data to read and/or write. </p>
<p>Events of this type point to the relevant transport as well as its associated connection. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaa880eb8a610de74e5d34bc0a4c239ada"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a>* pn_collector </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a collector. </p>
<p>A collector is used to register interest in events produced by one or more <a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff" title="An AMQP Connection object. ">pn_connection_t</a> objects. Collectors are not currently thread safe, so synchronization must be used if they are to be shared between multiple connection objects. </p>

</div>
</div>
<a class="anchor" id="gaff9695d4c47feea83a5762cec75d6ccf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_collector_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *&#160;</td>
          <td class="paramname"><em>collector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Free a collector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector to free, or NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga93fe9a4d042d37ade5cd00b3cc1cb59f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a>* pn_collector_peek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *&#160;</td>
          <td class="paramname"><em>collector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the head event contained by a collector. </p>
<p>This operation will continue to return the same event until it is cleared by using <a class="el" href="a00047.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop</a>. The pointer return by this operation will be valid until <a class="el" href="a00047.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop</a> is invoked or <a class="el" href="a00047.html#gaff9695d4c47feea83a5762cec75d6ccf" title="Free a collector. ">pn_collector_free</a> is called, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the head event contained in the collector </dd></dl>

</div>
</div>
<a class="anchor" id="gaa555f47b96943d506be173d3bfbb0e2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_collector_pop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *&#160;</td>
          <td class="paramname"><em>collector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear the head event on a collector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the event was popped, false if the collector is empty </dd></dl>

</div>
</div>
<a class="anchor" id="ga1f9e4c084add30f5fc53bd9dcb140ec7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga77e9872d347f08dd8d6522c808be5f0f">pn_event_category_t</a> pn_event_category </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the category an event belongs to. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the category the event belongs to </dd></dl>

</div>
</div>
<a class="anchor" id="gabd51118bb12d11911fb189ace39fa20f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a>* pn_event_connection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the connection associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection associated with the event (or NULL) </dd></dl>

</div>
</div>
<a class="anchor" id="gaadfc49bb1943bf56058bfe7affa5a380"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>* pn_event_delivery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the delivery associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the delivery associated with the event (or NULL) </dd></dl>

</div>
</div>
<a class="anchor" id="ga2a289b44f0bb585f419f355e0e7bff81"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00048.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_event_link </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the link associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link associated with the event (or NULL) </dd></dl>

</div>
</div>
<a class="anchor" id="ga5e61979e9bb2c76529c9b62a0a65a67d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00055.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a>* pn_event_session </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the session associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the session associated with the event (or NULL) </dd></dl>

</div>
</div>
<a class="anchor" id="ga5c8c7f4d2b79cb08e2f77fad9746fbc5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00058.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a>* pn_event_transport </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the transport associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the transport associated with the event (or NULL) </dd></dl>

</div>
</div>
<a class="anchor" id="ga6f4ad7aa02de3d8e3d9006d1ff274585"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> pn_event_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="gaede985de776fb37eaf3d2a34af60a5dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00023.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_event_type_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00047.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a human readable name for an event type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>an event type </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a human readable name </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Nov 17 2014 10:28:04 for proton by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>