This file is indexed.

/usr/share/doc/libtelepathy-logger-doc/telepathy-logger/TplEntity.html is in libtelepathy-logger-doc 0.8.2-1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TplEntity: telepathy-logger Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="telepathy-logger Reference Manual">
<link rel="up" href="ch-public.html" title="libtelepathy-logger API">
<link rel="prev" href="TplCallEvent.html" title="TplCallEvent">
<meta name="generator" content="GTK-Doc V1.24 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#TplEntity.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#TplEntity.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#TplEntity.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch-public.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="TplCallEvent.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
</tr></table>
<div class="refentry">
<a name="TplEntity"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="TplEntity.top_of_page"></a>TplEntity</span></h2>
<p>TplEntity — Representation of a contact or room</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="TplEntity.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-new" title="tpl_entity_new ()">tpl_entity_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-new-from-tp-contact" title="tpl_entity_new_from_tp_contact ()">tpl_entity_new_from_tp_contact</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-new-from-room-id" title="tpl_entity_new_from_room_id ()">tpl_entity_new_from_room_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-get-alias" title="tpl_entity_get_alias ()">tpl_entity_get_alias</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-get-identifier" title="tpl_entity_get_identifier ()">tpl_entity_get_identifier</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="TplEntity.html#TplEntityType" title="enum TplEntityType"><span class="returnvalue">TplEntityType</span></a>
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-get-entity-type" title="tpl_entity_get_entity_type ()">tpl_entity_get_entity_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="TplEntity.html#tpl-entity-get-avatar-token" title="tpl_entity_get_avatar_token ()">tpl_entity_get_avatar_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="TplEntity.properties"></a><h2>Properties</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="TplEntity.html#TplEntity--alias" title="The “alias” property">alias</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="TplEntity.html#TplEntity--avatar-token" title="The “avatar-token” property">avatar-token</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="TplEntity.html#TplEntity--identifier" title="The “identifier” property">identifier</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="TplEntity.html#TplEntity--type" title="The “type” property">type</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="TplEntity.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="TplEntity.html#TplEntityType" title="enum TplEntityType">TplEntityType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="TplEntity.html#TplEntityPriv" title="TplEntityPriv">TplEntityPriv</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="TplEntity.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> TplEntity
</pre>
</div>
<div class="refsect1">
<a name="TplEntity.description"></a><h2>Description</h2>
<p>An object representing a contact or room.</p>
</div>
<div class="refsect1">
<a name="TplEntity.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="tpl-entity-new"></a><h3>tpl_entity_new ()</h3>
<pre class="programlisting"><a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
tpl_entity_new (<em class="parameter"><code>const <span class="type">gchar</span> *id</code></em>,
                <em class="parameter"><code><a class="link" href="TplEntity.html#TplEntityType" title="enum TplEntityType"><span class="type">TplEntityType</span></a> type</code></em>,
                <em class="parameter"><code>const <span class="type">gchar</span> *alias</code></em>,
                <em class="parameter"><code>const <span class="type">gchar</span> *avatar_token</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-new-from-tp-contact"></a><h3>tpl_entity_new_from_tp_contact ()</h3>
<pre class="programlisting"><a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
tpl_entity_new_from_tp_contact (<em class="parameter"><code><span class="type">TpContact</span> *contact</code></em>,
                                <em class="parameter"><code><a class="link" href="TplEntity.html#TplEntityType" title="enum TplEntityType"><span class="type">TplEntityType</span></a> type</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.3.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>contact</p></td>
<td class="parameter_description"><p>the TpContact instance to create the TplEntity from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> type</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.3.5"></a><h4>Returns</h4>
<p> a TplEntity instance with identifier, alias and
avatar's token copied. Type parameter is useful to differentiate between
normal contact and self contact, thus only <a class="link" href="TplEntity.html#TPL-ENTITY-CONTACT:CAPS"><code class="literal">TPL_ENTITY_CONTACT</code></a> and
<a class="link" href="TplEntity.html#TPL-ENTITY-SELF:CAPS"><code class="literal">TPL_ENTITY_SELF</code></a> are accepted. If contact is <code class="literal">NULL</code>, an entity of type
<a class="link" href="TplEntity.html#TPL-ENTITY-UNKNOWN:CAPS"><code class="literal">TPL_ENTITY_UNKNOWN</code></a> with id set to "unknown" is returned.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-new-from-room-id"></a><h3>tpl_entity_new_from_room_id ()</h3>
<pre class="programlisting"><a class="link" href="TplEntity.html" title="TplEntity"><span class="returnvalue">TplEntity</span></a> *
tpl_entity_new_from_room_id (<em class="parameter"><code>const <span class="type">gchar</span> *room_id</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.4.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>room_id</p></td>
<td class="parameter_description"><p>the room id which will be the identifier for the entity</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.4.5"></a><h4>Returns</h4>
<p> a TplEntity instance with identifier, alias copied from
<em class="parameter"><code>room_id</code></em>
. It also sets <a class="link" href="TplEntity.html#TPL-ENTITY-ROOM:CAPS"><code class="literal">TPL_ENTITY_ROOM</code></a> as type for
the <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> returned.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-get-alias"></a><h3>tpl_entity_get_alias ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
tpl_entity_get_alias (<em class="parameter"><code><a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> *self</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.5.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.5.5"></a><h4>Returns</h4>
<p> the alias of the entity, or <code class="literal">NULL</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-get-identifier"></a><h3>tpl_entity_get_identifier ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
tpl_entity_get_identifier (<em class="parameter"><code><a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> *self</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.6.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.6.5"></a><h4>Returns</h4>
<p> the identifier of the entity</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-get-entity-type"></a><h3>tpl_entity_get_entity_type ()</h3>
<pre class="programlisting"><a class="link" href="TplEntity.html#TplEntityType" title="enum TplEntityType"><span class="returnvalue">TplEntityType</span></a>
tpl_entity_get_entity_type (<em class="parameter"><code><a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> *self</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.7.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.7.5"></a><h4>Returns</h4>
<p> the type of the entity</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tpl-entity-get-avatar-token"></a><h3>tpl_entity_get_avatar_token ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
tpl_entity_get_avatar_token (<em class="parameter"><code><a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a> *self</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.8.8.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="TplEntity.html" title="TplEntity"><span class="type">TplEntity</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.8.8.8.5"></a><h4>Returns</h4>
<p> a token representing the avatar of the token, or <code class="literal">NULL</code></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="TplEntity.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="TplEntityType"></a><h3>enum TplEntityType</h3>
<div class="refsect3">
<a name="id-1.2.8.9.2.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="TPL-ENTITY-UNKNOWN:CAPS"></a>TPL_ENTITY_UNKNOWN</p></td>
<td class="enum_member_description">
<p>the current contact's type is unknown</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="TPL-ENTITY-CONTACT:CAPS"></a>TPL_ENTITY_CONTACT</p></td>
<td class="enum_member_description">
<p>the contact's type represents a user (buddy), but not
   the account's owner for which <em class="parameter"><code>TPL_ENTITY_SELF</code></em>
 is used</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="TPL-ENTITY-ROOM:CAPS"></a>TPL_ENTITY_ROOM</p></td>
<td class="enum_member_description">
<p>a named room (<span class="type">TP_HANDLE_TYPE_ROOM</span>)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="TPL-ENTITY-SELF:CAPS"></a>TPL_ENTITY_SELF</p></td>
<td class="enum_member_description">
<p>the contact's type represents the owner of the account
   whose channel has been logged, as opposed to <em class="parameter"><code>TPL_ENTITY_CONTACT</code></em>
 which
   represents any other user</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="TplEntityPriv"></a><h3>TplEntityPriv</h3>
<pre class="programlisting">typedef struct _TplEntityPriv TplEntityPriv;</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="TplEntity.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="TplEntity--alias"></a><h3>The <code class="literal">“alias”</code> property</h3>
<pre class="programlisting">  “alias”                    <span class="type">gchar</span> *</pre>
<p>The entity's alias.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="TplEntity--avatar-token"></a><h3>The <code class="literal">“avatar-token”</code> property</h3>
<pre class="programlisting">  “avatar-token”             <span class="type">gchar</span> *</pre>
<p>The entity's avatar's token.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="TplEntity--identifier"></a><h3>The <code class="literal">“identifier”</code> property</h3>
<pre class="programlisting">  “identifier”               <span class="type">gchar</span> *</pre>
<p>The entity's identifier.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="TplEntity--type"></a><h3>The <code class="literal">“type”</code> property</h3>
<pre class="programlisting">  “type”                     <span class="type">gint</span></pre>
<p>The entity's type.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: [0,3]</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>