This file is indexed.

/usr/include/swami/libswami/SwamiParam.h is in libswami-dev 2.0.0+svn389-3.

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
/*
 * SwamiParam.h - GParamSpec related functions
 *
 * Swami
 * Copyright (C) 1999-2010 Joshua "Element" Green <jgreen@users.sourceforge.net>
 *
 * This program 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; version 2
 * of the License only.
 *
 * 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA or point your web browser to http://www.gnu.org.
 */
#ifndef __SWAMI_PARAM_H__
#define __SWAMI_PARAM_H__

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

/**
 * SwamiValueTransform:
 * @src: Source value to transform from
 * @dest: Destination value to store to
 * @user_data: User defined data (set when transform was connected for example)
 *
 * Prototype for value transform function.  The transform function should
 * handle any value conversions required.
 */
typedef void (*SwamiValueTransform)(const GValue *src, GValue *dest,
				    gpointer user_data);

gboolean swami_param_get_limits (GParamSpec *pspec, gdouble *min,
				 gdouble *max, gdouble *def,
				 gboolean *integer);
gboolean swami_param_set_limits (GParamSpec *pspec, gdouble min,
				 gdouble max, gdouble def);
gboolean swami_param_type_has_limits (GType param_type);
gboolean swami_param_convert (GParamSpec *dest, GParamSpec *src);
GParamSpec *swami_param_convert_new (GParamSpec *pspec, GType value_type);
gboolean swami_param_type_transformable (GType src_type, GType dest_type);
gboolean swami_param_type_transformable_value (GType src_valtype,
					       GType dest_valtype);
gboolean swami_param_transform (GParamSpec *dest, GParamSpec *src,
				SwamiValueTransform trans, gpointer user_data);
GParamSpec *swami_param_transform_new (GParamSpec *dest, GType value_type,
				       SwamiValueTransform trans,
				       gpointer user_data);
GType swami_param_type_from_value_type (GType value_type);

#endif