This file is indexed.

/usr/include/libdbevolution/db-evolution-instance.h is in freetuxtv 0.6.8~dfsg1-1build1.

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
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * freetuxtv
 * Copyright (C) Eric Beuque 2010 <eric.beuque@gmail.com>
 * 
 * freetuxtv is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * freetuxtv 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 General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _DB_EVOLUTION_INSTANCE_H_
#define _DB_EVOLUTION_INSTANCE_H_

#include <glib-object.h>

G_BEGIN_DECLS

#define DB_EVOLUTION_TYPE_INSTANCE             (db_evolution_instance_get_type ())
#define DB_EVOLUTION_INSTANCE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), DB_EVOLUTION_TYPE_INSTANCE, DbEvolutionInstance))
#define DB_EVOLUTION_INSTANCE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), DB_EVOLUTION_TYPE_INSTANCE, DbEvolutionInstanceClass))
#define DB_EVOLUTION_IS_INSTANCE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DB_EVOLUTION_TYPE_INSTANCE))
#define DB_EVOLUTION_IS_INSTANCE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), DB_EVOLUTION_TYPE_INSTANCE))
#define DB_EVOLUTION_INSTANCE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), DB_EVOLUTION_TYPE_INSTANCE, DbEvolutionInstanceClass))

typedef struct _DbEvolutionInstanceClass DbEvolutionInstanceClass;
typedef struct _DbEvolutionInstance DbEvolutionInstance;

struct _DbEvolutionInstanceClass
{
	GObjectClass parent_class;
};

struct _DbEvolutionInstance
{
	GObject parent_instance;

	gchar* (*get_current_db_version_func) (gpointer user_data, GError** error);
	void (*set_current_db_version_func) (gchar* szVersion, gpointer user_data,
	                                     GError** error);
	
	int (*compare_db_version_func) (gchar* szVersion1, gchar* szVersion2, 
	                                gpointer user_data, GError** error);
	gboolean (*exec_query_func) (const gchar* szQuery, gpointer user_data,
	                             GError** error);
};

#define DBEVOLUTION_LASTDBVERSION_TAGS  "-- @libdbevolution-lastdbversion="
#define DBEVOLUTION_DBVERSION_TAGS		"-- @libdbevolution-dbversion="

GType db_evolution_instance_get_type (void) G_GNUC_CONST;

DbEvolutionInstance*
db_evolution_instance_new(const gchar* szScriptFilename, GLogFunc log_func);

gboolean
db_evolution_instance_do_creation(DbEvolutionInstance* pDbEvolutionInstance,
                                  gpointer user_data, GError** error);

gboolean
db_evolution_instance_do_evolution(DbEvolutionInstance* pDbEvolutionInstance,
                                   gpointer user_data, GError** error);

G_END_DECLS

#endif /* _DB_EVOLUTION_INSTANCE_H_ */