/usr/include/libspreadsheet-1.12/spreadsheet/collect.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 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_COLLECT_H_
# define _GNM_COLLECT_H_
#include "numbers.h"
#include "gnumeric.h"
G_BEGIN_DECLS
typedef enum {
COLLECT_IGNORE_STRINGS = 0x01,
COLLECT_ZERO_STRINGS = 0x02,
COLLECT_COERCE_STRINGS = 0x04,
COLLECT_IGNORE_BOOLS = 0x10,
COLLECT_ZEROONE_BOOLS = 0x20,
COLLECT_IGNORE_ERRORS = 0x100,
COLLECT_ZERO_ERRORS = 0x200,
COLLECT_IGNORE_BLANKS = 0x1000,
COLLECT_ZERO_BLANKS = 0x2000,
COLLECT_IGNORE_SUBTOTAL = 0x4000,
COLLECT_SORT = 0x10000,
COLLECT_ORDER_IRRELEVANT = 0x20000,
/* Not for general usage. */
COLLECT_INFO = 0x1000000
} CollectFlags;
typedef int (*float_range_function_t) (gnm_float const *xs, int n, gnm_float *res);
typedef int (*float_range_function2_t) (gnm_float const *xs, gnm_float const *ys, int n, gnm_float *res);
typedef int (*float_range_function2d_t) (gnm_float const *xs, gnm_float const *ys, int n, gnm_float *res, gpointer data);
typedef int (*string_range_function_t) (GPtrArray *xs, char**res);
gnm_float *collect_floats_value (GnmValue const *val,
GnmEvalPos const *ep,
CollectFlags flags,
int *n, GnmValue **error);
gnm_float *collect_floats (int argc, GnmExprConstPtr const *argv,
GnmEvalPos const *ep, CollectFlags flags,
int *n, GnmValue **error, GSList **info,
gboolean *constp);
gnm_float *collect_floats_value_with_info (GnmValue const *val, GnmEvalPos const *ep,
CollectFlags flags, int *n, GSList **info,
GnmValue **error);
GnmValue *collect_float_pairs (GnmValue const *v0, GnmValue const *v1,
GnmEvalPos const *ep, CollectFlags flags,
gnm_float **xs0, gnm_float **xs1, int *n,
gboolean *constp);
GnmValue *float_range_function (int argc, GnmExprConstPtr const *argv,
GnmFuncEvalInfo *ei,
float_range_function_t func,
CollectFlags flags,
GnmStdError func_error);
GnmValue *float_range_function2 (GnmValue const *val0, GnmValue const *val1,
GnmFuncEvalInfo *ei,
float_range_function2_t func,
CollectFlags flags,
GnmStdError func_error);
GnmValue *float_range_function2d (GnmValue const *val0, GnmValue const *val1,
GnmFuncEvalInfo *ei,
float_range_function2d_t func,
CollectFlags flags,
GnmStdError func_error,
gpointer data);
GnmValue *string_range_function (int argc, GnmExprConstPtr const *argv,
GnmFuncEvalInfo *ei,
string_range_function_t func,
CollectFlags flags,
GnmStdError func_error);
GSList *gnm_slist_sort_merge (GSList * list_1, GSList * list_2);
void gnm_strip_missing (gnm_float* data, int *p, GSList *missing);
G_END_DECLS
#endif /* _GNM_COLLECT_H_ */
|