This file is indexed.

/usr/include/vistaio-1.2/vistaio/vfield2d.h is in libvistaio-dev 1.2.19-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
/*
 *  Copyright (c) Leipzig, Madrid 2004 - 2012
 *  Max-Planck-Institute for Human Cognitive and Brain Science	
 *  Max-Planck-Institute for Evolutionary Anthropology 
 *  BIT, ETSI Telecomunicacion, UPM
 *
 *  Permission to use, copy, modify, distribute, and sell this software and its
 *  documentation for any purpose is hereby granted without fee, provided that
 *  the above copyright notice appears in all copies and that both that
 *  copyright notice and this permission notice appear in supporting
 *  documentation. The authors make no representations about the suitability of this
 *  software for any purpose. It is provided "as is" without express or
 *  implied warranty.
 *
 *  Author:  Gert Wollny, UPM 
 */

#ifndef __VField2D_h
#define __VField2D_h

#include "vista.h"


#ifdef __cplusplus
extern "C" {
#endif

	typedef struct VistaIOField2DRec {
		VistaIOLong x_dim;
		VistaIOLong y_dim;
		VistaIORepnKind repn;
		VistaIOLong nsize_element;
		VistaIOAttrList attr; 
                union {
                        VistaIOPointer data;
                        VistaIOPointerConst cdata;
                } p;
		VistaIOBoolean owns_data; 
		VistaIOLong nsize; 
	} VistaIOField2DRec, *VistaIOField2D;
	
	EXPORT_VISTA VistaIOField2D VistaIOCreateField2DFrom(VistaIOLong _x_dim, 
				VistaIOLong _y_dim, 
				VistaIOLong nsize_elemet,
				VistaIORepnKind repn,
				VistaIOPointerConst data);
	
	EXPORT_VISTA VistaIOField2D VistaIOCreateField2D(VistaIOLong _x_dim, 
				VistaIOLong _y_dim, 
				VistaIOLong nsize_elemet,
				VistaIORepnKind repn);
	
	/* destroy the field and release all data (if owned) */
	EXPORT_VISTA void VistaIODestroyField2D (VistaIOField2D field);
	
	/* copy the data field with all data */ 
	EXPORT_VISTA VistaIOField2D VistaIOCopyField2D (VistaIOField2D src);
	
	/* mirrors the datafield without copying the real data*/
	EXPORT_VISTA VistaIOField2D VistaIOMirrorField2D(VistaIOField2D src);
	
	
#define VistaIOField2DElement(FIELD, X, Y, type) &((type*)FIELD->data)[field->nsize_element * (x + nx * Y )]
	
	EXPORT_VISTA char *VistaIOGetField2DListName(VistaIOField2D field);	

extern VistaIOTypeMethods VistaIOField2DMethods; 
	
#ifdef __cplusplus
}
#endif
			   
#endif