This file is indexed.

/usr/share/gtk-doc/html/libepc-1.0/EpcServiceInfo.html is in libepc-doc 0.4.4-3.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EpcServiceInfo</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="libepc-1.0-dispatcher.html" title="EpcDispatcher">
<link rel="next" href="libepc-1.0-service-monitor.html" title="EpcServiceMonitor">
<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="libepc-1.0-dispatcher.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="libepc-1.0-service-monitor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#EpcServiceInfo.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#EpcServiceInfo.description" class="shortcut">Description</a>
                   | 
                  <a href="#EpcServiceInfo.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="EpcServiceInfo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="EpcServiceInfo.top_of_page"></a>EpcServiceInfo</span></h2>
<p>EpcServiceInfo — DNS-SD service descriptions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="EpcServiceInfo.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="EpcServiceInfo.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libepc/service-info.h&gt;

                    <a class="link" href="EpcServiceInfo.html#EpcServiceInfo-struct" title="EpcServiceInfo">EpcServiceInfo</a>;
<a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    <a class="link" href="EpcServiceInfo.html#epc-service-info-new" title="epc_service_info_new ()">epc_service_info_new</a>                (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> port</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiStringList</span> *details</code></em>);
<a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    <a class="link" href="EpcServiceInfo.html#epc-service-info-new-full" title="epc_service_info_new_full ()">epc_service_info_new_full</a>           (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> port</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiStringList</span> *details</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiAddress</span> *address</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *ifname</code></em>);
<a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    <a class="link" href="EpcServiceInfo.html#epc-service-info-ref" title="epc_service_info_ref ()">epc_service_info_ref</a>                (<em class="parameter"><code><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EpcServiceInfo.html#epc-service-info-unref" title="epc_service_info_unref ()">epc_service_info_unref</a>              (<em class="parameter"><code><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);

const <span class="returnvalue">AvahiAddress</span> * <a class="link" href="EpcServiceInfo.html#epc-service-info-get-address" title="epc_service_info_get_address ()">epc_service_info_get_address</a>       (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
<a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="returnvalue">EpcAddressFamily</span></a>    <a class="link" href="EpcServiceInfo.html#epc-service-info-get-address-family" title="epc_service_info_get_address_family ()">epc_service_info_get_address_family</a> (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EpcServiceInfo.html#epc-service-info-get-detail" title="epc_service_info_get_detail ()">epc_service_info_get_detail</a>         (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EpcServiceInfo.html#epc-service-info-get-host" title="epc_service_info_get_host ()">epc_service_info_get_host</a>           (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EpcServiceInfo.html#epc-service-info-get-interface" title="epc_service_info_get_interface ()">epc_service_info_get_interface</a>      (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
<span class="returnvalue">guint</span>               <a class="link" href="EpcServiceInfo.html#epc-service-info-get-port" title="epc_service_info_get_port ()">epc_service_info_get_port</a>           (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EpcServiceInfo.html#epc-service-info-get-service-type" title="epc_service_info_get_service_type ()">epc_service_info_get_service_type</a>   (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="EpcServiceInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GBoxed
   +----EpcServiceInfo
</pre>
</div>
<div class="refsect1">
<a name="EpcServiceInfo.description"></a><h2>Description</h2>
<p>
The <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> object describes DNS-SD services.
</p>
</div>
<div class="refsect1">
<a name="EpcServiceInfo.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="EpcServiceInfo-struct"></a><h3>EpcServiceInfo</h3>
<pre class="programlisting">typedef struct _EpcServiceInfo EpcServiceInfo;</pre>
<p>
Description of a network service.
See also: <a class="link" href="libepc-1.0-service-monitor.html#epc-service-monitor-new" title="epc_service_monitor_new ()"><code class="function">epc_service_monitor_new()</code></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-new"></a><h3>epc_service_info_new ()</h3>
<pre class="programlisting"><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    epc_service_info_new                (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> port</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiStringList</span> *details</code></em>);</pre>
<p>
Creates a new service description using the information provided. The
<em class="parameter"><code>details</code></em> list usually is retrieved from the TXT record the dynamic naming
system (DNS) provides for the service. When using Avahi's service chooser
<code class="function">aui_service_dialog_get_txt_data()</code> can be used for getting a <em class="parameter"><code>details</code></em> list.
To create an ad-hoc list use <code class="function">avahi_string_list_new()</code> and related functions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>the DNS-SD service type</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
<td>the DNS hostname</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>port</code></em> :</span></p></td>
<td>the TCP/IP port</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>details</code></em> :</span></p></td>
<td>list of key-value pairs, 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>The newly created service description, 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>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-new-full"></a><h3>epc_service_info_new_full ()</h3>
<pre class="programlisting"><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    epc_service_info_new_full           (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> port</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiStringList</span> *details</code></em>,
                                                         <em class="parameter"><code>const <span class="type">AvahiAddress</span> *address</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *ifname</code></em>);</pre>
<p>
Creates a new service description using the information provided. The
<em class="parameter"><code>details</code></em> list usually is retrieved from the TXT record the dynamic naming
system (DNS) provides for the service. When using Avahi's service chooser
<code class="function">aui_service_dialog_get_txt_data()</code> can be used for getting a <em class="parameter"><code>details</code></em> list.
To create an ad-hoc list use <code class="function">avahi_string_list_new()</code> and related functions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>the DNS-SD service type</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
<td>the DNS hostname</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>port</code></em> :</span></p></td>
<td>the TCP/IP port</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>details</code></em> :</span></p></td>
<td>list of key-value pairs, 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>address</code></em> :</span></p></td>
<td>IP address 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>ifname</code></em> :</span></p></td>
<td>network interface for contacting 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"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created service description, 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>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-ref"></a><h3>epc_service_info_ref ()</h3>
<pre class="programlisting"><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="returnvalue">EpcServiceInfo</span></a> *    epc_service_info_ref                (<em class="parameter"><code><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Increases the reference count of <em class="parameter"><code>info</code></em> by one.
See also: <a class="link" href="EpcServiceInfo.html#epc-service-info-unref" title="epc_service_info_unref ()"><code class="function">epc_service_info_unref()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The same <em class="parameter"><code>info</code></em> object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-unref"></a><h3>epc_service_info_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                epc_service_info_unref              (<em class="parameter"><code><a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Decreases the reference count of <em class="parameter"><code>info</code></em> by one. When its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
</p>
<p>
See also: <a class="link" href="EpcServiceInfo.html#epc-service-info-ref" title="epc_service_info_ref ()"><code class="function">epc_service_info_ref()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-get-address"></a><h3>epc_service_info_get_address ()</h3>
<pre class="programlisting">const <span class="returnvalue">AvahiAddress</span> * epc_service_info_get_address       (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the IP address for contacting the service,
or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> when that information is not available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A IP address, 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-service-info-get-address-family"></a><h3>epc_service_info_get_address_family ()</h3>
<pre class="programlisting"><a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="returnvalue">EpcAddressFamily</span></a>    epc_service_info_get_address_family (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the address family for contacting the service,
or <a class="link" href="libepc-1.0-dispatcher.html#EPC-ADDRESS-UNSPEC:CAPS"><span class="type">EPC_ADDRESS_UNSPEC</span></a> when that information is not available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libepc-1.0-dispatcher.html#EpcAddressFamily"><span class="type">EpcAddressFamily</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-get-detail"></a><h3>epc_service_info_get_detail ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_service_info_get_detail         (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
Retrieves a detail stored in the service's TXT record.
Returns <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> when the requested information is not available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the detail's name</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The requested service detail, 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-service-info-get-host"></a><h3>epc_service_info_get_host ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_service_info_get_host           (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the DNS host name associated with <em class="parameter"><code>info</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A DNS host name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-get-interface"></a><h3>epc_service_info_get_interface ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_service_info_get_interface      (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the name of the network interface which must be used for
contacting the service, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> when that information is not available.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A network interface name, 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-service-info-get-port"></a><h3>epc_service_info_get_port ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span>               epc_service_info_get_port           (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the TCP/IP port associated with <em class="parameter"><code>info</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A TCP/IP port.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="epc-service-info-get-service-type"></a><h3>epc_service_info_get_service_type ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       epc_service_info_get_service_type   (<em class="parameter"><code>const <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a> *info</code></em>);</pre>
<p>
Retrieves the DNS-SD service type associated with <em class="parameter"><code>info</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="EpcServiceInfo.html" title="EpcServiceInfo"><span class="type">EpcServiceInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A DNS-SD service type.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>