This file is indexed.

/usr/include/gnome-autoar-0/gnome-autoar/autoar-extractor.h is in libgnome-autoar-0-dev 0.2.3-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
/* vim: set sw=2 ts=2 sts=2 et: */
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
 * autoar-extractor.h
 * Automatically extract archives in some GNOME programs
 *
 * Copyright (C) 2013  Ting-Wei Lan
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 *
 */

#ifndef AUTOAR_EXTRACTOR_H
#define AUTOAR_EXTRACTOR_H

#include <glib-object.h>
#include <gio/gio.h>

G_BEGIN_DECLS

#define AUTOAR_TYPE_EXTRACTOR autoar_extractor_get_type ()

G_DECLARE_FINAL_TYPE (AutoarExtractor, autoar_extractor, AUTOAR, EXTRACTOR, GObject)

/**
 * AUTOAR_EXTRACT_ERROR:
 *
 * Error domain for #AutoarExtractor. Not all error occurs in #AutoarExtractor uses
 * this domain. It is only used for error occurs in #AutoarExtractor itself.
 * See #AutoarExtractor::error signal for more information.
 **/
#define AUTOAR_EXTRACTOR_ERROR autoar_extractor_quark()

GQuark           autoar_extractor_quark                       (void);

AutoarExtractor *autoar_extractor_new                         (GFile *source_file,
                                                               GFile *output_file);

void             autoar_extractor_start                       (AutoarExtractor *self,
                                                               GCancellable    *cancellable);
void             autoar_extractor_start_async                 (AutoarExtractor *self,
                                                               GCancellable    *cancellable);

GFile           *autoar_extractor_get_source_file             (AutoarExtractor *self);
GFile           *autoar_extractor_get_output_file             (AutoarExtractor *self);
guint64          autoar_extractor_get_total_size              (AutoarExtractor *self);
guint64          autoar_extractor_get_completed_size          (AutoarExtractor *self);
guint            autoar_extractor_get_total_files             (AutoarExtractor *self);
guint            autoar_extractor_get_completed_files         (AutoarExtractor *self);
gboolean         autoar_extractor_get_output_is_dest          (AutoarExtractor *self);
gboolean         autoar_extractor_get_delete_after_extraction (AutoarExtractor *self);
gint64           autoar_extractor_get_notify_interval         (AutoarExtractor *self);

void             autoar_extractor_set_output_is_dest          (AutoarExtractor *self,
                                                               gboolean         output_is_dest);
void             autoar_extractor_set_delete_after_extraction (AutoarExtractor *self,
                                                               gboolean         delete_if_succeed);
void             autoar_extractor_set_notify_interval         (AutoarExtractor *self,
                                                               gint64           notify_interval);

typedef enum {
    AUTOAR_CONFLICT_SKIP = 0,
    AUTOAR_CONFLICT_OVERWRITE,
    AUTOAR_CONFLICT_CHANGE_DESTINATION
} AutoarConflictAction;

G_END_DECLS

#endif /* AUTOAR_EXTRACTOR_H */