This file is indexed.

/usr/include/picviz/pcimage.h is in picviz 0.5-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
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
/*
 * Picviz - Parallel coordinates ploter
 * Copyright (C) 2008 Sebastien Tricaud <toady@gscore.org>
 *
 * 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 version 3.
 *
 * 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/>.
 *
 * $Id: pcimage.h 374 2009-01-20 18:08:24Z toady $
 */

#ifndef _PCIMAGE_H_
#define _PCIMAGE_H_

typedef struct pcimage_t pcimage_t;

#include "linuxlist.h"
#include "engine.h"
#include "types.h"
#include "properties.h"
#include "correlation.h"

#ifdef __cplusplus
 extern "C" {
#endif

enum datatype_t {
	DATATYPE_EMPTY,
	DATATYPE_INTEGER,
	DATATYPE_FLOAT,
	DATATYPE_STRING,
	DATATYPE_TIMELINE,
	DATATYPE_SHORT,
	DATATYPE_IPV4,
	DATATYPE_GOLD,
	DATATYPE_CHAR,
	DATATYPE_YEARS,
	DATATYPE_ENUM,
	DATATYPE_LN,
	DATATYPE_PORT
} datatype_t;
typedef enum datatype_t PicvizDataType;

struct axisplot_t {
        struct llist_head list;
        PcvString strval; /* This is the string value of the ysource, to put (optionally) in the graph */
        PcvHeight y;         /* where does the line goes on this axis */
        PcvID axis_id; /* id of the axis we positionate the line to */
        picviz_properties_t *props;
} axisplot_t;
typedef struct axisplot_t PicvizAxisPlot;

struct line_t {
        struct llist_head list;
        PcvID id;
        unsigned char hidden;
        struct llist_head axisplot;
        picviz_properties_t *props;
} line_t;
typedef struct line_t PicvizLine;

struct axis_t {
        struct llist_head list;
        PcvID id;
        picviz_properties_t *props;
        PicvizDataType type;
        PcvWidth  xpos;  /* pos of the axis */
        PcvHeight ymin;  /* Where we start (top): Not max line, max of what we see */
        PcvHeight ymax;  /* Where we end (botton): Not min line */
} axis_t;
typedef struct axis_t PicvizAxis;

struct pcimage_t {
	PcvWidth  width;
	PcvHeight height;
	PcvHeight header_height;
	PcvString title;
	PcvString bgcolor;
	void *filter;
	PicvizCorrelation *correlation;

	enum position_t zero_pos; /* where the zero value is on the axes */

        struct llist_head axes;
        struct llist_head lines;
	PcvCounter lines_max;
};
typedef struct pcimage_t PicvizImage;

#ifdef __cplusplus
 }
#endif

#endif /* _PCIMAGE_H_ */