This file is indexed.

/usr/include/gwyddion/libgwyddion/gwyexpr.h is in libgwyddion20-dev 2.38-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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
 *  @(#) $Id: gwyexpr.h 15598 2013-11-11 12:33:32Z yeti-dn $
 *  Copyright (C) 2003 David Necas (Yeti), Petr Klapetek.
 *  E-mail: yeti@gwyddion.net, klapetek@gwyddion.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; either version 2 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 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., 51 Franklin Street, Fifth Floor,
 *  Boston, MA 02110-1301, USA.
 */

#ifndef __GWY_EXPR_H__
#define __GWY_EXPR_H__

#include <glib.h>

G_BEGIN_DECLS

#define GWY_EXPR_ERROR gwy_expr_error_quark()

typedef enum {
    GWY_EXPR_ERROR_CLOSING_PARENTHESIS,
    GWY_EXPR_ERROR_EMPTY,
    GWY_EXPR_ERROR_EMPTY_PARENTHESES,
    GWY_EXPR_ERROR_GARBAGE,
    GWY_EXPR_ERROR_INVALID_ARGUMENT,
    GWY_EXPR_ERROR_INVALID_TOKEN,
    GWY_EXPR_ERROR_MISSING_ARGUMENT,
    GWY_EXPR_ERROR_NOT_EXECUTABLE,
    GWY_EXPR_ERROR_OPENING_PARENTHESIS,
    GWY_EXPR_ERROR_STRAY_COMMA,
    GWY_EXPR_ERROR_UNRESOLVED_IDENTIFIERS,
    GWY_EXPR_ERROR_CONSTANT_NAME
} GwyExprError;

typedef struct _GwyExpr GwyExpr;

GQuark       gwy_expr_error_quark       (void);

GwyExpr*     gwy_expr_new               (void);
void         gwy_expr_free              (GwyExpr *expr);
gboolean     gwy_expr_evaluate          (GwyExpr *expr,
                                         const gchar *text,
                                         gdouble *result,
                                         GError **err);
gboolean     gwy_expr_compile           (GwyExpr *expr,
                                         const gchar *text,
                                         GError **err);
guint        gwy_expr_resolve_variables (GwyExpr *expr,
                                         guint n,
                                         const gchar * const *names,
                                         guint *indices);
gint         gwy_expr_get_variables     (GwyExpr *expr,
                                         gchar ***names);
gdouble      gwy_expr_execute           (GwyExpr *expr,
                                         const gdouble *values);
void         gwy_expr_vector_execute    (GwyExpr *expr,
                                         guint n,
                                         const gdouble **data,
                                         gdouble *result);
gboolean     gwy_expr_define_constant   (GwyExpr *expr,
                                         const gchar *name,
                                         gdouble value,
                                         GError **err);
gboolean     gwy_expr_undefine_constant (GwyExpr *expr,
                                         const gchar *name);
const gchar* gwy_expr_get_expression    (GwyExpr *expr);

G_END_DECLS

#endif /* __GWY_EXPR_H__ */

/* vim: set cin et ts=4 sw=4 cino=>1s,e0,n0,f0,{0,}0,^0,\:1s,=0,g1s,h0,t0,+1s,c3,(0,u0 : */