/usr/include/gretl/gretl_string_table.h is in libgretl1-dev 2016d-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 | /*
* gretl -- Gnu Regression, Econometrics and Time-series Library
* Copyright (C) 2001 Allin Cottrell and Riccardo "Jack" Lucchetti
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef GRETL_STRING_TABLE_H
#define GRETL_STRING_TABLE_H
typedef struct _gretl_string_table gretl_string_table;
gretl_string_table *gretl_string_table_new (const int *list);
int gretl_string_table_index (gretl_string_table *gst, const char *s,
int col, int addcol, PRN *prn);
int gretl_string_table_print (gretl_string_table *gst, DATASET *dset,
const char *fname, PRN *prn);
int gretl_string_table_validate (gretl_string_table *gst);
int gretl_string_table_save (gretl_string_table *gst, DATASET *dset);
void gretl_string_table_destroy (gretl_string_table *gst);
void gretl_string_table_add_extra (gretl_string_table *gst, PRN *prn);
int gretl_string_table_reset_column_id (gretl_string_table *gst,
int oldid, int newid);
series_table *series_table_new (char **strs, int n_strs);
series_table *series_table_copy (series_table *st);
void series_table_destroy (series_table *st);
double series_table_get_value (series_table *st, const char *s);
const char *series_table_get_string (series_table *st, double val);
int series_table_add_string (series_table *st, const char *s);
char **series_table_get_strings (series_table *st, int *n_strs);
int *series_table_map (series_table *st_from, series_table *st_to);
void gretl_insert_builtin_string (const char *name, const char *s);
char *get_built_in_string_by_name (const char *name);
void builtin_strings_cleanup (void);
int process_string_command (const char *line,
double ***pZ, DATASET *dset,
PRN *prn);
int substitute_named_strings (char *line, int *subst);
char *gretl_getenv (const char *key, int *defined, int *err);
char *retrieve_date_string (int t, const DATASET *dset, int *err);
char *retrieve_file_content (const char *fname, const char *codset,
int *err);
char *gretl_backtick (const char *arg, int *err);
#endif /* GRETL_STRING_TABLE_H */
|