/usr/include/gretl/gretl_string_table.h is in libgretl1-dev 1.9.6-1build1.
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 | /*
* 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 (int *err);
gretl_string_table *string_table_new_from_cols_list (int *list);
int gretl_string_table_index (gretl_string_table *st, const char *s, int col,
int addcol, PRN *prn);
int gretl_string_table_print (gretl_string_table *st, DATASET *dset,
const char *fname, PRN *prn);
void gretl_string_table_destroy (gretl_string_table *st);
void gretl_string_table_add_extra (gretl_string_table *st, PRN *prn);
int gretl_string_table_reset_column_id (gretl_string_table *st,
int oldid, int newid);
void gretl_insert_builtin_string (const char *name, const char *s);
int save_named_string (const char *name, const char *s, PRN *prn);
int add_string_as (const char *s, const char *name);
char *get_string_by_name (const char *name);
int process_string_command (const char *line,
double ***pZ, DATASET *dset,
PRN *prn);
int substitute_named_strings (char *line, int *subst);
int gretl_is_string (const char *sname);
int is_user_string (const char *sname);
void saved_strings_cleanup (void);
int delete_saved_string (const char *name, PRN *prn);
void destroy_user_strings (void);
int destroy_saved_strings_at_level (int d);
int is_codevar (const char *s);
int set_codevars (const char *s);
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, int *err);
char *gretl_backtick (const char *arg, int *err);
#endif /* GRETL_STRING_TABLE_H */
|