This file is indexed.

/usr/include/libspreadsheet-1.12/spreadsheet/consolidate.h is in gnumeric 1.12.18-2.

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
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_CONSOLIDATE_H_
# define _GNM_CONSOLIDATE_H_

#include "gnumeric.h"
#include <tools/dao.h>
#include <tools/tools.h>

G_BEGIN_DECLS

typedef enum {
	/*
	 * These can be both set, both unset or
	 * one of them can be set. Indicates
	 * what sort of consolidation we will
	 * execute
	 */
	CONSOLIDATE_ROW_LABELS   = 1 << 0,
	CONSOLIDATE_COL_LABELS   = 1 << 1,

	/*
	 * If set the row and/or column labels
	 * will be copied to the destination area
	 */
	CONSOLIDATE_COPY_LABELS  = 1 << 2,

	/* If this is set we put the outcome
	 * of our formulas into the destination
	 * otherwise we put formulas
	 */
	CONSOLIDATE_PUT_VALUES   = 1 << 3
} GnmConsolidateMode;

struct _GnmConsolidate {
	GnmFunc *fd;

	GSList      *src;

	GnmConsolidateMode mode;

	/* <private> */
	unsigned ref_count;     /* boxed type */
};

GType        gnm_consolidate_get_type (void);
GnmConsolidate *consolidate_new  (void);
void         consolidate_free (GnmConsolidate *cs, gboolean content_only);

void         consolidate_set_function    (GnmConsolidate *cs, GnmFunc *fd);
void         consolidate_set_mode        (GnmConsolidate *cs,
					  GnmConsolidateMode mode);

gboolean     consolidate_add_source      (GnmConsolidate *cs, GnmValue *range);
gboolean     consolidate_check_destination (GnmConsolidate *cs,
					    data_analysis_output_t *dao);

gboolean tool_consolidate_engine (GOCmdContext *gcc, data_analysis_output_t *dao, gpointer specs,
			     analysis_tool_engine_t selector, gpointer result);

G_END_DECLS

#endif /* _GNM_CONSOLIDATE_H_ */