This file is indexed.

/usr/include/geomview/mgribtoken.h is in libgeomview-dev 1.9.5-2.

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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/* Copyright (C) 1992-1998 The Geometry Center
 * Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, Mark Phillips
 * Copyright (C) 2007 Claus-Justus Heine
 *
 * This file is part of Geomview.
 * 
 * Geomview is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 * 
 * Geomview 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
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with Geomview; see the file COPYING.  If not, write
 * to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
 * USA, or visit http://www.gnu.org.
 */

#ifndef _GV_MGRIBTOKEN_H_
#define _GV_MGRIBTOKEN_H_

/* minnegraphics renderman token interface */

typedef struct tokenbuffer 
{
    char *tkb_buffer;      /* base of buffer */
    char *tkb_worldptr;    /* ptr to worldbegin in buffer */
    char *tkb_ptr;         /* ptr past last data char */
    char *tkb_limit;       /* ptr past last allocated char */
} TokenBuffer;

void mrti_init(TokenBuffer *tkbuf);
void mrti_delete(TokenBuffer *tkbuf);
void mrti_makecurrent(TokenBuffer *tkbuf);
void mrti_reset(void);
void mrti( int a1, ... );

#define STRINGBASE	50     /* strings start at 50 */

enum tokentype {
    mr_NULL=0,

    /* RI Requests */
    mr_attributebegin,
    mr_attributeend,
    mr_transformbegin,
    mr_transformend,
    mr_identity,
    mr_concattransform, /* Transform T */
    mr_surface,
    mr_shadinginterpolation,
    mr_color,	    /* float *ptr (mr_array w/size=3) */
    mr_opacity,	    /* float alpha (will become an array) */
    mr_polygon,	    /* following arrays must be declared explicitly */
    mr_patchmesh,   /* Ditto */
    mr_format,	    /* follow with mr_intseq */
    mr_projection,
    mr_clipping,
    mr_worldbegin,
    mr_worldend,
    mr_display,
    mr_screenwindow,
    mr_lightsource,
    mr_sphere,
    mr_translate,
    mr_rotate,
    mr_cylinder,
    mr_nupatch,
    mr_shadingrate,
    mr_option,
    mr_illuminate,
    mr_framebegin,
    mr_frameend,
    mr_reverseorientation,
    mr_curves,
    mr_points,
    mr_maketexture,
    mr_declare,

    /* Strings */
    mr_P=STRINGBASE,
    mr_N,
    mr_Cs,
    mr_Pw,
    mr_Os,
    mr_st,
    mr_plastic,
    mr_paintedplastic,
    mr_hplastic,
    mr_eplastic,
    mr_heplastic,
    mr_constant,
    mr_ambientlight,
    mr_lightcolor,
    mr_distantlight,
    mr_intensity,
    mr_file,
    mr_rgb,
    mr_rgba,
    mr_Ka,
    mr_Kd,
    mr_Ks,
    mr_specularcolor,
    mr_roughness,
    mr_fov,
    mr_perspective,
    mr_to,
    mr_framebuffer,
    mr_texturename,
    mr_width,
    mr_constantwidth,
    mr_GVmodulateplastic,
    mr_GVmodulateconstant,
    mr_GVdecalplastic,
    mr_GVdecalconstant,
    mr_GVblendplastic,
    mr_GVblendconstant,
    mr_GVreplaceplastic,
    mr_GVreplaceconstant,
    mr_periodic,
    mr_gaussian,
    
    /* SPECIAL */    
    mr_array,		/* (full array) size, f,f,.. */
    mr_buildarray,	/* size (subarys follow w/total subsizes==size) */
    mr_parray,  	/* subsize, *float, *float, .. */
    mr_subarray3,	/* ptr to aggregate of 3 floats (most common) */
    mr_subarray2,	/* ptr to aggregate of 2 floats (texture) */
    mr_section,		/* char *string */
    mr_comment,		/* char *string */
    mr_nl,		/* new line */
    mr_int,
    mr_intseq,		/* int numberOfInts, int, int, .. (NOT AN ARRAY!)*/
    mr_float,
    mr_string,
    mr_embed,
    mr_header		/* ## 'header' comments for RIB 1.0 structure */
};

struct _table {
    char *name;		 /* string representing token, or null */
    int  len;		 /* length of string */
    unsigned char reqn;  /* number used to define request/string to renderer */
    bool defined;	 /* flags weather request/string has been defined */
};

#endif

/*
 * Local Variables: ***
 * mode: c ***
 * c-basic-offset: 4 ***
 * End: ***
 */