/usr/include/libspreadsheet-1.12/spreadsheet/go-val.h is in gnumeric 1.12.28-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 83 84 85 86 87 88 89 90 91 92 93 94 95 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-val.h :
*
* Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
*
* 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) version 3.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
#ifndef GO_VAL_H
#define GO_VAL_H
#include "value.h" /* remove after move to goffice */
#include "gnm-format.h" /* remove after move to goffice */
G_BEGIN_DECLS
#ifndef GOFFICE_NAMESPACE_DISABLE
typedef GnmValue GOVal;
#define GO_VAL_TYPE gnm_value_get_type()
#define go_val_free value_release
#define go_val_dup value_dup
#define go_val_new_empty value_new_empty
#define go_val_new_float value_new_float
#define go_val_new_bool value_new_bool
#define go_val_new_str value_new_string
#define go_val_new_str_nocopy value_new_string_nocopy
#define go_val_get_fmt(v) VALUE_FMT(v)
#define go_val_as_float value_get_as_float
#define go_val_cmp value_cmp
/*******************************************************/
typedef GPtrArray GOValArray;
void go_val_array_free (GOValArray *a);
GOVal *go_val_array_index_steal (GOValArray *a, int i);
#define go_val_array_index g_ptr_array_index
/*******************************************************/
typedef enum {
GO_VAL_BUCKET_NONE,
GO_VAL_BUCKET_SECOND,
GO_VAL_BUCKET_MINUTE,
GO_VAL_BUCKET_HOUR,
GO_VAL_BUCKET_DAY_OF_YEAR,
GO_VAL_BUCKET_WEEKDAY,
GO_VAL_BUCKET_MONTH,
GO_VAL_BUCKET_CALENDAR_QUARTER,
GO_VAL_BUCKET_YEAR,
GO_VAL_BUCKET_SERIES_LINEAR,
GO_VAL_BUCKET_SERIES_LOG
} GOValBucketType;
typedef struct {
GOValBucketType type;
union {
struct {
gnm_float minimum;
gnm_float maximum;
} dates;
struct {
gnm_float minimum;
gnm_float maximum;
gnm_float step;
} series;
} details;
} GOValBucketer;
void go_val_bucketer_init (GOValBucketer *bucketer);
GError *go_val_bucketer_validate (GOValBucketer *bucketer);
int go_val_bucketer_apply (GOValBucketer const *bucketer, GOVal const *v);
#endif
G_END_DECLS
#endif /* GO_VAL_H */
|