This file is indexed.

/usr/include/gretl/gretl_array.h is in libgretl1-dev 2017d-3build1.

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
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* 
 *  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_ARRAY_H_
#define GRETL_ARRAY_H_

typedef struct gretl_array_ gretl_array;

void gretl_array_destroy (gretl_array *A);

void gretl_array_void_content (gretl_array *A);

gretl_array *gretl_array_new (GretlType type, int n, int *err);

gretl_array *gretl_array_from_strings (char **S, int n, 
				       int copy, int *err);

void *gretl_array_get_element (gretl_array *A, int i, 
			       GretlType *type,
			       int *err);

int gretl_array_set_element (gretl_array *A, int i, 
			     void *ptr, GretlType type,
			     int copy);

int gretl_array_set_type (gretl_array *A, GretlType type);

char **gretl_array_get_strings (gretl_array *A, int *ns);

GretlType gretl_array_get_type (gretl_array *A);

GretlType gretl_array_get_content_type (gretl_array *A);

int gretl_array_get_length (gretl_array *A);

int gretl_array_set_string (gretl_array *A, int i, 
			    char *s, int copy);

int gretl_array_append_string (gretl_array *A,
			       char *s,
			       int copy);

int gretl_array_set_matrix (gretl_array *A, int i, 
			    gretl_matrix *m,
			    int copy);

int gretl_array_append_matrix (gretl_array *A,
			       gretl_matrix *m,
			       int copy);

int gretl_array_set_bundle (gretl_array *A, int i, 
			    gretl_bundle *b,
			    int copy);

int gretl_array_append_bundle (gretl_array *A,
			       gretl_bundle *b,
			       int copy);

gretl_bundle *gretl_array_get_bundle (gretl_array *A,
				      int i);

int gretl_array_set_list (gretl_array *A, int i, 
			  int *L, int copy);

int gretl_array_append_list (gretl_array *A,
			     int *L, int copy);

int gretl_array_append_object (gretl_array *A,
			       void *ptr,
			       int copy);

int gretl_array_append_array (gretl_array *A1,
			      const gretl_array *A2);

gretl_array *gretl_arrays_join (gretl_array *A,
				gretl_array *B,
				int *err);

gretl_array *gretl_array_copy (const gretl_array *A,
			       int *err);

int gretl_array_copy_as (const char *name, const char *copyname,
			 GretlType copytype);

gretl_array *gretl_array_copy_range (gretl_array *A,
				     int r1, int r2,
				     int *err);

gretl_array *get_array_by_name (const char *name);

gretl_array *gretl_array_pull_from_stack (const char *name,
					  int *err);

int gretl_array_print (gretl_array *A, PRN *prn);

void gretl_array_serialize (gretl_array *A, FILE *fp);

gretl_array *gretl_array_deserialize (void *p1, void *p2,
				      int *err);

#endif /* GRETL_ARRAY_H_ */