This file is indexed.

/usr/share/gtk-doc/html/PackageKit/PackageKit-PkPackage.html is in packagekit-docs 1.1.9-1ubuntu2.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PkPackage: PackageKit Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="PackageKit Reference Manual">
<link rel="up" href="lpackagekit-glib2.html" title="packagekit-glib2">
<link rel="prev" href="PackageKit-PkPackageSack.html" title="PkPackageSack">
<link rel="next" href="PackageKit-PkProgress.html" title="PkProgress">
<meta name="generator" content="GTK-Doc V1.27 (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="#PackageKit-PkPackage.description" class="shortcut">Description</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="lpackagekit-glib2.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="PackageKit-PkPackageSack.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="PackageKit-PkProgress.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="PackageKit-PkPackage"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="PackageKit-PkPackage.top_of_page"></a>PkPackage</span></h2>
<p>PkPackage — Package object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="PackageKit-PkPackage.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">PkPackage</span> *
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-new" title="pk_package_new ()">pk_package_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-set-id" title="pk_package_set_id ()">pk_package_set_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-parse" title="pk_package_parse ()">pk_package_parse</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-print" title="pk_package_print ()">pk_package_print</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-equal" title="pk_package_equal ()">pk_package_equal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-equal-id" title="pk_package_equal_id ()">pk_package_equal_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="PackageKit-PkPackage.html#pk-package-get-id" title="pk_package_get_id ()">pk_package_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PackageKit-Enumerations.html#PkInfoEnum" title="enum PkInfoEnum"><span class="returnvalue">PkInfoEnum</span></a>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-get-info" title="pk_package_get_info ()">pk_package_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-set-info" title="pk_package_set_info ()">pk_package_set_info</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="PackageKit-PkPackage.html#pk-package-get-summary" title="pk_package_get_summary ()">pk_package_get_summary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PackageKit-PkPackage.html#pk-package-set-summary" title="pk_package_set_summary ()">pk_package_set_summary</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="PackageKit-PkPackage.html#pk-package-get-name" title="pk_package_get_name ()">pk_package_get_name</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="PackageKit-PkPackage.html#pk-package-get-version" title="pk_package_get_version ()">pk_package_get_version</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="PackageKit-PkPackage.html#pk-package-get-arch" title="pk_package_get_arch ()">pk_package_get_arch</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="PackageKit-PkPackage.html#pk-package-get-data" title="pk_package_get_data ()">pk_package_get_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="PackageKit-PkPackage.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="PackageKit-PkPackage.html#PK-PACKAGE-TYPE-ERROR:CAPS" title="PK_PACKAGE_TYPE_ERROR">PK_PACKAGE_TYPE_ERROR</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="PackageKit-PkPackage.description"></a><h2>Description</h2>
<p>This GObject represents a package from a transaction.
These objects represent single items of data from the transaction, and are
often present in lists (<span class="type">PkResults</span>) or just refcounted in client programs.</p>
</div>
<div class="refsect1">
<a name="PackageKit-PkPackage.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="pk-package-new"></a><h3>pk_package_new ()</h3>
<pre class="programlisting"><span class="returnvalue">PkPackage</span> *
pk_package_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="pk-package-new.returns"></a><h4>Returns</h4>
<p> a new <span class="type">PkPackage</span> object.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-set-id"></a><h3>pk_package_set_id ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
pk_package_set_id (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>,
                   <em class="parameter"><code>const <span class="type">gchar</span> *package_id</code></em>,
                   <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Sets the package object to have the given ID</p>
<div class="refsect3">
<a name="pk-package-set-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>package_id</p></td>
<td class="parameter_description"><p>the valid package_id</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span> to put the error code and message in, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-set-id.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the package_id was set</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-parse"></a><h3>pk_package_parse ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
pk_package_parse (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>,
                  <em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
                  <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Parses the data to populate the <span class="type">PkPackage</span>.</p>
<div class="refsect3">
<a name="pk-package-parse.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>the data describing the package</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span> to put the error code and message in, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-parse.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the data was parsed correcty</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-8-11.html#api-index-0.8.11">0.8.11</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-print"></a><h3>pk_package_print ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
pk_package_print (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Prints details about the package to standard out.</p>
<div class="refsect3">
<a name="pk-package-print.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-equal"></a><h3>pk_package_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
pk_package_equal (<em class="parameter"><code><span class="type">PkPackage</span> *package1</code></em>,
                  <em class="parameter"><code><span class="type">PkPackage</span> *package2</code></em>);</pre>
<p>Do the <span class="type">PkPackage</span>'s have the same ID.</p>
<div class="refsect3">
<a name="pk-package-equal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package1</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>package2</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-equal.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the packages have the same package_id, info and summary.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-equal-id"></a><h3>pk_package_equal_id ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
pk_package_equal_id (<em class="parameter"><code><span class="type">PkPackage</span> *package1</code></em>,
                     <em class="parameter"><code><span class="type">PkPackage</span> *package2</code></em>);</pre>
<p>Do the <span class="type">PkPackage</span>'s have the same ID.</p>
<div class="refsect3">
<a name="pk-package-equal-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package1</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>package2</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-equal-id.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the packages have the same package_id.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-id"></a><h3>pk_package_get_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_id (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package object ID</p>
<div class="refsect3">
<a name="pk-package-get-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-id.returns"></a><h4>Returns</h4>
<p> the ID, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-info"></a><h3>pk_package_get_info ()</h3>
<pre class="programlisting"><a class="link" href="PackageKit-Enumerations.html#PkInfoEnum" title="enum PkInfoEnum"><span class="returnvalue">PkInfoEnum</span></a>
pk_package_get_info (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package object ID</p>
<div class="refsect3">
<a name="pk-package-get-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-info.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="PackageKit-Enumerations.html#PkInfoEnum" title="enum PkInfoEnum"><span class="type">PkInfoEnum</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-set-info"></a><h3>pk_package_set_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
pk_package_set_info (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>,
                     <em class="parameter"><code><a class="link" href="PackageKit-Enumerations.html#PkInfoEnum" title="enum PkInfoEnum"><span class="type">PkInfoEnum</span></a> info</code></em>);</pre>
<p>Sets the package info enum.</p>
<div class="refsect3">
<a name="pk-package-set-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>the <a class="link" href="PackageKit-Enumerations.html#PkInfoEnum" title="enum PkInfoEnum"><span class="type">PkInfoEnum</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-8-14.html#api-index-0.8.14">0.8.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-summary"></a><h3>pk_package_get_summary ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_summary (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package object ID</p>
<div class="refsect3">
<a name="pk-package-get-summary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-summary.returns"></a><h4>Returns</h4>
<p> the summary, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-5-4.html#api-index-0.5.4">0.5.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-set-summary"></a><h3>pk_package_set_summary ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
pk_package_set_summary (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>,
                        <em class="parameter"><code>const <span class="type">gchar</span> *summary</code></em>);</pre>
<p>Sets the package summary.</p>
<div class="refsect3">
<a name="pk-package-set-summary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>summary</p></td>
<td class="parameter_description"><p>the package summary</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-8-14.html#api-index-0.8.14">0.8.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-name"></a><h3>pk_package_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_name (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package name.</p>
<div class="refsect3">
<a name="pk-package-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-name.returns"></a><h4>Returns</h4>
<p> the name, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-6-4.html#api-index-0.6.4">0.6.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-version"></a><h3>pk_package_get_version ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_version (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package version.</p>
<div class="refsect3">
<a name="pk-package-get-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-version.returns"></a><h4>Returns</h4>
<p> the version, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-6-4.html#api-index-0.6.4">0.6.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-arch"></a><h3>pk_package_get_arch ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_arch (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package arch.</p>
<div class="refsect3">
<a name="pk-package-get-arch.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-arch.returns"></a><h4>Returns</h4>
<p> the arch, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-6-4.html#api-index-0.6.4">0.6.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="pk-package-get-data"></a><h3>pk_package_get_data ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
pk_package_get_data (<em class="parameter"><code><span class="type">PkPackage</span> *package</code></em>);</pre>
<p>Gets the package data, which is usually the repository ID that contains the
package. Special ID's include "installed" for installed packages, and "local"
for local packages that exist on disk but not in a repository.</p>
<div class="refsect3">
<a name="pk-package-get-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" 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>package</p></td>
<td class="parameter_description"><p>a valid <span class="type">PkPackage</span> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="pk-package-get-data.returns"></a><h4>Returns</h4>
<p> the data, or <code class="literal">NULL</code> if unset</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-6-4.html#api-index-0.6.4">0.6.4</a></p>
</div>
</div>
<div class="refsect1">
<a name="PackageKit-PkPackage.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="PK-PACKAGE-TYPE-ERROR:CAPS"></a><h3>PK_PACKAGE_TYPE_ERROR</h3>
<pre class="programlisting">#define PK_PACKAGE_TYPE_ERROR (pk_package_error_get_type ())
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>