This file is indexed.

/usr/share/gir-1.0/GCab-1.0.gir is in libgcab-dev 0.7-2+deb9u1.

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
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <package name="libgcab-1.0"/>
  <c:include name="libgcab.h"/>
  <namespace name="GCab"
             version="1.0"
             shared-library="libgcab-1.0.so.0"
             c:identifier-prefixes="GCab"
             c:symbol-prefixes="gcab">
    <class name="Cabinet"
           c:symbol-prefix="cabinet"
           c:type="GCabCabinet"
           parent="GObject.Object"
           glib:type-name="GCabCabinet"
           glib:get-type="gcab_cabinet_get_type"
           glib:type-struct="CabinetClass">
      <doc xml:space="preserve">An opaque object holding a Cabinet file reference.</doc>
      <constructor name="new" c:identifier="gcab_cabinet_new">
        <doc xml:space="preserve">Create a new #GCabCabinet object to read or create a Cabinet
archive.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GCabCabinet</doc>
          <type name="Cabinet" c:type="GCabCabinet*"/>
        </return-value>
      </constructor>
      <method name="add_folder"
              c:identifier="gcab_cabinet_add_folder"
              throws="1">
        <doc xml:space="preserve">Add @folder to @cabinet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="folder" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFolder</doc>
            <type name="Folder" c:type="GCabFolder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="extract" c:identifier="gcab_cabinet_extract" throws="1">
        <doc xml:space="preserve">Extract files to given path.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">the path to extract files</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="file_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">an optionnal #GCabFile callback,
    return %FALSE to filter out or skip files.</doc>
            <type name="FileCallback" c:type="GCabFileCallback"/>
          </parameter>
          <parameter name="progress_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">a progress callback</doc>
            <type name="Gio.FileProgressCallback"
                  c:type="GFileProgressCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">callback data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="extract_simple"
              c:identifier="gcab_cabinet_extract_simple"
              throws="1">
        <doc xml:space="preserve">Extract files to given path.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">the path to extract files</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="file_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">an optionnal #GCabFile callback,
    return %FALSE to filter out or skip files.</doc>
            <type name="FileCallback" c:type="GCabFileCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">callback data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_folders" c:identifier="gcab_cabinet_get_folders">
        <doc xml:space="preserve">Get the Cabinet folders within the @cabinet.
Note that Cabinet folders are not like filesystem path, they are
group of files sharing some layout parameters.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an array of #GCabFolder</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Folder"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_signature"
              c:identifier="gcab_cabinet_get_signature"
              version="0.5"
              throws="1">
        <doc xml:space="preserve">Lookup the cabinet authenticode signature if any.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the array containing the PKCS#7 signed data or %NULL if
none found or error.</doc>
          <array name="GLib.ByteArray" c:type="const GByteArray*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load" c:identifier="gcab_cabinet_load" throws="1">
        <doc xml:space="preserve">Load a cabinet archive.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GInputStream</doc>
            <type name="Gio.InputStream" c:type="GInputStream*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="write" c:identifier="gcab_cabinet_write" throws="1">
        <doc xml:space="preserve">Save @cabinet to the output stream @out. @out must be a #GSeekable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GOutputStream also #GSeekable</doc>
            <type name="Gio.OutputStream" c:type="GOutputStream*"/>
          </parameter>
          <parameter name="file_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">report current file being saved</doc>
            <type name="FileCallback" c:type="GCabFileCallback"/>
          </parameter>
          <parameter name="progress_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">report saving progress</doc>
            <type name="Gio.FileProgressCallback"
                  c:type="GFileProgressCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data to pass to callbacks</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="write_simple"
              c:identifier="gcab_cabinet_write_simple"
              throws="1">
        <doc xml:space="preserve">Save @cabinet to the output stream @out. @out must be a #GSeekable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabinet" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabCabinet</doc>
            <type name="Cabinet" c:type="GCabCabinet*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve">a #GOutputStream also #GSeekable</doc>
            <type name="Gio.OutputStream" c:type="GOutputStream*"/>
          </parameter>
          <parameter name="file_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">report current file being saved</doc>
            <type name="FileCallback" c:type="GCabFileCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data to pass to callbacks</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <property name="reserved" writable="1" transfer-ownership="none">
        <array name="GLib.ByteArray">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </property>
      <property name="signature" writable="1" transfer-ownership="none">
        <array name="GLib.ByteArray">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </property>
    </class>
    <record name="CabinetClass"
            c:type="GCabCabinetClass"
            disguised="1"
            glib:is-gtype-struct-for="Cabinet">
    </record>
    <enumeration name="Compression"
                 glib:type-name="GCabCompression"
                 glib:get-type="gcab_compression_get_type"
                 c:type="GCabCompression">
      <doc xml:space="preserve">Compression used by the #GCabFolder.</doc>
      <member name="none"
              value="0"
              c:identifier="GCAB_COMPRESSION_NONE"
              glib:nick="none">
        <doc xml:space="preserve">No compression.</doc>
      </member>
      <member name="mszip"
              value="1"
              c:identifier="GCAB_COMPRESSION_MSZIP"
              glib:nick="mszip">
        <doc xml:space="preserve">MSZIP compression.</doc>
      </member>
      <member name="quantum"
              value="2"
              c:identifier="GCAB_COMPRESSION_QUANTUM"
              glib:nick="quantum">
        <doc xml:space="preserve">QUANTUM compression.</doc>
      </member>
      <member name="lzx"
              value="3"
              c:identifier="GCAB_COMPRESSION_LZX"
              glib:nick="lzx">
        <doc xml:space="preserve">LZX compression.</doc>
      </member>
      <member name="mask"
              value="15"
              c:identifier="GCAB_COMPRESSION_MASK"
              glib:nick="mask">
        <doc xml:space="preserve">compression value mask.</doc>
      </member>
    </enumeration>
    <enumeration name="Error"
                 c:type="GCabError"
                 glib:error-domain="gcab-error-quark">
      <doc xml:space="preserve">The various errors triggered by the GCab functions.</doc>
      <member name="format" value="0" c:identifier="GCAB_ERROR_FORMAT">
        <doc xml:space="preserve">The given file is not of Cabinet format.</doc>
      </member>
      <member name="failed" value="1" c:identifier="GCAB_ERROR_FAILED">
        <doc xml:space="preserve">General function failure.</doc>
      </member>
    </enumeration>
    <class name="File"
           c:symbol-prefix="file"
           c:type="GCabFile"
           parent="GObject.Object"
           glib:type-name="GCabFile"
           glib:get-type="gcab_file_get_type"
           glib:type-struct="FileClass">
      <doc xml:space="preserve">An opaque object, referencing a file in a Cabinet.</doc>
      <constructor name="new_with_file" c:identifier="gcab_file_new_with_file">
        <doc xml:space="preserve">Create a #GCabFile from a given #GFile, to be added to a
#GCabCabinet for archive creation.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GCabFile</doc>
          <type name="File" c:type="GCabFile*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the file within the cabinet</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GFile to be added to the cabinet</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_attributes"
              c:identifier="gcab_file_get_attributes"
              version="0.6">
        <doc xml:space="preserve">Get the file attributes.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the cabinet file attributes</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_date" c:identifier="gcab_file_get_date" version="0.6">
        <doc xml:space="preserve">Get the file date.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve">a #GTimeVal to return date</doc>
            <type name="GLib.TimeVal" c:type="GTimeVal*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_extract_name"
              c:identifier="gcab_file_get_extract_name">
        <doc xml:space="preserve">Get the file name to use for extraction, or %NULL.</doc>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve">a file name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_file" c:identifier="gcab_file_get_file">
        <doc xml:space="preserve">If the cabinet is being created, get the #GFile associated with
@file. This must be an exisiting file that can be read, in order to
be added to the archive during cabinet creation.

If @file is from an existing cabinet, the fuction will return
%NULL.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the associated #GFile or %NULL</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gcab_file_get_name">
        <doc xml:space="preserve">Get the file name within the cabinet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the cabinet file name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size" c:identifier="gcab_file_get_size" version="0.6">
        <doc xml:space="preserve">Get the file size.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the cabinet file size</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_extract_name"
              c:identifier="gcab_file_set_extract_name">
        <doc xml:space="preserve">Sets the file name to use for extraction, instead of the name
provided by the Cabinet.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFile</doc>
            <type name="File" c:type="GCabFile*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a file name or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="file"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Gio.File"/>
      </property>
      <property name="name"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
    </class>
    <enumeration name="FileAttribute"
                 glib:type-name="GCabFileAttribute"
                 glib:get-type="gcab_file_attribute_get_type"
                 c:type="GCabFileAttribute">
      <doc xml:space="preserve">Attributes associated with the #GCabFile.</doc>
      <member name="rdonly"
              value="1"
              c:identifier="GCAB_FILE_ATTRIBUTE_RDONLY"
              glib:nick="rdonly">
        <doc xml:space="preserve">file is read-only</doc>
      </member>
      <member name="hidden"
              value="2"
              c:identifier="GCAB_FILE_ATTRIBUTE_HIDDEN"
              glib:nick="hidden">
        <doc xml:space="preserve">file is hidden</doc>
      </member>
      <member name="system"
              value="4"
              c:identifier="GCAB_FILE_ATTRIBUTE_SYSTEM"
              glib:nick="system">
        <doc xml:space="preserve">file is a system file</doc>
      </member>
      <member name="arch"
              value="32"
              c:identifier="GCAB_FILE_ATTRIBUTE_ARCH"
              glib:nick="arch">
        <doc xml:space="preserve">file modified since last backup</doc>
      </member>
      <member name="exec"
              value="64"
              c:identifier="GCAB_FILE_ATTRIBUTE_EXEC"
              glib:nick="exec">
        <doc xml:space="preserve">run after extraction</doc>
      </member>
      <member name="name_is_utf"
              value="128"
              c:identifier="GCAB_FILE_ATTRIBUTE_NAME_IS_UTF"
              glib:nick="name-is-utf">
        <doc xml:space="preserve">name contains UTF</doc>
      </member>
    </enumeration>
    <callback name="FileCallback" c:type="GCabFileCallback">
      <doc xml:space="preserve">The type used for callback called when processing Cabinet archive
files.</doc>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve">the file being processed</doc>
          <type name="File" c:type="GCabFile*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve">user data passed to the callback.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="FileClass"
            c:type="GCabFileClass"
            disguised="1"
            glib:is-gtype-struct-for="File">
    </record>
    <class name="Folder"
           c:symbol-prefix="folder"
           c:type="GCabFolder"
           parent="GObject.Object"
           glib:type-name="GCabFolder"
           glib:get-type="gcab_folder_get_type"
           glib:type-struct="FolderClass">
      <doc xml:space="preserve">An opaque object, referencing a folder in a Cabinet.</doc>
      <constructor name="new" c:identifier="gcab_folder_new">
        <doc xml:space="preserve">Creates a new empty Cabinet folder. Use gcab_folder_add_file() to
add files to an archive.

A Cabinet folder is not a file path, it is a container for files.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GCabFolder</doc>
          <type name="Folder" c:type="GCabFolder*"/>
        </return-value>
        <parameters>
          <parameter name="comptype" transfer-ownership="none">
            <doc xml:space="preserve">compression to used in this folder</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_file" c:identifier="gcab_folder_add_file" throws="1">
        <doc xml:space="preserve">Add @file to the #GCabFolder.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on succes</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabfolder" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFolder</doc>
            <type name="Folder" c:type="GCabFolder*"/>
          </instance-parameter>
          <parameter name="cabfile" transfer-ownership="none">
            <doc xml:space="preserve">file to be added</doc>
            <type name="File" c:type="GCabFile*"/>
          </parameter>
          <parameter name="recurse" transfer-ownership="none">
            <doc xml:space="preserve">whether to recurse through subdirectories</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object,
    %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_files" c:identifier="gcab_folder_get_files">
        <doc xml:space="preserve">Get the list of #GCabFile files contained in the @cabfolder.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">list of files</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="File"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cabfolder" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFolder</doc>
            <type name="Folder" c:type="GCabFolder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_nfiles" c:identifier="gcab_folder_get_nfiles">
        <doc xml:space="preserve">Get the number of files in this @folder.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #guint</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="cabfolder" transfer-ownership="none">
            <doc xml:space="preserve">a #GCabFolder</doc>
            <type name="Folder" c:type="GCabFolder*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="compression" transfer-ownership="none">
        <type name="Compression"/>
      </property>
      <property name="comptype"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="reserved" writable="1" transfer-ownership="none">
        <array name="GLib.ByteArray">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </property>
    </class>
    <record name="FolderClass"
            c:type="GCabFolderClass"
            disguised="1"
            glib:is-gtype-struct-for="Folder">
    </record>
    <function name="error_quark" c:identifier="gcab_error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
  </namespace>
</repository>