This file is indexed.

/usr/lib/grass74/include/grass/qtree.h is in grass-dev 7.4.0-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
/*!
 * \file qtree.c
 *
 * \author
 * H. Mitasova, I. Kosinovsky, D. Gerdes, Fall 1993,
 * University of Illinois and
 * US Army Construction Engineering Research Lab
 *
 * \author H. Mitasova (University of Illinois),
 * \author I. Kosinovsky, (USA-CERL)
 * \author D.Gerdes (USA-CERL)
 *
 * \author updated/checked by Mitasova Nov. 96 (no changes necessary)
 *
 * \copyright
 * (C) 1993-1996 by Helena Mitasova and the GRASS Development Team
 *
 * \copyright
 * This program is free software under the
 * GNU General Public License (>=v2).
 * Read the file COPYING that comes with GRASS for details.
 */


#ifndef TREE_H

#define TREE_H

#define VOID_T char


/*!
 * Function table for a tree
 *
 * From object oriented point of view, this structure represents
 * a class or a virtual table of functions/methods for a class.
 */
struct multfunc
{
    int (*compare) ();
    struct quaddata **(*divide_data) ();
    int (*add_data) ();
    int (*intersect) ();
    int (*division_check) ();
    int (*get_points) ();
};

struct tree_info
{
    struct multfunc *functions;
    double dmin;
    int kmax;
    struct multtree *root;
};

struct multtree
{
    struct quaddata *data;
    struct multtree **leafs;
    struct multtree *parent;
    int multant;
};

struct multfunc *MT_functions_new(int (*)(struct triple *, struct quaddata *),
				  struct quaddata **(*)(struct quaddata *,
							int, double),
				  int (*)(struct triple *, struct quaddata *,
					  double), int (*)(struct quaddata *,
							   struct quaddata *),
				  int (*)(struct quaddata *, int),
				  int (*)(struct quaddata *,
					  struct quaddata *, int));
struct tree_info *MT_tree_info_new(struct multtree *, struct multfunc *,
				   double, int);
struct multtree *MT_tree_new(struct quaddata *, struct multtree **,
			     struct multtree *, int);
int MT_insert(struct triple *, struct tree_info *, struct multtree *, int);
int MT_divide(struct tree_info *, struct multtree *, int);
int MT_region_data(struct tree_info *, struct multtree *, struct quaddata *,
		   int, int);

#endif