This file is indexed.

/usr/share/gtk-doc/html/libepc-1.0/libepc-1.0-dispatcher.html is in libepc-doc 0.4.4-1ubuntu1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EpcDispatcher</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Easy Publish and Consume Reference Manual">
<link rel="up" href="dns-sd-support.html" title="DNS-SD Support">
<link rel="prev" href="dns-sd-support.html" title="DNS-SD Support">
<link rel="next" href="EpcServiceInfo.html" title="EpcServiceInfo">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="dns-sd-support.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="dns-sd-support.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Easy Publish and Consume Reference Manual</th>
<td><a accesskey="n" href="EpcServiceInfo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libepc-1.0-dispatcher.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libepc-1.0-dispatcher.description" class="shortcut">Description</a>
                   | 
                  <a href="#libepc-1.0-dispatcher.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#libepc-1.0-dispatcher.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="libepc-1.0-dispatcher"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libepc-1.0-dispatcher.top_of_page"></a>EpcDispatcher</span></h2>
<p>EpcDispatcher — publish DNS-SD services</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="libepc-1.0-dispatcher.synopsis"></a><h2>Synopsis</h2>
<a name="EpcAddressFamily"></a><a name="EpcCollisionHandling"></a><a name="EpcDispatcher"></a><pre class="synopsis">
#include &lt;libepc/dispatcher.h&gt;

enum                <a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily-enum" title="enum EpcAddressFamily">EpcAddressFamily</a>;
enum                <a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling-enum" title="enum EpcCollisionHandling">EpcCollisionHandling</a>;
                    <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcherPrivate" title="EpcDispatcherPrivate">EpcDispatcherPrivate</a>;
struct              <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcherClass" title="struct EpcDispatcherClass">EpcDispatcherClass</a>;
struct              <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher-struct" title="struct EpcDispatcher">EpcDispatcher</a>;
<a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="returnvalue">EpcDispatcher</span></a> *     <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-new" title="epc_dispatcher_new ()">epc_dispatcher_new</a>                  (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-run" title="epc_dispatcher_run ()">epc_dispatcher_run</a>                  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-reset" title="epc_dispatcher_reset ()">epc_dispatcher_reset</a>                (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-add-service" title="epc_dispatcher_add_service ()">epc_dispatcher_add_service</a>          (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a> protocol</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint16</span> port</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-add-service-subtype" title="epc_dispatcher_add_service_subtype ()">epc_dispatcher_add_service_subtype</a>  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *subtype</code></em>);

<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-set-collision-handling" title="epc_dispatcher_set_collision_handling ()">epc_dispatcher_set_collision_handling</a>
                                                        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a> method</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-set-cookie" title="epc_dispatcher_set_cookie ()">epc_dispatcher_set_cookie</a>           (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *cookie</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-set-name" title="epc_dispatcher_set_name ()">epc_dispatcher_set_name</a>             (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-set-service-details" title="epc_dispatcher_set_service_details ()">epc_dispatcher_set_service_details</a>  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>...</code></em>);

<a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="returnvalue">EpcCollisionHandling</span></a> <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-get-collision-handling" title="epc_dispatcher_get_collision_handling ()">epc_dispatcher_get_collision_handling</a>
                                                        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-get-cookie" title="epc_dispatcher_get_cookie ()">epc_dispatcher_get_cookie</a>           (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-get-name" title="epc_dispatcher_get_name ()">epc_dispatcher_get_name</a>             (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);

<span class="returnvalue">GEnumClass</span> *        <a class="link" href="libepc-1.0-dispatcher.html#epc-address-family-get-class" title="epc_address_family_get_class ()">epc_address_family_get_class</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="libepc-1.0-dispatcher.html#epc-address-family-to-string" title="epc_address_family_to_string ()">epc_address_family_to_string</a>        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a> value</code></em>);
<span class="returnvalue">GEnumClass</span> *        <a class="link" href="libepc-1.0-dispatcher.html#epc-collision-handling-get-class" title="epc_collision_handling_get_class ()">epc_collision_handling_get_class</a>    (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="libepc-1.0-dispatcher.html#epc-collision-handling-to-string" title="epc_collision_handling_to_string ()">epc_collision_handling_to_string</a>    (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a> value</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GEnum
   +----EpcAddressFamily
</pre>
<pre class="synopsis">
  GEnum
   +----EpcCollisionHandling
</pre>
<pre class="synopsis">
  GObject
   +----EpcDispatcher
</pre>
</div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--collision-handling" title='The "collision-handling" property'>collision-handling</a>"       <a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a>  : Read / Write / Construct
  "<a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--cookie" title='The "cookie" property'>cookie</a>"                   <span class="type">gchar</span>*                : Read / Write / Construct
  "<a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--name" title='The "name" property'>name</a>"                     <span class="type">gchar</span>*                : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.description"></a><h2>Description</h2>
<p>
The <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> object provides an easy method for publishing
DNS-SD services. Unlike established APIs like Avahi or HOWL the
<a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> doesn't expose any state changes reported by the
DNS-SD daemon, but instead tries to handle them automatically. Such state
changes include, for instance, name collisions or a restart of
the DNS-SD daemon.
</p>
<p>
</p>
<div class="example">
<a name="publish-printing-service"></a><p class="title"><b>Example 7. Publish a printing service</b></p>
<div class="example-contents">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="normal">dispatcher </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="libepc-1.0-dispatcher.html#epc-dispatcher-new">epc_dispatcher_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Dead Tree Desecrator"</span><span class="symbol">);</span>

<span class="function"><a href="libepc-1.0-dispatcher.html#epc-dispatcher-add-service">epc_dispatcher_add_service</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dispatcher</span><span class="symbol">,</span><span class="normal"> <a href="libepc-1.0-dispatcher.html#EPC-ADDRESS-IPV4:CAPS">EPC_ADDRESS_IPV4</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"_ipp._tcp"</span><span class="symbol">,</span>
<span class="normal">                            <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">651</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"path=/printers"</span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
<span class="function"><a href="libepc-1.0-dispatcher.html#epc-dispatcher-add-service">epc_dispatcher_add_service</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dispatcher</span><span class="symbol">,</span><span class="normal"> <a href="libepc-1.0-dispatcher.html#EPC-ADDRESS-UNSPEC:CAPS">EPC_ADDRESS_UNSPEC</a></span><span class="symbol">,</span>
<span class="normal">                            </span><span class="string">"_duplex._sub._printer._tcp"</span><span class="symbol">,</span>
<span class="normal">                            <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">515</span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

</div>
<p><br class="example-break">
</p>
</div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="EpcAddressFamily-enum"></a><h3>enum EpcAddressFamily</h3>
<pre class="programlisting">typedef enum {
  EPC_ADDRESS_UNSPEC = AF_UNSPEC,
  EPC_ADDRESS_IPV4 = AF_INET,
  EPC_ADDRESS_IPV6 = AF_INET6
} EpcAddressFamily;
</pre>
<p>
The address family to use for contacting network services.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="EPC-ADDRESS-UNSPEC:CAPS"></a><span class="term"><code class="literal">EPC_ADDRESS_UNSPEC</code></span></p></td>
<td>No preferences exist. Use all address families supported.
</td>
</tr>
<tr>
<td><p><a name="EPC-ADDRESS-IPV4:CAPS"></a><span class="term"><code class="literal">EPC_ADDRESS_IPV4</code></span></p></td>
<td>Exclusively use IPv4 for addressing network services.
</td>
</tr>
<tr>
<td><p><a name="EPC-ADDRESS-IPV6:CAPS"></a><span class="term"><code class="literal">EPC_ADDRESS_IPV6</code></span></p></td>
<td>Exclusively use IPv6 for addressing network services.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="EpcCollisionHandling-enum"></a><h3>enum EpcCollisionHandling</h3>
<pre class="programlisting">typedef enum {
  EPC_COLLISIONS_IGNORE,
  EPC_COLLISIONS_CHANGE_NAME,
  EPC_COLLISIONS_UNIQUE_SERVICE
} EpcCollisionHandling;
</pre>
<p>
Various strategies for handling service name collisions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="EPC-COLLISIONS-IGNORE:CAPS"></a><span class="term"><code class="literal">EPC_COLLISIONS_IGNORE</code></span></p></td>
<td>Don't handle collisions at all, just fail silently.
</td>
</tr>
<tr>
<td><p><a name="EPC-COLLISIONS-CHANGE-NAME:CAPS"></a><span class="term"><code class="literal">EPC_COLLISIONS_CHANGE_NAME</code></span></p></td>
<td>Try to announce the service with another name.
</td>
</tr>
<tr>
<td><p><a name="EPC-COLLISIONS-UNIQUE-SERVICE:CAPS"></a><span class="term"><code class="literal">EPC_COLLISIONS_UNIQUE_SERVICE</code></span></p></td>
<td>Defer own service announcement until the other service.
disappears.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="EpcDispatcherPrivate"></a><h3>EpcDispatcherPrivate</h3>
<pre class="programlisting">typedef struct _EpcDispatcherPrivate EpcDispatcherPrivate;</pre>
<p>
Private fields of the <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> class.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="EpcDispatcherClass"></a><h3>struct EpcDispatcherClass</h3>
<pre class="programlisting">struct EpcDispatcherClass {
};
</pre>
<p>
Virtual methods of the <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> class.
</p>
</div>
<hr>
<div class="refsect2">
<a name="EpcDispatcher-struct"></a><h3>struct EpcDispatcher</h3>
<pre class="programlisting">struct EpcDispatcher;</pre>
<p>
Public fields of the <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> class.
</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-new"></a><h3>epc_dispatcher_new ()</h3>
<pre class="programlisting"><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="returnvalue">EpcDispatcher</span></a> *     epc_dispatcher_new                  (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
Creates a new <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> object for announcing a DNS-SD service.
The service is announced on all network interfaces.
</p>
<p>
Call <a class="link" href="libepc-1.0-dispatcher.html#epc-dispatcher-add-service" title="epc_dispatcher_add_service ()"><code class="function">epc_dispatcher_add_service()</code></a> to actually announce a service.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the human friendly name of the service</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly created <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-run"></a><h3>epc_dispatcher_run ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            epc_dispatcher_run                  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
Starts the <em class="citetitle">Avahi</em> client of the <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>. If the
client was not started, the function returns <code class="literal">FALSE</code> and sets <em class="parameter"><code>error</code></em>. The
error domain is <a class="link" href="libepc-1.0-EpcShell.html#EPC-AVAHI-ERROR:CAPS" title="EPC_AVAHI_ERROR"><span class="type">EPC_AVAHI_ERROR</span></a>. Possible error codes are those of the
<em class="citetitle">Avahi</em> library.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>return location for a <span class="type">GError</span>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> when the dispatcher was started successfully,
<code class="literal">FALSE</code> if an error occurred.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-reset"></a><h3>epc_dispatcher_reset ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_reset                (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);</pre>
<p>
Revokes all service announcements of this <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-add-service"></a><h3>epc_dispatcher_add_service ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_add_service          (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a> protocol</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint16</span> port</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Announces a TCP/IP service via DNS-SD.
</p>
<p>
The service <em class="parameter"><code>type</code></em> shall be a well-known DNS-SD service type as listed on
<a class="ulink" href="http://www.dns-sd.org/ServiceTypes.html" target="_top">http://www.dns-sd.org/ServiceTypes.html</a>. This function tries
to announce both the base service type and the sub service type when the
service name contains more than just one dot: Passing "_anon._sub._ftp._tcp"
for @type will announce the services "_ftp._tcp" and "_anon._sub._ftp._tcp".
</p>
<p>
The function can be called more than once. Is this necessary when the server
provides different access methods. For instance a web server could provide
HTTP and encrypted HTTPS services at the same time. Calling this function
multiple times also is useful for servers providing the same service at
different, but not all network interfaces of the host.
</p>
<p>
When passing %NULL for @domain, the service is announced within the local
network only, otherwise it is announced at the specified DNS domain. The
responsible server must be <a class="ulink" href="http://www.dns-sd.org/ServerSetup.html" target="_top">
configured to support DNS-SD</a>.
</p>
<p>
Pass <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>host</code></em> to use the official host name of the machine to announce
the service. On machines with multiple DNS entries you might want to explictly
choose a fully qualified DNS name to announce the service.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
<td>the <a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a> this service supports</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>the machine friendly name of the service</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>the DNS domain for the announcement, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
<td>the fully qualified host name of the service, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>port</code></em> :</span></p></td>
<td>the TCP/IP port of the service</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>an optional list of TXT records, terminated by <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-add-service-subtype"></a><h3>epc_dispatcher_add_service_subtype ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_add_service_subtype  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *subtype</code></em>);</pre>
<p>
Announces an additional sub service for a registered DNS-SD service.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
This function will fail silently, when the service specified by
<em class="parameter"><code>type</code></em> hasn't been registered yet.
</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>the base service type</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>subtype</code></em> :</span></p></td>
<td>the sub service type</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-set-collision-handling"></a><h3>epc_dispatcher_set_collision_handling ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_set_collision_handling
                                                        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a> method</code></em>);</pre>
<p>
Changes the collision handling strategy the dispatcher uses.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--collision-handling" title='The "collision-handling" property'><span class="type">"collision-handling"</span></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>the new strategy</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-set-cookie"></a><h3>epc_dispatcher_set_cookie ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_set_cookie           (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *cookie</code></em>);</pre>
<p>
Changes the unique identifier of the service.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--cookie" title='The "cookie" property'><span class="type">"cookie"</span></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cookie</code></em> :</span></p></td>
<td>the new service identifier, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-set-name"></a><h3>epc_dispatcher_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_set_name             (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
Changes the user friendly name used for announcing services.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--name" title='The "name" property'><span class="type">"name"</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the new user friendly name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-set-service-details"></a><h3>epc_dispatcher_set_service_details ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_dispatcher_set_service_details  (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Updates the list of TXT records for a registered DNS-SD service.
The TXT records are specified by the service type and usually
have the form of key-value pairs:
</p>
<p>
</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="normal">path</span><span class="symbol">=/</span><span class="normal">dwarf</span><span class="symbol">-</span><span class="normal">blog</span><span class="symbol">/</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p>
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
This function will fail silently, when the service specified by
<em class="parameter"><code>type</code></em> hasn't been registered yet.
</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>the service type</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>a list of TXT records, terminated by <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-get-collision-handling"></a><h3>epc_dispatcher_get_collision_handling ()</h3>
<pre class="programlisting"><a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="returnvalue">EpcCollisionHandling</span></a> epc_dispatcher_get_collision_handling
                                                        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);</pre>
<p>
Queries the collision handling strategy the dispatcher uses.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--collision-handling" title='The "collision-handling" property'><span class="type">"collision-handling"</span></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The dispatcher's collision handling strategy,
or <a class="link" href="libepc-1.0-dispatcher.html#EPC-COLLISIONS-IGNORE:CAPS"><span class="type">EPC_COLLISIONS_IGNORE</span></a> on error.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-get-cookie"></a><h3>epc_dispatcher_get_cookie ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_dispatcher_get_cookie           (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);</pre>
<p>
Queries the unique identifier of the service.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--cookie" title='The "cookie" property'><span class="type">"cookie"</span></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The unique identifier of the service, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> on error.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-dispatcher-get-name"></a><h3>epc_dispatcher_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_dispatcher_get_name             (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a> *dispatcher</code></em>);</pre>
<p>
Queries the user friendly name used for announcing services.
See <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher--name" title='The "name" property'><span class="type">"name"</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dispatcher</code></em> :</span></p></td>
<td>a <a class="link" href="libepc-1.0-dispatcher.html#EpcDispatcher"><span class="type">EpcDispatcher</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The user friendly name of the service.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-address-family-get-class"></a><h3>epc_address_family_get_class ()</h3>
<pre class="programlisting"><span class="returnvalue">GEnumClass</span> *        epc_address_family_get_class        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Retrieves the GEnumClass describing the EpcAddressFamily enum.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The GEnumClass describing EpcAddressFamily.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-address-family-to-string"></a><h3>epc_address_family_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_address_family_to_string        (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a> value</code></em>);</pre>
<p>
Retrieves the name of a EpcAddressFamily <em class="parameter"><code>value</code></em>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> when <em class="parameter"><code>value</code></em> is invalid.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>a EpcAddressFamily value</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string representation of <em class="parameter"><code>value</code></em>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-collision-handling-get-class"></a><h3>epc_collision_handling_get_class ()</h3>
<pre class="programlisting"><span class="returnvalue">GEnumClass</span> *        epc_collision_handling_get_class    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Retrieves the GEnumClass describing the EpcCollisionHandling enum.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The GEnumClass describing EpcCollisionHandling.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-collision-handling-to-string"></a><h3>epc_collision_handling_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_collision_handling_to_string    (<em class="parameter"><code><a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a> value</code></em>);</pre>
<p>
Retrieves the name of a EpcCollisionHandling <em class="parameter"><code>value</code></em>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> when <em class="parameter"><code>value</code></em> is invalid.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>a EpcCollisionHandling value</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The string representation of <em class="parameter"><code>value</code></em>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libepc-1.0-dispatcher.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="EpcDispatcher--collision-handling"></a><h3>The <code class="literal">"collision-handling"</code> property</h3>
<pre class="programlisting">  "collision-handling"       <a class="link" href="libepc-1.0-dispatcher.html#EpcCollisionHandling"><span class="type">EpcCollisionHandling</span></a>  : Read / Write / Construct</pre>
<p>The collision handling method to use.</p>
<p>Default value: EPC_COLLISIONS_CHANGE_NAME</p>
</div>
<hr>
<div class="refsect2">
<a name="EpcDispatcher--cookie"></a><h3>The <code class="literal">"cookie"</code> property</h3>
<pre class="programlisting">  "cookie"                   <span class="type">gchar</span>*                : Read / Write / Construct</pre>
<p>Unique identifier of the service.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="EpcDispatcher--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <span class="type">gchar</span>*                : Read / Write / Construct</pre>
<p>User friendly name of the service.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>